DataStax Help Center

Opscenter will not load cluster with "Failure to load permissions" error

Summary

An incorrect path to the definitions file in OpsCenter may prevent the UI being accessed

Symptoms

If there is an incorrect path to the definitions file in the opscenterd.conf file. The following error may be seen when trying to load the UI which would not allow the UI to be accessed:

"Failure loading permissions. Please check opscenterd.log for more information"

Or at other times the UI might not load the cluster and present the user with the normal "cannot connect to cluster screen"

The opscenterd.log may show errors similar to below:

2015-11-27 11:00:31+0000 [] DEBUG: Can't open /etc/version.md5 to get the current version: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/opscenterd/Definitions.py", line 148, in getOldHash
IOError: [Errno 2] No such file or directory: '/etc/version.md5'

Cause

Definitions files cannot be found by the opscenterd process

Solution

Ensure the opscenterd.conf file has the correct path to the definitions file:

[definitions]
definitions_dir = /etc/opscenter/definitions/

See the documentation for more info on OpsCenter definitions file config parameters

There is an internal Jira raised to make the error message more intuitive

OPSC-7098 - Misleading error message when can't load definition files

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk