Symptoms
- newly set collectors in opsview 6.10.1 + fail to establish a rabbitMQ connection
- You will see an icon like ? in the GUI on the collectors page
-
Sep 24 10:51:00 testxxxx opsview.common.servicemon.propagation <1043> : [ERR]
Sending cluster-health message failed (Connection lost). Waiting 5.0s.........
......truncated output File "/opt/opsview/scheduler/venv3/lib/python3.9/site-packages/
opsview/common/messagequeue/rabbitmq_nucleon.py", line 49, in create_channel
#012 File "/opt/opsview/scheduler/venv3/lib/python3.9/site-packages/opsview/common/
messagequeue/rabbitmq_nucleon.py", line 135, in __init__#012opsview.common.
messagequeue.exception.MessageQueueError: Connection lost
in connect#012 raise v#012 File "/opt/opsview/python3/lib/python3.9/site-packages/
nucleon/amqp/connection.py", line 240, in do_read#012 frame_header = reader.read
(FRAME_HEADER.size)#012 File "/opt/opsview/python3/lib/python3.9/site-packages/
in connect#012 raise v#012 File "/opt/opsview/python3/lib/python3.9/site-packages/nucleon/
amqp/connection.py", line 240, in do_read#012 frame_header = reader.read(FRAME_HEADER.size)#012
File "/opt/opsview/python3/lib/python3.9/site-packages/nucleon/amqp/buffers.py", line 58, in read
#012 raise ConnectionError(CONNECTION_LOST_MSG)#012nucleon.amqp.exceptions.ConnectionError:
Connectionnucleon/amqp/buffers.py", line 58, in read#012 raise ConnectionError
(CONNECTION_LOST_MSG)#012nucleon.amqp.exceptions.ConnectionError: -
Shows as "healthy" because its not received any updates yet:
Cause: missing RabbitMQ user/users on the orchestrator
the new cluster user does NOT exist on orchestrator MQ, but only in the user_secrets file
(Deploy behavior change)
Solution: Run the MQ install playbook
Make sure to run the below and that should fix your issue, BUT before you run it you need to hard code your user_vars.yml
file to tell it not to update to any higher version as opsview will always search for new packages if not locked onto its version.
vim /opt/opsview/deploy/etc/user_vars.yml
and then add the below:opsview_repository_min_version: 6.10.1.202408161522
opsview_repository_version: 6.10.1.202408161522
save and quit, then run the below:
/opt/opsview/deploy# ./bin/opsview-deploy -l opsview_messagequeue lib/playbooks/messagequeue-install.yml
---
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
-
Tags:
- Opsview
- opsview
Comments
0 comments
Please sign in to leave a comment.