RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1761517 - [RHEL7] DHCP Stateful - Openstack DHCPv6 instance get no default gateway and is unable to send IPv6 traffic (Network unreachable errors).
Summary: [RHEL7] DHCP Stateful - Openstack DHCPv6 instance get no default gateway and ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-init
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Eduardo Otubo
QA Contact: xiachen
URL:
Whiteboard:
Depends On:
Blocks: 1761598
TreeView+ depends on / blocked
 
Reported: 2019-10-14 14:48 UTC by Harald Jensås
Modified: 2024-11-20 07:54 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1761598 (view as bug list)
Environment:
Last Closed: 2020-10-10 02:23:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1806014 0 None None None 2019-10-14 14:48:50 UTC

Description Harald Jensås 2019-10-14 14:48:50 UTC
Description of problem:
IPv6 Openstack instance on dhcp-statefull address mode cannot communicate. (Network unreachable errors).

cloud-init by default configure IPV6_AUTOCONF=no in /etc/sysconfig/network

This set's /proc/sys/net/ipv6/ settings:
 accept_ra = 0
 autoconf = 0



[1] https://github.com/fedora-sysv/initscripts/commit/28745ca8101b47b8a33213cfc524a4ada742721b

Version-Release number of selected component (if applicable):
cloud-init-18.5-3.el7.centos.x86_64

How reproducible:


Steps to Reproduce:
1. Install Openstack
2. Create a flat provider network and add a ipv6 subnet on this network with:
 ipv6_address_mode: dhcpv6-stateful
 ipv6_ra_mode: dhcpv6-stateful
3. NOTE, no router was created, so Openstack does not do RA's in this case.
   radvd was set up with the following config on the provider network:
                  interface eth1 {
                    AdvSendAdvert on;
                    AdvManagedFlag on;
                    AdvOtherConfigFlag on;
                    AdvRASolicitedUnicast on;
                    AdvLinkMTU 1450;
                    prefix fd12:3456:789a:1::/64 {
                      AdvAutonomous on;
                      AdvOnLink on;
                    };
                  };
4. Deploy and instance on this network.

Actual results:

instance metadata - network_data.json:
{
    "services": [
        {
            "type": "dns",
            "address": "fd12:3456:789a:1::1"
        }
    ],
    "networks": [
        {
            "network_id": "0e5c86ca-4f61-4e8d-a356-84c8001a297b",
            "type": "ipv6_dhcpv6-stateful",
            "services": [
                {
                    "type": "dns",
                    "address": "fd12:3456:789a:1::1"
                }
            ],
            "netmask": "ffff:ffff:ffff:ffff::",
            "link": "tapecbf57bf-c0",
            "routes": [
                {
                    "netmask": "::",
                    "network": "::",
                    "gateway": "fd12:3456:789a:1::fffe"
                }
            ],
            "ip_address": "fd12:3456:789a:1::1:14e",
            "id": "network0"
        }
    ],
    "links": [
        {
            "vif_id": "ecbf57bf-c0ff-4104-b5bf-5c310cc32d96",
            "type": "phy",
            "ethernet_mac_address": "fa:16:3e:26:da:7e",
            "id": "tapecbf57bf-c0",
            "mtu": 1450
        }
    ]
}


file: /etc/sysconfig/network
NOZEROCONF=yes

# Created by cloud-init on instance boot automatically, do not edit.
#
NETWORKING=yes
NETWORKING_IPV6=yes
IPV6_AUTOCONF=no

file: /etc/sysconfig/network-scripts/ifcfg-eth0
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=none
DEFROUTE=yes
DEVICE=eth0
DHCPV6C=yes
HWADDR=fa:16:3e:26:da:7e
IPV6INIT=yes
IPV6_DEFAULTGW=fd12:3456:789a:1::fffe
MTU=1450
ONBOOT=yes
TYPE=Ethernet
USERCTL=no


$ sysctl net.ipv6.conf.eth0
net.ipv6.conf.eth0.accept_dad = 1
net.ipv6.conf.eth0.accept_ra = 0               <- RA is disabled
net.ipv6.conf.eth0.accept_ra_defrtr = 1
net.ipv6.conf.eth0.accept_ra_pinfo = 1
net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.eth0.accept_ra_rtr_pref = 1
net.ipv6.conf.eth0.accept_redirects = 0
net.ipv6.conf.eth0.accept_source_route = 0
net.ipv6.conf.eth0.autoconf = 0                <- Autoconf is disabled
net.ipv6.conf.eth0.dad_transmits = 1
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.eth0.enhanced_dad = 1
net.ipv6.conf.eth0.force_mld_version = 0
net.ipv6.conf.eth0.force_tllao = 0
net.ipv6.conf.eth0.forwarding = 0
net.ipv6.conf.eth0.hop_limit = 64
net.ipv6.conf.eth0.keep_addr_on_down = 0
net.ipv6.conf.eth0.max_addresses = 16
net.ipv6.conf.eth0.max_desync_factor = 600
net.ipv6.conf.eth0.mc_forwarding = 0
net.ipv6.conf.eth0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.eth0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.eth0.mtu = 1450
net.ipv6.conf.eth0.ndisc_notify = 0
net.ipv6.conf.eth0.optimistic_dad = 0
net.ipv6.conf.eth0.proxy_ndp = 0
net.ipv6.conf.eth0.regen_max_retry = 3
net.ipv6.conf.eth0.router_probe_interval = 60
net.ipv6.conf.eth0.router_solicitation_delay = 1
net.ipv6.conf.eth0.router_solicitation_interval = 4
net.ipv6.conf.eth0.router_solicitations = 3
net.ipv6.conf.eth0.temp_prefered_lft = 86400
net.ipv6.conf.eth0.temp_valid_lft = 604800
net.ipv6.conf.eth0.use_optimistic = 0
net.ipv6.conf.eth0.use_tempaddr = 0


$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast state UP group default qlen 1000
    link/ether fa:16:3e:26:da:7e brd ff:ff:ff:ff:ff:ff
    inet6 fd12:3456:789a:1::1:14e/128 scope global dynamic 
       valid_lft 7353sec preferred_lft 7053sec
    inet6 fe80::f816:3eff:fe26:da7e/64 scope link 
       valid_lft forever preferred_lft forever

$ ip -6 route
unreachable ::/96 dev lo metric 1024 error -113 pref medium
unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium
unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium
unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium
unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium
unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium
unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium
unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium
unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium
fd12:3456:789a:1::1:14e dev eth0 proto kernel metric 256 expires 7036sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth4 proto kernel metric 256 pref medium
fe80::/64 dev eth2 proto kernel metric 256 pref medium
fe80::/64 dev eth5 proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 pref medium
fe80::/64 dev eth3 proto kernel metric 256 pref medium


(undercloud) [centos@undercloud ~]$ ping6 fd12:3456:789a:1::1:14e
PING fd12:3456:789a:1::1:14e(fd12:3456:789a:1::1:14e) 56 data bytes
^C
--- fd12:3456:789a:1::1:14e ping statistics ---
45 packets transmitted, 0 received, 100% packet loss, time 44006ms


Communication with the undercloud fails.


Expected results:
The instance should be able to communicate.


Additional info:
If I add IPV6_FORCE_ACCEPT_RA=yes to /etc/sysconfig/network-scripts/ifcfg-eth0 and do "ifdown etc0 / ifup eth0" the results are:

$ sysctl net.ipv6.conf.eth0
net.ipv6.conf.eth0.accept_dad = 1
net.ipv6.conf.eth0.accept_ra = 1         <<-- RA's are enabled
net.ipv6.conf.eth0.accept_ra_defrtr = 1
net.ipv6.conf.eth0.accept_ra_pinfo = 1
net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.eth0.accept_ra_rtr_pref = 1
net.ipv6.conf.eth0.accept_redirects = 0
net.ipv6.conf.eth0.accept_source_route = 0
net.ipv6.conf.eth0.autoconf = 0         <<-- Autoconf is disabled
net.ipv6.conf.eth0.dad_transmits = 1
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.eth0.enhanced_dad = 1
net.ipv6.conf.eth0.force_mld_version = 0
net.ipv6.conf.eth0.force_tllao = 0
net.ipv6.conf.eth0.forwarding = 0
net.ipv6.conf.eth0.hop_limit = 64
net.ipv6.conf.eth0.keep_addr_on_down = 0
net.ipv6.conf.eth0.max_addresses = 16
net.ipv6.conf.eth0.max_desync_factor = 600
net.ipv6.conf.eth0.mc_forwarding = 0
net.ipv6.conf.eth0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.eth0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.eth0.mtu = 1450
net.ipv6.conf.eth0.ndisc_notify = 0
net.ipv6.conf.eth0.optimistic_dad = 0
net.ipv6.conf.eth0.proxy_ndp = 0
net.ipv6.conf.eth0.regen_max_retry = 3
net.ipv6.conf.eth0.router_probe_interval = 60
net.ipv6.conf.eth0.router_solicitation_delay = 1
net.ipv6.conf.eth0.router_solicitation_interval = 4
net.ipv6.conf.eth0.router_solicitations = 3
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
net.ipv6.conf.eth0.temp_prefered_lft = 86400
net.ipv6.conf.eth0.temp_valid_lft = 604800
net.ipv6.conf.eth0.use_optimistic = 0
net.ipv6.conf.eth0.use_tempaddr = 0

$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast state UP group default qlen 1000
    link/ether fa:16:3e:26:da:7e brd ff:ff:ff:ff:ff:ff
    inet6 fd12:3456:789a:1::1:14e/128 scope global dynamic 
       valid_lft 6995sec preferred_lft 6695sec
    inet6 fe80::f816:3eff:fe26:da7e/64 scope link 
       valid_lft forever preferred_lft forever


$ ip -6 route
unreachable ::/96 dev lo metric 1024 error -113 pref medium
unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium
unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium
unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium
unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium
unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium
unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium
unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium
unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium
fd12:3456:789a:1::1:14e dev eth0 proto kernel metric 256 expires 7022sec pref medium
fd12:3456:789a:1::/64 dev eth0 proto kernel metric 256 expires 86309sec pref medium   <<-- Route is added
fe80::/64 dev eth4 proto kernel metric 256 pref medium
fe80::/64 dev eth2 proto kernel metric 256 pref medium
fe80::/64 dev eth5 proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 pref medium
fe80::/64 dev eth3 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::f816:3eff:fef2:dd78 dev eth0 proto ra metric 1024 expires 1709sec hoplimit 64 pref medium

!! - Now that the route was added I can communicate with the instance !!!

(undercloud) [centos@undercloud ~]$ ping6 fd12:3456:789a:1::1:14e
PING fd12:3456:789a:1::1:14e(fd12:3456:789a:1::1:14e) 56 data bytes
64 bytes from fd12:3456:789a:1::1:14e: icmp_seq=1 ttl=64 time=0.554 ms
64 bytes from fd12:3456:789a:1::1:14e: icmp_seq=2 ttl=64 time=1.09 ms
64 bytes from fd12:3456:789a:1::1:14e: icmp_seq=3 ttl=64 time=0.472 ms
^C
--- fd12:3456:789a:1::1:14e ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.472/0.705/1.090/0.274 ms


Related bugs updstream:

https://bugs.centos.org/view.php?id=15833
https://bugs.launchpad.net/cloud-init/+bug/1806014 ## I've put these finds on this bug as well, and asked a question regarding a possible solution.
https://bugs.launchpad.net/cloud-init/+bug/1808647

Comment 4 Harald Jensås 2019-10-15 19:24:31 UTC
Proposed fix upstream: https://code.launchpad.net/~harald-jensas/cloud-init/+git/cloud-init/+merge/374138

Comment 7 Harald Jensås 2020-03-07 02:56:26 UTC
$ virt-customize -a  rhel-server-7.8-beta-1-x86_64-kvm.qcow2 --upload cloud-init-18.5-6.el7.eterrell202003061100.x86_64.rpm:/root --run-command "yum update -y /root/cloud-init-18.5-6.el7.eterrell202003061100.x86_64.rpm" --selinux-relabel
[   0.0] Examining the guest ...
[   6.4] Setting a random seed
[   6.4] Setting the machine ID in /etc/machine-id
[   6.4] Uploading: cloud-init-18.5-6.el7.eterrell202003061100.x86_64.rpm to /root
[   6.4] Running: yum update -y /root/cloud-init-18.5-6.el7.eterrell202003061100.x86_64.rpm
[  10.2] SELinux relabelling
[  23.9] Finishing off


stack@neutron-devstack:~$ openstack image create --disk-format qcow2 --file rhel-server-7.8-beta-1-x86_64-kvm.qcow2 rhel7-cloud-init-test

stack@neutron-devstack:~$ openstack server create --network private --key-name default --image rhel7-cloud-init-test --flavor m1.small --security-group default --config-drive True testserver
+-----------------------------+--------------------------------------------------------------+
| Field                       | Value                                                        |
+-----------------------------+--------------------------------------------------------------+
| OS-DCF:diskConfig           | MANUAL                                                       |
| OS-EXT-AZ:availability_zone |                                                              |
| OS-EXT-STS:power_state      | NOSTATE                                                      |
| OS-EXT-STS:task_state       | scheduling                                                   |
| OS-EXT-STS:vm_state         | building                                                     |
| OS-SRV-USG:launched_at      | None                                                         |
| OS-SRV-USG:terminated_at    | None                                                         |
| accessIPv4                  |                                                              |
| accessIPv6                  |                                                              |
| addresses                   |                                                              |
| adminPass                   | Q3mt3ubA8bzA                                                 |
| config_drive                | True                                                         |
| created                     | 2020-03-07T02:31:58Z                                         |
| flavor                      | m1.small (2)                                                 |
| hostId                      |                                                              |
| id                          | 0ada8813-90f6-49e6-9347-543415a492e6                         |
| image                       | rhel7-cloud-init-test (6b636bd1-589a-473c-8327-42cdda61cc50) |
| key_name                    | default                                                      |
| name                        | testserver                                                   |
| progress                    | 0                                                            |
| project_id                  | d5e30efc7c0e4d6d931285d64fafa44a                             |
| properties                  |                                                              |
| security_groups             | name='02762fd5-293b-42cd-aa86-550c3e4bcd99'                  |
| status                      | BUILD                                                        |
| updated                     | 2020-03-07T02:31:58Z                                         |
| user_id                     | 50b503f5d78f4ecda221828d818a79d7                             |
| volumes_attached            |                                                              |
+-----------------------------+--------------------------------------------------------------+
stack@neutron-devstack:~$ sudo journalctl -f -u devstack | grep dnsmasq-dhcp
Mar 07 02:32:00 neutron-devstack dnsmasq-dhcp[27062]: read /opt/stack/data/neutron/dhcp/8899d40f-045d-4d83-90ca-cd34087eca71/opts
Mar 07 02:32:32 neutron-devstack dnsmasq-dhcp[27062]: read /opt/stack/data/neutron/dhcp/8899d40f-045d-4d83-90ca-cd34087eca71/host
Mar 07 02:32:32 neutron-devstack dnsmasq-dhcp[27062]: read /opt/stack/data/neutron/dhcp/8899d40f-045d-4d83-90ca-cd34087eca71/opts
Mar 07 02:32:34 neutron-devstack dnsmasq-dhcp[27062]: read /opt/stack/data/neutron/dhcp/8899d40f-045d-4d83-90ca-cd34087eca71/host
Mar 07 02:32:34 neutron-devstack dnsmasq-dhcp[27062]: read /opt/stack/data/neutron/dhcp/8899d40f-045d-4d83-90ca-cd34087eca71/opts
Mar 07 02:34:11 neutron-devstack dnsmasq-dhcp[27062]: DHCPSOLICIT(tapdcb6a415-42) 00:04:d4:3f:46:a9:95:f0:07:c4:e2:bf:db:ef:f0:aa:be:01
Mar 07 02:34:11 neutron-devstack dnsmasq-dhcp[27062]: DHCPADVERTISE(tapdcb6a415-42) fdf7:911e:fe51::14 00:04:d4:3f:46:a9:95:f0:07:c4:e2:bf:db:ef:f0:aa:be:01 testserver
Mar 07 02:34:12 neutron-devstack dnsmasq-dhcp[27062]: DHCPREQUEST(tapdcb6a415-42) 00:04:d4:3f:46:a9:95:f0:07:c4:e2:bf:db:ef:f0:aa:be:01
Mar 07 02:34:12 neutron-devstack dnsmasq-dhcp[27062]: DHCPREPLY(tapdcb6a415-42) fdf7:911e:fe51::14 00:04:d4:3f:46:a9:95:f0:07:c4:e2:bf:db:ef:f0:aa:be:01 testserver

stack@neutron-devstack:~$ openstack server list
+--------------------------------------+------------+--------+----------------------------+-----------------------+----------+
| ID                                   | Name       | Status | Networks                   | Image                 | Flavor   |
+--------------------------------------+------------+--------+----------------------------+-----------------------+----------+
| 0ada8813-90f6-49e6-9347-543415a492e6 | testserver | ACTIVE | private=fdf7:911e:fe51::14 | rhel7-cloud-init-test | m1.small |
+--------------------------------------+------------+--------+----------------------------+-----------------------+----------+

stack@neutron-devstack:~$ ssh cloud-user@fdf7:911e:fe51::14
The authenticity of host 'fdf7:911e:fe51::14 (fdf7:911e:fe51::14)' can't be established.
ECDSA key fingerprint is SHA256:f1vdd/f8H1QF3rsb6twMn9wKWO8xzy6sfzVlj7HSMMA.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'fdf7:911e:fe51::14' (ECDSA) to the list of known hosts.

[cloud-user@testserver ~]$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast state UP group default qlen 1000
    link/ether fa:16:3e:8a:10:74 brd ff:ff:ff:ff:ff:ff
    inet6 fdf7:911e:fe51::14/128 scope global noprefixroute dynamic 
       valid_lft 7406sec preferred_lft 7106sec
    inet6 fe80::f816:3eff:fe8a:1074/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

[cloud-user@testserver ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE="eth0"
BOOTPROTO="dhcp"
BOOTPROTOv6="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="yes"
PEERDNS="yes"
IPV6INIT="yes"
PERSISTENT_DHCLIENT="1"


2020-03-07 02:34:09,167 - stages.py[INFO]: Applying network configuration from ds bringup=False: {'version': 1, 'config': [{'subnets': [{u'routes': [{u'netmask': u'::', u'network': u'::', u'gateway': u'fdf7:911e:fe51::'}], u'netmask': u'ffff:ffff:ffff:ffff::', u'type': u'ipv6_dhcpv6-stateful'}], 'name': 'eth0', 'mac_address': u'fa:16:3e:8a:10:74', u'mtu': 1450, u'type': 'physical', 'accept-ra': True}]}
2020-03-07 02:34:09,169 - __init__.py[DEBUG]: Selected renderer 'sysconfig' from priority list: None
2020-03-07 02:34:09,175 - util.py[WARNING]: failed stage init-local
2020-03-07 02:34:09,179 - util.py[DEBUG]: failed stage init-local
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 652, in status_wrapper
    ret = functor(name, args)
  File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 362, in main_init
    init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL))
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 672, in apply_network_config
    return self.distro.apply_network_config(netcfg, bring_up=bring_up)
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/__init__.py", line 178, in apply_network_config
    dev_names = self._write_network_config(netconfig)
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/rhel.py", line 65, in _write_network_config
    return self._supported_write_network_config(netconfig)
  File "/usr/lib/python2.7/site-packages/cloudinit/distros/__init__.py", line 93, in _supported_write_network_config
    renderer.render_network_config(network_config)
  File "/usr/lib/python2.7/site-packages/cloudinit/net/renderer.py", line 56, in render_network_config
    templates=templates, target=target)
  File "/usr/lib/python2.7/site-packages/cloudinit/net/sysconfig.py", line 663, in render_network_state
    templates=templates).items():
  File "/usr/lib/python2.7/site-packages/cloudinit/net/sysconfig.py", line 636, in _render_sysconfig
    cls._render_physical_interfaces(network_state, iface_contents)
  File "/usr/lib/python2.7/site-packages/cloudinit/net/sysconfig.py", line 494, in _render_physical_interfaces
    cls._render_subnets(iface_cfg, iface_subnets)
  File "/usr/lib/python2.7/site-packages/cloudinit/net/sysconfig.py", line 361, in _render_subnets
    iface_cfg.name))
ValueError: Unknown subnet type 'ipv6_dhcpv6-stateful' found for interface 'eth0'


*** RESULT: FAIL ***

Comment 16 laurenn james 2024-03-15 04:11:52 UTC Comment hidden (spam)

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