Symptoms
The following error appears repeatedly in `/var/log/opsview/opsview.log`:
METRIC UNKNOWN - RegistryError<status_code=401, error_code=110, index=0, message='The request requires user authentication', raw_message=bytearray(b'{"errorCode":110,"message":"The request requires user authentication","cause":"Insufficient credentials","index":0} ')>- You occasionally see the error `Web exception: Please refer to the system log for more details or contact your System Administrator` in the UI
AND/OR
- The registry password within the orchestrator.yaml is being reset.
Cause: Incorrect registry password
Known issue: OP-42928 - this has been fixed in Opsview 6.12.1
The setup-monitoring.yml playbook sets the registry password in the file relevant file to the default value of opsview despite this not necessarily being the correct registry password.
/opt/opsview/monitoringscripts/etc/plugins/self-monitoring/orchestrator.yaml
Solution
Either upgrade to version 6.12.1+, or do as follows:
- File to update:
/opt/opsview/monitoringscripts/etc/plugins/self-monitoring/orchestrator.yaml
For version 6.9.0 you may need to do the below:
as an apply change reverts the changes when done on the above file
sed -i 's/password: opsview/password: '`cat /opt/opsview/deploy/etc/user_secrets.yml | grep opsview_registry_password | awk '{print $2}'`'/g' /opt/opsview/monitoringscripts/builtin/etc/plugins/self-monitoring/orchestrator.yaml
Important Requirement:
- Please now Apply Changes to push out the change to the relevant file.
If you have any issues
- Please contact our team via the chat service box available on any of our websites or via email to support@itrsgroup.com
Make sure you provide us with:
- ANY LOG FILE OR DIAGNOSTIC DATA
- ANY SCREENSHOT
- ANY VENDOR/VERSION etc
Comments
0 comments
Please sign in to leave a comment.