← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363037] [NEW] neutron allows creating IPV6 floating ip

 

Public bug reported:

Despite of https://bugs.launchpad.net/neutron/+bug/1323766, neutron creates floating IPV6 and associates
it to the tenant network IPV6.

To reproduce:
neutron floatingip-list
+--------------------------------------+------------------+---------------------+---------+
| id                                   | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+---------+
| ba8f4339-dbb2-4678-a111-1e2d7f63a0b9 |                  | 2005::3             |         |
+--------------------------------------+------------------+---------------------+---------+
797:devstack> neutron port-list
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                                        |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
| 0bcd1967-e462-4947-a9b3-3b0e1bb159f8 |      | fa:16:3e:93:29:ba | {"subnet_id": "9a5a6e03-255f-42db-8b56-955d50ec973b", "ip_address": "2005::2"}                   |
| 1f7eaac2-c5e6-481a-b98e-ace276fa581a |      | fa:16:3e:aa:20:db | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::2"}                   |
| 713f57e8-df16-49bf-97fd-b41bd505de10 |      | fa:16:3e:40:78:2e | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::1"}                   |
| d57165ea-f0a8-4d13-9fbf-5a2872887b38 |      | fa:16:3e:c9:b6:df | {"subnet_id": "9a5a6e03-255f-42db-8b56-955d50ec973b", "ip_address": "2005::3"}                   |
| d6c391f1-c199-4846-aebd-a948877f7f57 |      | fa:16:3e:d4:1f:b4 | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::f816:3eff:fed4:1fb4"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
798:devstack> neutron floatingip-associate ba8f4339-dbb2-4678-a111-1e2d7f63a0b9 d6c391f1-c199-4846-aebd-a948877f7f57
Associated floating IP ba8f4339-dbb2-4678-a111-1e2d7f63a0b9

Expected behavior:  fail association and print the error message

Moreover,  it's possible to create floating IPv4 and associate it to
tenant IPV6

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ipv6

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1363037

Title:
  neutron allows creating IPV6 floating ip

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Despite of https://bugs.launchpad.net/neutron/+bug/1323766, neutron creates floating IPV6 and associates
  it to the tenant network IPV6.

  To reproduce:
  neutron floatingip-list
  +--------------------------------------+------------------+---------------------+---------+
  | id                                   | fixed_ip_address | floating_ip_address | port_id |
  +--------------------------------------+------------------+---------------------+---------+
  | ba8f4339-dbb2-4678-a111-1e2d7f63a0b9 |                  | 2005::3             |         |
  +--------------------------------------+------------------+---------------------+---------+
  797:devstack> neutron port-list
  +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
  | id                                   | name | mac_address       | fixed_ips                                                                                        |
  +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
  | 0bcd1967-e462-4947-a9b3-3b0e1bb159f8 |      | fa:16:3e:93:29:ba | {"subnet_id": "9a5a6e03-255f-42db-8b56-955d50ec973b", "ip_address": "2005::2"}                   |
  | 1f7eaac2-c5e6-481a-b98e-ace276fa581a |      | fa:16:3e:aa:20:db | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::2"}                   |
  | 713f57e8-df16-49bf-97fd-b41bd505de10 |      | fa:16:3e:40:78:2e | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::1"}                   |
  | d57165ea-f0a8-4d13-9fbf-5a2872887b38 |      | fa:16:3e:c9:b6:df | {"subnet_id": "9a5a6e03-255f-42db-8b56-955d50ec973b", "ip_address": "2005::3"}                   |
  | d6c391f1-c199-4846-aebd-a948877f7f57 |      | fa:16:3e:d4:1f:b4 | {"subnet_id": "62f2f8e9-e997-47e1-b5c6-5fa888b270e9", "ip_address": "feee::f816:3eff:fed4:1fb4"} |
  +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------------------+
  798:devstack> neutron floatingip-associate ba8f4339-dbb2-4678-a111-1e2d7f63a0b9 d6c391f1-c199-4846-aebd-a948877f7f57
  Associated floating IP ba8f4339-dbb2-4678-a111-1e2d7f63a0b9

  Expected behavior:  fail association and print the error message

  Moreover,  it's possible to create floating IPv4 and associate it to
  tenant IPV6

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1363037/+subscriptions


Follow ups

References