Created attachment 1132373 [details] screenshot of the Main Dashboard Description of problem ====================== OSDs card from main dashboard doesn't report error states properly. Version-Release number of selected component ============================================ rhscon-core-0.0.8-10.el7.x86_64 rhscon-ui-0.0.19-1.el7.noarch rhscon-ceph-0.0.6-10.el7.x86_64 rhscon-agent-0.0.3-3.el7.noarch How reproducible ================ 100 % Steps to Reproduce ================== 1. Install usm following the documentation 2. Accept all nodes and create a cluster 3. Define object storage (rados) 4. Shut down one machine which hosts some OSDs 5. Check the *OSDs card* from the main dashboard Actual results ============== OSDs card looks the same as if everything is ok, (see the screenshot): ~~~ 8 OSDs ~~~ Even though I have one node with 2 OSDs down out of 8 OSDs in total. Expected results ================ The OSDs card would reflect the state and would show some warning or error numbers.
This has been fixed as follows: We listen to events emitted by calamari, calamari emits events when there is a change is osd state. Based on the event we update the status of osd in skyring DB, which in turn will be reflected in UI.
tested with ceph-ansible-1.0.5-27.el7scon.noarch ceph-installer-1.0.14-1.el7scon.noarch rhscon-ceph-0.0.33-1.el7scon.x86_64 rhscon-core-0.0.34-1.el7scon.x86_64 rhscon-core-selinux-0.0.34-1.el7scon.noarch rhscon-ui-0.0.48-1.el7scon.noarch and it works. --> VERIFIED