Description of problem: In the inventory card in the systems dashboards, the counter for the baremetal hosts remains a gray fading square Version-Release number of selected component (if applicable): 4.3.0-0.okd-2019-10-23-224431 How reproducible: 100% Steps to Reproduce: 1. Open the dashboards page and look at the last line in the inventory card Actual results: It says: [] Bare Metal Hosts Expected results: It should say: 3 Bare Metal Hosts Additional info: No relevant errors seem to be found in the browser console. There are some websocket connection errors and some svg errors.
I can reproduce this error in my cluster. The bug is caused by the absence of the node maintenance CRD/operator. The inventory card waits for the maintenance data to arrive and it never does.
After installing HCO in the cluster, this works as expected.
This is a problem, we can't rely on the presence of that node maintenance operator. The BaremetalHost inventory item should treat the maintenance as optional. There is an 'optional': boolean on FirehoseResource which we could use. Optional resources should not be taken into account when isLoading InventoryItem prop is calculated in InventoryCard. IMHO we should filter optional resources when additionalResourcesLoaded is calculated here https://github.com/openshift/console/blob/master/frontend/public/components/dashboard/dashboards-page/overview-dashboard/inventory-card.tsx#L75
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062