All Apps and Add-ons
Highlighted

Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Path Finder

Hi,

I have installed Splunk Enterprise version and I have added the app VMWare. When I click on VMWare app and I try to configure it (configuration tab) I have the following error:

Insufficient Access
You are trying to modify a page that you do not have access to, please contact your splunk administrator for more assistance.

I am the administrator of windows machine.

Thanks,
Aniello Cerrato

0 Karma
Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Splunk Employee
Splunk Employee

Hi

just add the same pb !
looking into the app, I found out the following :
- apps require adding splunkvmwareadmin role to your user
- this doesn't work if you edit admin profile and add splunkvmwareadmin as inheritance

So edit user admin and add splunkvmwareadmin role (no need to unlog, just reload the page after)

to debug :
search for index=internal source="/Applications/splunk643/splunk/var/log/splunk/splunkforvmwaresetup.log"

to see the offending function :
SplunkTAvmware/appserver/controllers/splunkforvmwaresetup.py
scroll to function def isValidAdmin(user=None, session
key=None):
check is :
if 'splunkvmwareadmin' in roles:

Hope that helps !

Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Path Finder

Hi,

I have a little problem, I don't find splunkvmwareadmin in the roles.

Thanks,
Aniello

0 Karma
Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Splunk Employee
Splunk Employee

strange. it's defined there :
etc/apps/SplunkTAvmware/default/authorize.conf:[rolesplunkvmwareadmin]
you have deployed Splunk
TA_vmware v3.3.0 ?

0 Karma
Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Path Finder

The problem is this, I have installed the VMWare application but I haven't WMWare app in my dashboard but I have SA-Threshold app.

When i try to open this app I have the error:

You are trying to modify a page that you do not have access to, please contact your splunk administrator for more assistance

I have also tried to re-install app but I have the below error:

[HTTP 500] [HTTP 409] App "SA-Threshold" already exists; use the "-update true" argument to install anyway

Could you help me to solve this problem?

Thanks,
Aniello

0 Karma
Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Splunk Employee
Splunk Employee

Hi,

the pb I had similar to you was on a DCN node (Data Collection Node) , not a search head, so I had not vmware app on it.
As stated by the table in http://docs.splunk.com/Documentation/AddOns/released/VMW/Installationoverview , you should have installed splunkforvmware on your search head.
SA-apps are supporting add ons, not sure you should be able to see something visible in SA-threshold as it's probably used in the background by splunkforvmware app.

0 Karma
Highlighted

Re: Splunk App for VMware: Why am I receiving an "insufficient access" error when I am an admin?

Path Finder

Hi,

I have solved the problem re-installing all app, I have downloaded it directly the .zip and not using install app from splunk.

Thanks,
Aniello

View solution in original post

0 Karma