Bug 1833385 - Ironic: Allows users to configure any non-link-local IPV6 address for the provisioning interface
Summary: Ironic: Allows users to configure any non-link-local IPV6 address for the pro...
Keywords:
Status: CLOSED ERRATA
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.5.0
Assignee: Julia Kreger
QA Contact: Daniel
URL:
Whiteboard:
Depends On:
Blocks: 1838083
TreeView+ depends on / blocked
 
Reported: 2020-05-08 14:49 UTC by Juan Manuel Parrilla Madrid
Modified: 2020-07-13 17:36 UTC (History)
4 users (show)

Fixed In Version: 4.5.0
Doc Type: Bug Fix
Doc Text:
Cause: Ironic containers in OCP would fail to start if the user defined "PROV_IFACE" interface was configured for IPv6 but to only use link-local addressing as opposed to a globally routable addressing. Consequence: Ironic containers would fail to start. Fix: The container start-up script has been modified to accept link-local addressing in addition to global addressing. Result: Containers will now start the interface definedby "PROV_IFACE" only contains link-level addresses as opposed to globally routable addresses.
Clone Of:
: 1836929 1838083 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:36:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github metal3-io ironic-image pull 153 0 None closed Allow any IPv6 address to be configured for provisioning, but link local scope 2020-06-21 07:53:53 UTC
Github openshift ironic-image pull 78 0 None closed bug 1833385: Allows users to configure any non-link-local IPV6 address for the provisioning interface 2020-06-21 07:53:52 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:36:28 UTC

Description Juan Manuel Parrilla Madrid 2020-05-08 14:49:02 UTC
Description of problem:

When using routable IPv6 addresses for the provisioning network. The previous grep command only matched local unicast addresses, this new grep will match any IPv6 address, but the link local scope.

The httpd container keeps waiting for "PROV_IFACE" to be configured otherwise.

Version-Release number of the following components:

openshift-baremetal-install 4.4.0-0.nightly-2020-05-07-005846
built from commit fb65b95076665c794e7c1cc148f56722761d0d31
release image registry.svc.ci.openshift.org/ocp/release@sha256:4aa1a03150d5b185f0dd525d9b3fbd33d98b97a8e2b51fc068bb9a56003fe750

More info here: 

- https://github.com/openshift/ironic-image/pull/78
- https://github.com/metal3-io/ironic-image/pull/153


How reproducible:

Steps to Reproduce:
1. Use the installer to deploy an IPv6 cluster
2. Wait for the Bootstrap VM to boot it up
3. Check logs on podman image "http", it gets stuck on:


Actual results:
http container gets stuck on:
...
Waiting for ens4 interface to be configured                                                                                                                                                                                                                                                                                                                               
Waiting for ens4 interface to be configured                                                                                                                                                                                                                                                                                                                               
Waiting for ens4 interface to be configured                                                                                                                                                                                                                                                                                                                               
Waiting for ens4 interface to be configured                                                                                                                                                                                                                                                                                                                               
Waiting for ens4 interface to be configured                                                                                                                                                                                                                                                                                                                               
Waiting for ens4 interface to be configured
...

Expected results:

Additional info:

Gets the right ipv6 configured on the httpd server

Comment 3 errata-xmlrpc 2020-07-13 17:36:10 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, 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:2409


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