Red Hat Bugzilla – Bug 1313850
wrong number of events about gained nodes
Last modified: 2018-02-15 10:05:08 EST
Created attachment 1132296 [details]
logs from server
Description of problem:
I have 1 monitor and 4 osds in cluster. So I expect that there are 5 events about gained machines. There is only one. I see this one event directly in DB, so there is only one event in API and UI. Also sometime there is one event twice.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install machines
2. accept nodes
There is different number of events about gaining node in DB, UI, API.
There will be the same number of events about gaining machine in DB, UI, API as there are accepted nodes.
After accepting any node successfully, there will be and event saying "Node <node name> accepted successfully". The number of these events will be same as number of nodes accepted successfully.
The event saying "node gained contact" will appear only after the node looses contact from skyring and after that if it gains contact. Because "node gained contact" is a recovery event and it is raised only if there is an active "node lost contact" alert available.
Now in order for user to know that a node is accepted and initialized he will see events like "node accepted successfully" and "node initialized successfully".
and it works. -->VERIFIED