Admin subcloud "Storage Overview" OSDs output is incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
Horizon admin subcloud "Storage Overview" displays OSDs but unexpectedly reports for
2 hosts even though there is just one controller in the subcloud
Severity
--------
Standard
Steps to Reproduce
------------------
1. Log into Horizon - system admin
2. From system controller select menu option to Switch to subclouds
3. Select Host Details (of eg. subcloud2). A single controller is listed.
4. Navigate to Platform - Storage Overview for subcloud2
Expected Behavior
------------------
Expect only the osds for the subcloud host should be listed. In this case there was only a single controller
ie. The osd lists for subcloud2 is as following in the cli
SYSTEM: dc-subcloud2
controller-0:~$ ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 0.87189 root storage-tier
-2 0.87189 chassis group-0
-3 0.87189 host controller-0
0 ssd 0.87189 osd.0 up 1.00000 1.00000
Actual Behavior
----------------
Lists more than one osd ie. osd.0 appears for controller-0 which exists but unexpectedly the Storage Overview also displays osd.1 for controller-1 which does not exist on subcloud2.
eg.
Storage Overview
Storage Cluster UUID
92b7a49c-
Storage Cluster Health Status
HEALTH_OK
Storage Cluster Health Details
HEALTH_OK
Storage Usage
18251 MiB used, 1767 GiB available, 1785 GiB total
Storage I/O
0 kiB/s write, 0 operations/second write
Monitors
Host Rank
controller 0
OSDs
Host Name Status
controller-0 osd.0 up
controller-1 osd.1 up
Reproducibility
---------------
yes
(Note: A browser refresh does not fix this)
System Configuration
----------------
system controller
2 subclouds, each have a single controller
Branch/Pull Time/Commit
-------
2020-05-02_20-00-00
Last Pass
---------
This problem does not show up in Horizon where it is not on a subcloud
Timestamp/Logs
--------------
Test Activity
------------
Horizon DC
low priority - gui display issue