Description of problem: Create a VM and visit VM overview page, there are "Not available" for other metrics but not for network, start the VM and "Not available" displayed for network immediately. Version-Release number of selected component (if applicable): 4.5.0-rc.2 and master How reproducible: 100% Steps to Reproduce: 1. Create a VM with status off 2. Visit network Utilization in overview. 3. Actual results: Expected results: Additional info:
Ref: https://github.com/openshift/console/blob/master/frontend/packages/console-shared/src/components/dashboard/utilization-card/UtilizationItem.tsx#L84 the check: `data.every((datum) => datum.length)` return true for `data.length === 0` but we actually want also to cover `length === 0` as no data (e.g. false)
verified on upstream 4.6 branch.
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 (OpenShift Container Platform 4.6 GA Images), 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:4196