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

Bug 1920912

Summary: Unable to power off BMH from console
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Console Metal3 PluginAssignee: Jiri Tomasek <jtomasek>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, smiron
Target Milestone: ---   
Target Release: 4.7.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: 2021-02-24 15:56:44 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:

Description Yadan Pei 2021-01-27 09:19:31 UTC
Description of problem:
When trying to power off BMH using 'Power Off' action, 'Power Off' modal is not launched
http://g.recordit.co/j6Er6I9wbE.gif

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-27-002938

How reproducible:
Always

Steps to Reproduce:
1. goes to Node -> Bare Metal Hosts list page
2. click on kebab button of any BMH and choose 'Power Off'
3.

Actual results:
2. The Power Off modal is not opened and we can see error:

react_devtools_backend.js:2430 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bchildren%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at $i (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at d (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at m (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at vendors~main-chunk-e66ef6332d901bfab688.min.js:168278
    at la (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at Ys (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at Bs (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at Fs (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at Ps (vendors~main-chunk-e66ef6332d901bfab688.min.js:168278)
    at vendors~main-chunk-e66ef6332d901bfab688.min.js:168278

Expected results:
1. Power Off modal can be opened successfully

Additional info:

Comment 1 Jiri Tomasek 2021-02-01 13:35:40 UTC
*** Bug 1911279 has been marked as a duplicate of this bug. ***

Comment 3 Yanping Zhang 2021-02-04 07:48:39 UTC
Checked on OCP 4.7 BM cluster with payload 4.7.0-0.nightly-2021-02-03-124048
1. goes to Node -> Bare Metal Hosts list page
2. click on kebab button of any BMH and choose 'Power Off', the modal is opened, and BMH could be power off now.

Comment 6 errata-xmlrpc 2021-02-24 15:56:44 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633