yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19549
[Bug 1358297] Re: Port doesn't receive IP SLAAC in subnets with Router advertisements without dnsmasq
@Sergey - that table in that spec you linked, the description is inaccurate. Having ipv6_address_mode unset means that you have some *external* IPAM system that OpenStack does not know about, that is assigning addresses to ports/instances.
** Changed in: neutron
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1358297
Title:
Port doesn't receive IP SLAAC in subnets with Router advertisements
without dnsmasq
Status in OpenStack Neutron (virtual network service):
New
Bug description:
When creating network and subnet of IPv6 with arguments: --ipv6-ra-
mode=slaac or --ipv6-ra-mode=dhcp-stateless and without
ipv6_address_mode set, the created port doesn't receive SLLAC IPv6
address, but one of fixed IPs.
For example:
Let's create network and subnet:
~$ neutron net-create net12
Created a new network:
...
~$ neutron subnet-create --name=subnet-net12 --ipv6-ra-mode=slaac --ip-version=6 net12 2004::/64
+-------------------+----------------------------------------------------------+
| Field | Value |
+-------------------+----------------------------------------------------------+
| allocation_pools | {"start": "2004::2", "end": "2004::ffff:ffff:ffff:fffe"} |
| cidr | 2004::/64 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 2004::1 |
| host_routes | |
| id | 81287be4-0d5a-4185-bdb4-4f3bcc6a0bdc |
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | slaac |
| name | subnet-net12 |
...
~$ neutron router-create router1
Created a new router:
...
~$ neutron router-interface-add 2ca34fba-258f-4395-95b0-4fe32e4f19b7 81287be4-0d5a-4185-bdb4-4f3bcc6a0bdc
Added interface af8ac8d5-9461-4998-b561-007e3646f53f to router 2ca34fba-258f-4395-95b0-4fe32e4f19b7.
Now should be Router Advertisements in the network which should propagate /64 subnet mask for all hosts.
Created port now should receive SLAAC address and mask from RAs. But:
localadmin@devstack-server:~$ neutron port-create net12
Created a new port:
+-----------------------+--------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "81287be4-0d5a-4185-bdb4-4f3bcc6a0bdc", "ip_address": "2004::2"} |
| id | 956d0c15-8ba4-473d-9674-a74d4cf19a47 |
| mac_address | fa:16:3e:4b:14:2b |
| name | |
| network_id | b9bfb75a-8908-4fbf-a771-74ec345a0ee4 |
| security_groups | 5c0d2c99-65a4-497c-a5c4-3cb241f669f4 |
| status | DOWN |
| tenant_id | 74267b5732114ca1a11b7e2849156363 |
+-----------------------+--------------------------------------------------------------------------------+
Port receives IP from defualt fixed IP range, it means SLAAC doesn't work.
The same thing with ra_mode=dhcpv6-stateless and add_mode=None.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1358297/+subscriptions
References