Bug 1840090 - Master node shown as Ready / Host is powered off
Summary: Master node shown as Ready / Host is powered off
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Steven Hardy
QA Contact: Omri Hochman
URL:
Whiteboard:
: 1840105 (view as bug list)
Depends On:
Blocks: 1807891
TreeView+ depends on / blocked
 
Reported: 2020-05-26 11:07 UTC by Constantin Vultur
Modified: 2020-10-07 13:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-27 14:17:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Node showing that master is powered off (147.00 KB, image/png)
2020-05-26 11:07 UTC, Constantin Vultur
no flags Details

Description Constantin Vultur 2020-05-26 11:07:10 UTC
Created attachment 1692234 [details]
Node showing that master is powered off

Description of problem:

Version-Release number of the following components:
OCP 4.5.0-0.nightly-2020-05-26-063751

How reproducible:

Steps to Reproduce:
1. Navigate to Compute > Nodes Page
2. Check status of a master node
3.

Actual results:
After the fix for BZ1801238 there is some information that are not still accurate. 
On the Nodes page, the masters are being show with Status: Ready ( on the first line ) and Host is powered off ( on the second line ) 


Expected results:
The Node should be shown with the correct status

Additional info:
$ oc get nodes
NAME         STATUS   ROLES    AGE    VERSION
master-0-0   Ready    master   100m   v1.18.2
master-0-1   Ready    master   100m   v1.18.2
master-0-2   Ready    master   100m   v1.18.2
worker-0-0   Ready    worker   64m    v1.18.2
worker-0-1   Ready    worker   72m    v1.18.2


$ oc get bmh -A
NAMESPACE               NAME                   STATUS   PROVISIONING STATUS   CONSUMER                                 BMC                                                                                    HARDWARE PROFILE   ONLINE   ERROR
openshift-machine-api   openshift-master-0-0                                  ocp-edge-cluster-cdv2-0-master-0         redfish://192.168.123.1:8000/redfish/v1/Systems/f83113a8-4a75-44d0-ab1a-b5095c9cdd4c                      true     
openshift-machine-api   openshift-master-0-1                                  ocp-edge-cluster-cdv2-0-master-1         redfish://192.168.123.1:8000/redfish/v1/Systems/9283fc35-2cca-4037-9c98-6e6918a2ebee                      true     
openshift-machine-api   openshift-master-0-2                                  ocp-edge-cluster-cdv2-0-master-2         redfish://192.168.123.1:8000/redfish/v1/Systems/9a818b17-4ac9-49e2-8576-c450fde602a2                      true     
openshift-machine-api   openshift-worker-0-0   OK       provisioned           ocp-edge-cluster-cdv2-0-worker-0-wp6dj   redfish://192.168.123.1:8000/redfish/v1/Systems/a3121a01-275a-47fd-833e-7f9841996888   unknown            true     
openshift-machine-api   openshift-worker-0-1   OK       provisioned           ocp-edge-cluster-cdv2-0-worker-0-jr79g   redfish://192.168.123.1:8000/redfish/v1/Systems/79f9ce2b-9bcf-4e3a-85d9-4dfb8d9d728d   unknown            true     


$ oc get machines -A
NAMESPACE               NAME                                     PHASE     TYPE   REGION   ZONE   AGE
openshift-machine-api   ocp-edge-cluster-cdv2-0-master-0         Running                          111m
openshift-machine-api   ocp-edge-cluster-cdv2-0-master-1         Running                          111m
openshift-machine-api   ocp-edge-cluster-cdv2-0-master-2         Running                          111m
openshift-machine-api   ocp-edge-cluster-cdv2-0-worker-0-jr79g   Running                          89m
openshift-machine-api   ocp-edge-cluster-cdv2-0-worker-0-wp6dj   Running                          89m


$ oc get bmh openshift-master-0-0 -n openshift-machine-api -o yaml
....
  operationalStatus: ""
  poweredOn: false
  provisioning:
    ID: ""
    image:
      checksum: ""
      url: ""
    state: ""
  triedCredentials: {}

Comment 2 Honza Pokorny 2020-05-26 16:34:37 UTC
*** Bug 1840105 has been marked as a duplicate of this bug. ***

Comment 5 mlammon 2020-06-01 18:29:43 UTC
It is also an issue under UI

Compute-> Bare Metal Hosts 

All the masters show Ready but "Powering on"

version   4.5.0-0.nightly-2020-06-01-111748



[root@sealusa9 ~]# oc get bmh openshift-master-0-0 -o yaml -n openshift-machine-api | grep poweredOn
        f:poweredOn: {}
  poweredOn: false


I then see it in UI
Compute -> Bare Metal Hosts
All the masters "Unknown" Powering On


[root@sealusa9 ~]# oc get nodes
NAME         STATUS   ROLES    AGE     VERSION
master-0-0   Ready    master   3h45m   v1.18.3+9e56094
master-0-1   Ready    master   3h40m   v1.18.3+9e56094
master-0-2   Ready    master   3h40m   v1.18.3+9e56094
worker-0-0   Ready    worker   26m     v1.18.3+9e56094
worker-0-1   Ready    worker   11m     v1.18.3+9e56094

Comment 6 Lubov 2020-06-09 10:02:05 UTC
UI and 'oc get bmh' fixed in version 4.5.0-0.nightly-2020-06-05-214616 while fixing https://bugzilla.redhat.com/show_bug.cgi?id=1844205

Comment 7 Steven Hardy 2020-07-27 14:17:57 UTC
Closing per comment #6 which indicates this is no longer an issue, please reopen if you believe this to be incorrect - thanks!


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