yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21952
[Bug 1372481] [NEW] Neutron doesn't allocate IP to subnet IPv6 stateless when it's combined with others subnets
Public bug reported:
Create network and 4 subnets in it - IPv4 subnet, IPv6 with all kinds of attributes - DHCP stateless, DHCP stateful, DHCP SLAAC.
Create port in this network. It gets IPs only from 3 networks. It should get IP from all 4 subnets.
Scenario:
neutron net-create netto
neutron subnet-create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac netto 2001::/64
neutron subnet-create --ip-version 6 --ipv6-ra-mode dhcpv6-stateless --ipv6-address-mode dhcpv6-stateless netto 2002::/64
neutron subnet-create --ip-version 6 --ipv6-ra-mode dhcpv6-stateful --ipv6-address-mode dhcpv6-stateful netto 2003::/64
neutron subnet-create --ip-version 4 netto 10.10.22.0/24
neutron port-create netto
Created a new port:
+-----------------------+--------------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "fa92a20f-293a-4d19-8c29-a60672d7c1dc", "ip_address": "10.10.22.4"} |
| | {"subnet_id": "5d7c5d19-7b00-4bdf-bf2f-7a97fd13e3a6", "ip_address": "2001::4"} |
| | {"subnet_id": "432eacfc-1caf-46ca-bcba-7e02cfe08230", "ip_address": "2002::f816:3eff:fe55:74ea"} |
| id | b9458192-ac4c-411c-8cd6-95d0ce9bcc28 |
| mac_address | fa:16:3e:55:74:ea |
| name | |
| network_id | 2281cb8c-e361-47f0-926c-ce97ec10c68d |
| security_groups | c302e009-2a37-4e92-8606-97fe2c3c1076 |
| status | DOWN |
| tenant_id | 7c497a5f3afc4e6baa70c962e2958f3a |
+-----------------------+--------------------------------------------------------------------------------------------------+
As you see only 3 IPs are allocated
Logs of neutron services during are attached.
** Affects: neutron
Importance: Undecided
Status: New
** Tags: ipv6
** Attachment added: "neutron.log"
https://bugs.launchpad.net/bugs/1372481/+attachment/4211502/+files/neutron.log
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1372481
Title:
Neutron doesn't allocate IP to subnet IPv6 stateless when it's
combined with others subnets
Status in OpenStack Neutron (virtual network service):
New
Bug description:
Create network and 4 subnets in it - IPv4 subnet, IPv6 with all kinds of attributes - DHCP stateless, DHCP stateful, DHCP SLAAC.
Create port in this network. It gets IPs only from 3 networks. It should get IP from all 4 subnets.
Scenario:
neutron net-create netto
neutron subnet-create --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac netto 2001::/64
neutron subnet-create --ip-version 6 --ipv6-ra-mode dhcpv6-stateless --ipv6-address-mode dhcpv6-stateless netto 2002::/64
neutron subnet-create --ip-version 6 --ipv6-ra-mode dhcpv6-stateful --ipv6-address-mode dhcpv6-stateful netto 2003::/64
neutron subnet-create --ip-version 4 netto 10.10.22.0/24
neutron port-create netto
Created a new port:
+-----------------------+--------------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "fa92a20f-293a-4d19-8c29-a60672d7c1dc", "ip_address": "10.10.22.4"} |
| | {"subnet_id": "5d7c5d19-7b00-4bdf-bf2f-7a97fd13e3a6", "ip_address": "2001::4"} |
| | {"subnet_id": "432eacfc-1caf-46ca-bcba-7e02cfe08230", "ip_address": "2002::f816:3eff:fe55:74ea"} |
| id | b9458192-ac4c-411c-8cd6-95d0ce9bcc28 |
| mac_address | fa:16:3e:55:74:ea |
| name | |
| network_id | 2281cb8c-e361-47f0-926c-ce97ec10c68d |
| security_groups | c302e009-2a37-4e92-8606-97fe2c3c1076 |
| status | DOWN |
| tenant_id | 7c497a5f3afc4e6baa70c962e2958f3a |
+-----------------------+--------------------------------------------------------------------------------------------------+
As you see only 3 IPs are allocated
Logs of neutron services during are attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1372481/+subscriptions
Follow ups
References