diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2022-04-22 09:57:50 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2022-05-04 11:32:29 -0700 |
commit | a9f4acfdb099a8c24e35c6329913db10cc3ac150 (patch) | |
tree | 68ec0e8b26bb26192d84626ee2bc000d97643cbc /devstack | |
parent | cf8124deae641061a90e5f3c6fc05e2041e895d5 (diff) | |
download | ironic-a9f4acfdb099a8c24e35c6329913db10cc3ac150.tar.gz |
Fix v6 CI job - Return it to normal non-voting status
* Fixes the IPv6 job by utilizing HOST_IPV6 instead of
SERVICE_IPV6, as Devstack now automatically wraps
SERVICE_IPV6 with brackets as if it is for a URL.
* Locks ipv6 job to bios mode. Ubuntu Focal OVMF/EDK2 does not
support IPv6 PXE boot by default.
* Split from Devstack in terms of IP usage, since full explicit
V6 usage is not a thing anymore. 4+6 is the default in devstack
and regardless of what we set on the job we see both now used.
So we delineate apart our usage for our own sanity.
* Reduce VM Interface count for IPv6 in an attempt to eliminate
in-kernel routing confusion by two interfaces on the same physical
network.
* Set IPv6 mode to dhcpv6-stateless due to fun issues in dhcp clients.
When we move to UEFI, this will need to be changed to stateful as
stateless is not supported in general by OVMF/E2DK.
Once the job has run in normal non-voting for a while, and we
ensure that it seems to be stable, we can make it voting again.
Change-Id: Ia833bfb64c6c3cc8e48cbe34ed200536652a8adf
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/ironic | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 9ef5d7d04..813a42c72 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -500,7 +500,7 @@ else # loopback cannot be used for v6 testing. IRONIC_HOST_IPV6='fc00::1' else - IRONIC_HOST_IPV6=$SERVICE_HOST + IRONIC_HOST_IPV6=$HOST_IPV6 fi IRONIC_PROVISION_SUBNET_GATEWAY=${IRONIC_PROVISION_SUBNET_GATEWAY:-'fc01::1'} IRONIC_PROVISION_SUBNET_SUBNODE_IP=${IRONIC_PROVISION_SUBNET_SUBNODE_IP:-'fc01::2'} @@ -1342,7 +1342,7 @@ function configure_ironic_rescue_network { } function configure_ironic_provision_network { - if [[ "$IP_VERSION" == "6" ]]; then + if [[ "$IRONIC_IP_VERSION" == "6" ]]; then # NOTE(TheJulia): Ideally we should let this happen # with our global address, but iPXE seems to have in # consistant behavior in this configuration with devstack. @@ -1402,9 +1402,11 @@ function configure_ironic_provision_network { --gateway $IRONIC_PROVISION_SUBNET_GATEWAY --network $net_id \ --subnet-range $IRONIC_PROVISION_SUBNET_PREFIX -f value -c id)" else + # NOTE(TheJulia): Consider changing this to stateful to support UEFI once we move + # CI to Ubuntu Jammy as it will support v6 and v4 UEFI firmware driven boot ops. subnet_id="$(openstack --os-cloud $OS_CLOUD subnet create --ip-version 6 \ - --ipv6-address-mode dhcpv6-stateful \ - --ipv6-ra-mode dhcpv6-stateful \ + --ipv6-address-mode dhcpv6-stateless \ + --ipv6-ra-mode dhcpv6-stateless \ --dns-nameserver 2001:4860:4860::8888 \ ${net_segment_id:+--network-segment $net_segment_id} \ $IRONIC_PROVISION_PROVIDER_SUBNET_NAME \ |