Description of problem:
When a BMH is in 'Inspection error' status, it always shows a loading icon in Inventory card on BMH details page
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Visit BMH details page from Nodes -> Bare Metal Hosts -> click the one in inspection error status
2. check Inventory card
2. It always shows a loading icon besides 'Pods'
2. If there is no pods, we should show correct number 0 instead of always showing loading icon
Created attachment 1697729 [details]
0 Pods are shown
When a BMH is in Registration error status, Bare Metal Host Details page shows '0 Pods' in Inventory card
Verified on 4.5.0-0.nightly-2020-06-11-183238
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.