Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1825318

Summary: [Masters] Bare Metal Hosts tab status not showing "Under Maintenance" after put into maintenance
Product: OpenShift Container Platform Reporter: mlammon
Component: Console Metal3 PluginAssignee: Jiri Tomasek <jtomasek>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: abeekhof, aos-bugs, gharden, jiazhang, mlammon
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:28:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1801238, 1840133    
Bug Blocks:    

Description mlammon 2020-04-17 16:53:08 UTC
Description:
After master node is put into maintenance "Under Maintenance" via Compute->Node
you can't see the same status on the node from Compute-> Bare Metal Host. It
just shows "Externally Provisioned"


Tested version steps:
Version:

oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.4.0-0.nightly-2020-04-16-162058   True        False         21h     

Steps to reproduce:
1. Deploy cluster with CNV (which has node-maintenace-operator)
2. select compute -> Nodes
3. select 3 dots on any master node and "Start Maintenance"
4. Nodes - Status which switch to "Under maintenace"

# Check under Nodes -> Bare Metal Hosts 
1. select compute -> Bare Metal Host 

 

Actual results:
master-0-0 status is "Externally provisioned"

Expected results:
master-0-0 status "Under mainteance"


Additional information:
The master node can also be put into maintenance from CLI and status does not update
This behavior in UI works for worker node but not maintenance

Comment 1 Jiri Tomasek 2020-04-22 07:45:42 UTC
This is caused by https://bugzilla.redhat.com/show_bug.cgi?id=1801238. The master Bare Metal Hosts don't 'see' related node and therefore the host status does not reflect the node status.

Comment 2 Andrew Beekhof 2020-04-23 00:27:09 UTC
Just checking... workers are unaffected by this bug right?

Comment 3 mlammon 2020-05-15 13:29:47 UTC
Correct

Comment 4 Jiri Tomasek 2020-05-28 09:50:08 UTC
Fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1840133

Comment 6 mlammon 2020-06-17 15:07:32 UTC
Deployed OCP 4.5 and installed CNV 2.4
oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-06-17-001505   True        False         44m     Cluster version is 4.5.0-0.nightly-2020-06-17-001505

Followed steps above and now working as expected.

Comment 9 errata-xmlrpc 2020-07-13 17:28:35 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-2020:2409

Comment 10 Andrew Beekhof 2020-09-14 06:46:51 UTC
Agreed. No Insights needed