Bug 2090621

Summary: Metal3 plugin does not work properly with updated NodeMaintenance CRD
Product: OpenShift Container Platform Reporter: Rastislav Wagner <rawagner>
Component: Console Metal3 PluginAssignee: Rastislav Wagner <rawagner>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Node maintenance feature was moved to a new project which resulted in change of APIs Consequence: Node maintenance stopped working Fix: Update code to work properly with new APIs Result: Node maintenance works again
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:14:33 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:    
Bug Blocks: 2090750    

Description Rastislav Wagner 2022-05-26 07:12:18 UTC
Description of problem:
NodeMaintenance CR moved to https://github.com/medik8s/node-maintenance-operator which changed the apiGroup identifier. metal3 plugin needs to work with this updated CR too. JIRA for reference https://issues.redhat.com/browse/ECOPROJECT-538

Version-Release number of selected component (if applicable):
4.10

How reproducible:
always

Comment 2 Yanping Zhang 2022-06-02 10:53:09 UTC
Launch ocp 4.11 edge cluster with payload 4.11.0-0.nightly-2022-06-01-200905.
Install NMO according to https://github.com/medik8s/node-maintenance-operator#deploy-the-latest-version.
Then go to on node page, trigger "Start Maintenance" from action list. The node could be under maintenance status. 
The bug is fixed.

Comment 5 errata-xmlrpc 2022-08-10 11:14:33 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069