Secondary IPv6 subnet never gets configured in router
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Brian Haley |
Bug Description
I brought up a devstack recently, which creates both internal IPv4 and IPv6 subnets on a single network. To test a bug fix I wanted to add a secondary IPv6 subnet on the network, so using Horizon I did that (since a subnetpool was already configured), such that:
$ neutron net-list --field name --field subnets
+------
| name | subnets |
+------
| public | 32df3f47-
| | ca7291e9-
| private | ecaa0a78-
| | afa2f586-
| | dd467ff5-
+------
The 2001:db8:
It's not in the namespace or radvd.conf file, so VMs don't autoconfigure it.
$ sudo ip netns exec qrouter-
1: lo: <LOOPBACK,
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
46: qr-7f0792c8-39: <BROADCAST,
link/ether fa:16:3e:73:90:28 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-7f0792c8-39
valid_lft forever preferred_lft forever
inet6 fe80::f816:
valid_lft forever preferred_lft forever
49: qr-936fd0dc-71: <BROADCAST,
link/ether fa:16:3e:ed:78:be brd ff:ff:ff:ff:ff:ff
inet6 2001:db8:8000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::f816:
valid_lft forever preferred_lft forever
And here's the two subnet's info, which seems pretty identical except for the prefix:
$ neutron subnet-show ipv6-private-subnet
+------
| Field | Value |
+------
| allocation_pools | {"start": "2001:db8:8000::2", "end": "2001:db8:
| cidr | 2001:db8:8000::/64 |
| created_at | 2016-10-
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 2001:db8:8000::1 |
| host_routes | |
| id | afa2f586-
| ip_version | 6 |
| ipv6_address_mode | slaac |
| ipv6_ra_mode | slaac |
| name | ipv6-private-subnet |
| network_id | f6b05fa1-
| project_id | df427083b46c400
| revision_number | 2 |
| service_types | |
| subnetpool_id | 79e46698-
| tenant_id | df427083b46c400
| updated_at | 2016-10-
+------
$ neutron subnet-show ipv6-subnet-2
+------
| Field | Value |
+------
| allocation_pools | {"start": "2001:db8:
| cidr | 2001:db8:
| created_at | 2016-10-
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 2001:db8:8000:1::1 |
| host_routes | |
| id | ecaa0a78-
| ip_version | 6 |
| ipv6_address_mode | slaac |
| ipv6_ra_mode | slaac |
| name | ipv6-subnet-2 |
| network_id | f6b05fa1-
| project_id | df427083b46c400
| revision_number | 2 |
| service_types | |
| subnetpool_id | 79e46698-
| tenant_id | df427083b46c400
| updated_at | 2016-10-
+------
Changed in neutron: | |
importance: | High → Undecided |
Doh, I'm an idiot, john-davidge pointed out I forgot to add the router interface to this subnet, I should know better :)