Bug 1909682
Summary: | When scaling down the status of the node is stuck on deleting | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Derek Higgins <derekh> |
Component: | Bare Metal Hardware Provisioning | Assignee: | Derek Higgins <derekh> |
Bare Metal Hardware Provisioning sub component: | ironic | QA Contact: | Polina Rabinovich <prabinov> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | asegurap, beth.white, bfournie, derekh, dmaizel, dtantsur, kquinn, prabinov, smiron |
Version: | 4.7 | Keywords: | Regression, Triaged, UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.6.z | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, master nodes were losing their link-local address on the provisioning interface preventing provisioning from working. A workaround has been added to toggle addr_gen_mode to prevent this from occurring.
|
Story Points: | --- |
Clone Of: | 1901040 | Environment: | |
Last Closed: | 2021-01-18 18:00:14 UTC | Type: | --- |
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: | 1901040 | ||
Bug Blocks: | 1868104, 1872659 |
Description
Derek Higgins
2020-12-21 12:02:06 UTC
Verified in version: [kni@provisionhost-0-0 ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.9 True False 96m Cluster version is 4.6.9 ------------------------------------------------------------------------------- [kni@provisionhost-0-0 ~]$ oc get bmh -n openshift-machine-api NAME STATUS PROVISIONING STATUS CONSUMER BMC HARDWARE PROFILE ONLINE ERROR openshift-master-0-0 OK externally provisioned ocp-edge-cluster-0-lppt2-master-0 redfish://192.168.123.1:8000/redfish/v1/Systems/e717c94d-bcc9-40a1-b1a3-59cafe3bfc7b true openshift-master-0-1 OK externally provisioned ocp-edge-cluster-0-lppt2-master-1 redfish://192.168.123.1:8000/redfish/v1/Systems/550623fd-22d2-49ab-b9d5-6501d31ec179 true openshift-master-0-2 OK externally provisioned ocp-edge-cluster-0-lppt2-master-2 redfish://192.168.123.1:8000/redfish/v1/Systems/7fb7f5aa-da0f-4943-800f-667789074ff8 true openshift-worker-0-0 OK provisioned ocp-edge-cluster-0-lppt2-worker-0-8f9jf redfish://192.168.123.1:8000/redfish/v1/Systems/4e44929a-1aec-4f54-930b-6dfc01024a6d unknown true openshift-worker-0-1 OK provisioned ocp-edge-cluster-0-lppt2-worker-0-sp7xn redfish://192.168.123.1:8000/redfish/v1/Systems/035d09e4-0f42-474b-81f4-2de68b309135 unknown true openshift-worker-0-2 OK provisioned ocp-edge-cluster-0-lppt2-worker-0-h65nq redfish://192.168.123.1:8000/redfish/v1/Systems/d96892c1-fdb7-4790-b6c1-00537b5a2cb4 unknown true [kni@provisionhost-0-0 ~]$ oc annotate machine <name-CONSUMER> machine.openshift.io/cluster-api- -bash: name-CONSUMER: No such file or directory [kni@provisionhost-0-0 ~]$ oc annotate machine ocp-edge-cluster-0-lppt2-worker-0-8f9jf machine.openshift.io/cluster-api-delete-machine=yes -n openshift-machine-api machine.machine.openshift.io/ocp-edge-cluster-0-lppt2-worker-0-8f9jf annotated [kni@provisionhost-0-0 ~]$ oc scale machineset -n openshift-machine-api ocp-edge-cluster-0-lppt2-worker-0 --replicas=2 machineset.machine.openshift.io/ocp-edge-cluster-0-lppt2-worker-0 scaled ----------------------------------------------------------------------------------------------------------------------- [kni@provisionhost-0-0 ~]$ oc get nodes NAME STATUS ROLES AGE VERSION master-0-0 Ready master 139m v1.19.0+7070803 master-0-1 Ready master 139m v1.19.0+7070803 master-0-2 Ready master 139m v1.19.0+7070803 worker-0-0 Ready,SchedulingDisabled worker 106m v1.19.0+7070803 worker-0-1 Ready worker 104m v1.19.0+7070803 worker-0-2 Ready worker 105m v1.19.0+7070803 [kni@provisionhost-0-0 ~]$ oc get machine -o wide -n openshift-machine-api NAME PHASE TYPE REGION ZONE AGE NODE PROVIDERID STATE ocp-edge-cluster-0-lppt2-master-0 Running 156m master-0-0 baremetalhost:///openshift-machine-api/openshift-master-0-0 ocp-edge-cluster-0-lppt2-master-1 Running 156m master-0-1 baremetalhost:///openshift-machine-api/openshift-master-0-1 ocp-edge-cluster-0-lppt2-master-2 Running 156m master-0-2 baremetalhost:///openshift-machine-api/openshift-master-0-2 ocp-edge-cluster-0-lppt2-worker-0-8f9jf Deleting 133m worker-0-0 baremetalhost:///openshift-machine-api/openshift-worker-0-0 ocp-edge-cluster-0-lppt2-worker-0-h65nq Running 133m worker-0-2 baremetalhost:///openshift-machine-api/openshift-worker-0-2 ocp-edge-cluster-0-lppt2-worker-0-sp7xn Running 133m worker-0-1 baremetalhost:///openshift-machine-api/openshift-worker-0-1 -------------------------------------------------------------------------------------------------------------- [kni@provisionhost-0-0 ~]$ oc get nodes NAME STATUS ROLES AGE VERSION master-0-0 Ready master 141m v1.19.0+7070803 master-0-1 Ready master 141m v1.19.0+7070803 master-0-2 Ready master 141m v1.19.0+7070803 worker-0-1 Ready worker 106m v1.19.0+7070803 worker-0-2 Ready worker 107m v1.19.0+7070803 [kni@provisionhost-0-0 ~]$ oc get machine -o wide -n openshift-machine-api NAME PHASE TYPE REGION ZONE AGE NODE PROVIDERID STATE ocp-edge-cluster-0-lppt2-master-0 Running 160m master-0-0 baremetalhost:///openshift-machine-api/openshift-master-0-0 ocp-edge-cluster-0-lppt2-master-1 Running 160m master-0-1 baremetalhost:///openshift-machine-api/openshift-master-0-1 ocp-edge-cluster-0-lppt2-master-2 Running 160m master-0-2 baremetalhost:///openshift-machine-api/openshift-master-0-2 ocp-edge-cluster-0-lppt2-worker-0-h65nq Running 138m worker-0-2 baremetalhost:///openshift-machine-api/openshift-worker-0-2 ocp-edge-cluster-0-lppt2-worker-0-sp7xn Running 138m worker-0-1 baremetalhost:///openshift-machine-api/openshift-worker-0-1 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.6.12 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-2021:0037 |