yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42717
[Bug 1501969] Re: No dhcp IPv6 assigned (slaac/slaac) with interface-add after VM boot
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1501969
Title:
No dhcp IPv6 assigned (slaac/slaac) with interface-add after VM boot
Status in neutron:
Fix Released
Bug description:
Instance does not get IP from dhcp ipv6 subnet (slaac/slaac) with DVR,
when router interface is added after VM creation.
Instance does get IP when it is booted after interface to the subnet has already been added to the DVR.
This ordering issue is not observed with centralized router.
Easy to recreate.
On compute:
----------------------
NOT getting IP, when router interface is added after VM has been created:
$ ifconfig
eth0 Link encap:Ethernet HWaddr FA:16:3E:9C:15:B7
inet6 addr: fe80::f816:3eff:fe9c:15b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1116 (1.0 KiB) TX bytes:1138 (1.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)
Gets IP when router interface is added before VM is booted.
$
$ ifconfig
eth0 Link encap:Ethernet HWaddr FA:16:3E:9C:15:B7
inet6 addr: 4001:db8::f816:3eff:fe9c:15b7/64 Scope:Global
inet6 addr: fe80::f816:3eff:fe9c:15b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1226 (1.1 KiB) TX bytes:1138 (1.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)
$
Subnet:
stack@osctrlr:~/devstack$ neutron subnet-show ipv62s1
+-------------------+------------------------------------------------------------------+
| Field | Value |
+-------------------+------------------------------------------------------------------+
| allocation_pools | {"start": "4001:db8::2", "end": "4001:db8::ffff:ffff:ffff:ffff"} |
| cidr | 4001:db8::/64 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 4001:db8::1 |
| host_routes | |
| id | 2b24b126-f618-4daa-a3a8-24ea8720a0db |
| ip_version | 6 |
| ipv6_address_mode | slaac |
| ipv6_ra_mode | slaac |
| name | ipv62s1 |
| network_id | d9a71eed-0768-46b7-be0e-74664211f28b |
| subnetpool_id | |
| tenant_id | 9fbdd2326fe34e949ece2bef8c8f8c8c |
+-------------------+------------------------------------------------------------------+
stack@osctrlr:~/devstack$
Router:
stack@osctrlr:~/devstack$ neutron router-show dvr
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| admin_state_up | True |
| distributed | True |
| external_gateway_info | |
| ha | False |
| id | 3512b48b-a1a8-4923-9a4b-0720dfd71baf |
| name | dvr |
| routes | |
| status | ACTIVE |
| tenant_id | 9fbdd2326fe34e949ece2bef8c8f8c8c |
+-----------------------+--------------------------------------+
stack@osctrlr:~/devstack$
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1501969/+subscriptions
References