Bug 2012684 - [IPI baremetal] The metal3 pod failed to restart when switching from Disabled to Managed provisioning without specifying provisioningInterface parameter
Summary: [IPI baremetal] The metal3 pod failed to restart when switching from Disable...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.0
Assignee: Angus Salkeld
QA Contact: Aleksandra Malykhin
Depends On: 2000081
TreeView+ depends on / blocked
Reported: 2021-10-11 05:17 UTC by Aleksandra Malykhin
Modified: 2021-11-01 13:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2000081
Last Closed: 2021-11-01 13:44:32 UTC
Target Upstream Version:
sdasu: needinfo-

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-baremetal-operator pull 207 0 None open [release-4.9] Bug 2012684: add a new field "ProvisioningMacAddresses" to the provisioning CRD 2021-10-12 13:09:05 UTC
Red Hat Product Errata RHBA-2021:4005 0 None None None 2021-11-01 13:44:50 UTC

Comment 2 sdasu 2021-10-13 16:29:45 UTC
This is quite an important piece to complete https://issues.redhat.com/browse/MPINSTALL-6. So, thanks for taking a look @zaneb.

Comment 3 Angus Thomas 2021-10-13 16:37:52 UTC
We don't actually need to block 4.9 GA for this. We'll pudh to get the fix into a z-stream release as soon as possible.

Comment 6 Aleksandra Malykhin 2021-10-26 11:38:23 UTC
Verified on 
[kni@provisionhost-0-0 ~]$ oc get clusterversion
Cluster version is 4.9.0-0.nightly-2021-10-26-021742

Steps to reproduce:
1. Build the cluster with the Disabled provisioning and Redfish-VirtualMedia management type
2. Go through the masters and catch the boot mac addresses for available interfaces ( "enp0s3" in my case)
ssh core@master-0-0 & ip a
3. Edit the provisioning CR:
[kni@provisionhost-0-0 ~]$ oc edit provisioning-configuration

#Add the fields

#Change the privisioning network to Managed:
  provisioningNetwork: Managed

# Use the collected boot mac addresses to replace the followings:
  - 52:54:00:7e:e8:79
  - 52:54:00:ee:e3:bc
  - 52:54:00:8e:a0:64

4. Verify the changes
[kni@provisionhost-0-0 ~]$ oc edit provisioning-configuration
Entered values are displayed in the CR 

[kni@provisionhost-0-0 ~]$ oc get pods -A | grep metal3
openshift-machine-api  metal3-6bd5dd6f4c-tdlkd      8/8    Terminating        1 (121
openshift-machine-api  metal3-86dccb65dd-ljwq6     10/10   Running            1 (21m 

The 8 pods were Terminated, 10 pods are running

Comment 9 errata-xmlrpc 2021-11-01 13:44:32 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 (OpenShift Container Platform 4.9.5 bug fix 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.


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