Bug 2023765 - [BM] [IPI] [Dual Stack] Installer must ensure ipv6 short forms too if clusterprovisioning IP is specified as ipv6 address [4.8]
Summary: [BM] [IPI] [Dual Stack] Installer must ensure ipv6 short forms too if cluster...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.8.z
Assignee: Bob Fournier
QA Contact: Adina Wolff
URL:
Whiteboard:
Depends On: 2023748
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-16 13:35 UTC by Bob Fournier
Modified: 2022-01-06 13:54 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The user entered a long form IPv6 address in the installation configuration file, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Consequence: The installation failed as Ironic could not find an interface matching this IP address. Fix: The fix was to convert the IPv6 address to short form, e.g. 2001:db8:85a3::8a2e:370:7334 Result: The installation was successful.
Clone Of: 2023748
Environment:
Last Closed: 2022-01-05 16:11:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ironic-image pull 233 0 None open Bug 2023765: Compare IPs using the short form of IPv6 address 2021-11-29 01:24:36 UTC
Github openshift ironic-inspector-image pull 71 0 None open Bug 2023765: For inspector, compare IPs using the short form of IPv6 address 2021-12-08 22:36:05 UTC
Red Hat Product Errata RHBA-2021:5209 0 None None None 2022-01-05 16:11:58 UTC

Comment 3 Adina Wolff 2021-12-07 18:00:36 UTC
Deployment failed on the specified version:

[kni@provisionhost-0-0 ~]$ oc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version             False       True          109m    Unable to apply 4.8.0-0.nightly-2021-12-06-234030: some cluster operators have not yet rolled out

Comment 4 Bob Fournier 2021-12-07 18:08:14 UTC
Is there any indication the short form IPv6 address is not being used and is the reason for the failure?
Is what is being logged in the ironic log in long form e.g.:
 2021-10-04T14:00:29.841756101Z Waiting for fd8a:216d:178e:c1df:0000:0000:0000:0003 to be configured on an interface

Different than what is being reported for the interface in short form?

Comment 5 Adina Wolff 2021-12-07 18:21:58 UTC
The log shows the following message:
Waiting for fd00:1101:0000:0001:0000:0000:0000:0003/64 to be configured on an interface

Comment 6 Adina Wolff 2021-12-08 09:25:09 UTC
Deployment on the same version with short-form ipv6 is successful

https://auto-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-baremetal-ipi-deployment/10054/console

[kni@provisionhost-0-0 ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-12-06-234030   True        False         8m31s   Cluster version is 4.8.0-0.nightly-2021-12-06-234030


install-config.yaml:
...
    provisioningNetworkInterface: enp0s3
    provisioningNetworkCIDR: fd00:1101:0:1::/64
    bootstrapOSImage: http://registry.ocp-edge-cluster-0.qe.lab.redhat.com:8080/images/rhcos-48.84.202109241901-0-qemu.x86_64.qcow2.gz?sha256=50377ba9c5cb92c649c7d9e31b508185241a3c204b34dd991fcb3cf0adc53983
....

Comment 7 Bob Fournier 2021-12-08 17:44:10 UTC
Thanks Adina. Debugging with Adina showed that the problem is only occurring and logged for ironic-inspector. This is because ironic-conductor and inspector used different images in 4.8 so will need to make the corresponding change to https://github.com/openshift/ironic-inspector-image/blob/release-4.8/scripts/ironic-common.sh#L9

Comment 10 Adina Wolff 2021-12-19 12:10:14 UTC
Deployment was successful with version 4.8.0-0.nightly-2021-12-18-022810.
Relevant part of install-config was:

    provisioningNetworkInterface: enp0s3
    provisioningNetworkCIDR: fd00:1101:0000:0001:0000:0000:0000:0000/64
    bootstrapProvisioningIP: fd00:1101:0000:0001:0000:0000:0000:0002
    clusterProvisioningIP: fd00:1101:0000:0001:0000:0000:0000:0003

Comment 13 errata-xmlrpc 2022-01-05 16:11:41 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.8.25 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.

https://access.redhat.com/errata/RHBA-2021:5209


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