No dhcp IPv6 assigned (slaac/slaac) with interface-add after VM boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
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:
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
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
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:
inet6 addr: fe80::f816:
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
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
RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)
$
Subnet:
stack@osctrlr:
+------
| Field | Value |
+------
| allocation_pools | {"start": "4001:db8::2", "end": "4001:db8:
| cidr | 4001:db8::/64 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 4001:db8::1 |
| host_routes | |
| id | 2b24b126-
| ip_version | 6 |
| ipv6_address_mode | slaac |
| ipv6_ra_mode | slaac |
| name | ipv62s1 |
| network_id | d9a71eed-
| subnetpool_id | |
| tenant_id | 9fbdd2326fe34e9
+------
stack@osctrlr:
Router:
stack@osctrlr:
+------
| Field | Value |
+------
| admin_state_up | True |
| distributed | True |
| external_
| ha | False |
| id | 3512b48b-
| name | dvr |
| routes | |
| status | ACTIVE |
| tenant_id | 9fbdd2326fe34e9
+------
stack@osctrlr:
tags: | added: ipv6 |
Changed in neutron: | |
assignee: | Swaminathan Vasudevan (swaminathan-vasudevan) → Brian Haley (brian-haley) |
tags: | added: kilo-backport-potential |
tags: | added: liberty-backport-potential |
tags: | removed: kilo-backport-potential |
tags: | removed: liberty-backport-potential |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
@Swami can you triage this one, please?