Bug 1737415 - Utilization card is stuck in loading state when no IP is reported in machine object
Summary: Utilization card is stuck in loading state when no IP is reported in machine ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Metal3 Plugin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.2.0
Assignee: Rastislav Wagner
QA Contact: Danylo Kholodov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 10:35 UTC by Rastislav Wagner
Modified: 2019-10-16 06:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:34:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2262 0 None None None 2019-08-05 10:36:40 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:34:53 UTC

Description Rastislav Wagner 2019-08-05 10:35:25 UTC

Comment 1 Rastislav Wagner 2019-08-05 11:24:43 UTC
Utilization card in Baremetal dashboard may get stuck in loading state if error occurred during fetching machine object or fetched machine object does not have IP reported in status field.

Comment 3 Udi Kalifon 2019-09-13 08:49:30 UTC
Hi Rastislav. How can we test this bug? I tried to edit the machine object and delete the IP but I guess the operator immediately restores the field. How can we simulate a machine with a missing IP, or is it enough that the machine has an IP now and the dashboard works?

Comment 4 Udi Kalifon 2019-09-16 14:21:22 UTC
Moving to the negative paths team. See also comment #3.

Comment 5 Danylo Kholodov 2019-09-17 07:19:07 UTC
Hi Rastislav,

Could you please provide more details as Udi mentioned at comment #3?

Comment 6 Rastislav Wagner 2019-09-17 07:31:38 UTC
To test this, you will need to somehow disable the operator either by

 - scaling the operator to 0 - see https://github.com/openshift/cluster-version-operator/blob/master/docs/dev/clusterversion.md#disabling-the-cluster-version-operator which describes how to do this for CVO, you need to apply it to baremetal-operator

 - or by setting baremetal object as unmanaged - again CVO way is described here https://github.com/openshift/cluster-version-operator/blob/master/docs/dev/clusterversion.md#setting-objects-unmanaged but im not sure if it is supported by baremetal-operator. 

First option should work

Comment 7 Danylo Kholodov 2019-10-10 12:18:55 UTC
Verified, Utilization card in Baremetal Dashboard doesn't stuck anymore.

Comment 8 errata-xmlrpc 2019-10-16 06:34:43 UTC
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-2019:2922


Note You need to log in before you can comment on or make changes to this bug.