Bug 1844238
Summary: | [4.5] [UI] BMH status "Restart pending, Powering on" is not correct and should be "Host is powered off" with phased reboot | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | mlammon | ||||
Component: | Console Metal3 Plugin | Assignee: | Jiri Tomasek <jtomasek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.5 | CC: | abeekhof, achernet, aos-bugs, gharden, jtomasek, rawagner, scuppett, tjelinek, yapei | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | 4.6.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-10-27 16:05:23 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: | |||||||
Attachments: |
|
Description
mlammon
2020-06-04 20:20:42 UTC
This is not a blocker for 4.5.0 GA. Setting target release to current development branch (4.6.0). For fixes (if any) requested/required on earlier versions, clones will be created for 4.5.z or earlier as appropriate. already has been triaged so just marking as such The reason for this behaviour is because UI is looking at spec.online on the BMH resource to identify if the host is instended to be powered on. In this case spec.online is true which in combination with status.poweredOn = false results in 'Powering On' power status in UI. The UI does not know about the phased reboot annotation and does not take it into account when identifying the power status. This needs to be enhanced. Me again, any chance this will land in 4.6? @Andrew yes, PR is up 1. Compute -> Bare Metal Hosts -> openshift-worker-0-1 -> Actions -> Edit Annotations -> Add 'reboot.metal3.io/anydata' KEY only(no need to set VALUE) -> Save 2. Check BMH status via CLI # oc get bmh openshift-worker-0-1 -n openshift-machine-api -o yaml ...... poweredOn: false provisioning: ID: 5a2f3518-128e-4251-ae7c-a5b0134ea982 bootMode: UEFI image: checksum: http://[fd00:1101::3]:6180/images/rhcos-46.82.202009222340-0-openstack.x86_64.qcow2/rhcos-46.82.202009222340-0-compressed.x86_64.qcow2.md5sum url: http://[fd00:1101::3]:6180/images/rhcos-46.82.202009222340-0-openstack.x86_64.qcow2/rhcos-46.82.202009222340-0-compressed.x86_64.qcow2 rootDeviceHints: deviceName: /dev/sda state: provisioned ...... 3. Check BMH status on Compute -> Bare Metal Hosts list page, it shows 'Provisioned, Powered off', this is correct Verified on 4.6.0-0.nightly-2020-09-27-075304 Created attachment 1717388 [details] Bare Metal Hosts shows powered off when phased reboot $ oc get bmh openshift-worker-0-1 -n openshift-machine-api -o yaml apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: annotations: reboot.metal3.io/anydata: "" creationTimestamp: "2020-09-28T07:15:59Z" finalizers: - baremetalhost.metal3.io - machine.machine.openshift.io ...... poweredOn: false provisioning: ID: 5a2f3518-128e-4251-ae7c-a5b0134ea982 bootMode: UEFI image: checksum: http://[fd00:1101::3]:6180/images/rhcos-46.82.202009222340-0-openstack.x86_64.qcow2/rhcos-46.82.202009222340-0-compressed.x86_64.qcow2.md5sum url: http://[fd00:1101::3]:6180/images/rhcos-46.82.202009222340-0-openstack.x86_64.qcow2/rhcos-46.82.202009222340-0-compressed.x86_64.qcow2 rootDeviceHints: deviceName: /dev/sda state: provisioned 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 |