All Apps and Add-ons

BMC Remedy add on in a search head cluster

ialahdal
Path Finder

I am having trouble using the BMC Remedy Add on in a search head cluster environment.

First issue I am running into is that the web ui does not go beyond "Loading" on any of the members, worked around this by creating a "splunk_ta_remedy_settings.conf" in CLI with the settings there.

Second issue I am recieving is command="remedyincidentcreate", cannot concatenate 'str' and 'NoneType' objects when running | remedyincidentcreate --help in the search bar.

Any thoughts on how to solve this?

0 Karma
1 Solution

ialahdal
Path Finder

The issue was caused by moving our environment from single node to search head cluster, the passwords.conf was the culprit, removing it from the add ons that used it solved the issue.

View solution in original post

ialahdal
Path Finder

The issue was caused by moving our environment from single node to search head cluster, the passwords.conf was the culprit, removing it from the add ons that used it solved the issue.

tzvifriedman
Engager

I've been searching for days for a solution to this. And to anyone else that comes across this, this is a problem for any add-on, not just the one in question. This worked like a charm. 

As a shortcut to find all your passwords.conf files, you can do 

sudo find /opt/splunk/etc/apps/ -name passwords.conf

and if you want to delete them all, 

sudo find /opt/splunk/etc/apps/ -name passwords.conf | xargs rm

then restart splunk

0 Karma

ialahdal
Path Finder

This pops up from inspecting the add-on page that's stuck on loading
{"messages":[{"type":"ERROR","text":"Unexpected error \"\" from python handler: \"REST Error [500]: Internal Server Error -- Traceback (most recent call last):\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/splunktaucclib/rest_handler/handler.py\", line 116, in wrapper\n for name, data, acl in meth(self, *args, **kwargs):\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/splunktaucclib/rest_handler/handler.py\", line 302, in _format_response\n masked = self.rest_credentials.decrypt_for_get(name, data)\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/splunktaucclib/rest_handler/credentials.py\", line 187, in decrypt_for_get\n clear_password = self._get(name)\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/splunktaucclib/rest_handler/credentials.py\", line 392, in _get\n string = mgr.get_password(user=context.username())\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/solnlib/utils.py\", line 159, in wrapper\n return func(*args, **kwargs)\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/solnlib/credentials.py\", line 118, in get_password\n all_passwords = self._get_all_passwords()\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/solnlib/utils.py\", line 159, in wrapper\n return func(*args, **kwargs)\n File \"/opt/splunk/etc/apps/Splunk_TA_remedy/bin/splunk_ta_remedy/solnlib/credentials.py\", line 272, in _get_all_passwords\n clear_password += field_clear[index]\nTypeError: cannot concatenate 'str' and 'NoneType' objects\n\". See splunkd.log for more details."}]}

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...