← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223902] Re: Nicira plugin: dissasociate floating IP does not dissassociate router

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  Nicira plugin: dissasociate floating IP does not dissassociate router

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  As a consequence, it is not possible to clear the gateway for the
  router where the floating IP was attached, as shown below.

  A workaround would be to associate the floating IP to a different
  'blackhole' router, but, because of the same bug, this would cause IPs
  to not be handled correctly on NVP lrouters, thus resulting on the
  same IP being configured on multiple lrouters.

  
  nicira@Ubuntu1204Server:~/devstack$ neutron router-list
  \+--------------------------------------+---------+-----------------------------------------------------------------------------+
  | id                                   | name    | external_gateway_info                                                       |
  +--------------------------------------+---------+-----------------------------------------------------------------------------+
  | 5021f6ad-a600-4d60-94a5-f5860e84d20a | router2 | {"network_id": "cf66d525-6292-453e-b1ed-f84c30957549", "enable_snat": true} |
  | bbbd289b-eb3b-477f-ba8c-435700f88147 | router1 | {"network_id": "cf66d525-6292-453e-b1ed-f84c30957549", "enable_snat": true} |
  +--------------------------------------+---------+-----------------------------------------------------------------------------+
  nicira@Ubuntu1204Server:~/devstack$ neutron floatingip-list
  +--------------------------------------+------------------+---------------------+--------------------------------------+
  | id                                   | fixed_ip_address | floating_ip_address | port_id                              |
  +--------------------------------------+------------------+---------------------+--------------------------------------+
  | 9ce0ab4c-298a-44bf-ad82-23fbfda596d5 | 10.0.10.3        | 172.24.4.227        | 4cfba62a-0841-4fbd-960d-7a6129d16b28 |
  +--------------------------------------+------------------+---------------------+--------------------------------------+
  nicira@Ubuntu1204Server:~/devstack$ neutron floatingip-show 9ce0ab4c-298a-44bf-ad82-23fbfda596d5
  +---------------------+--------------------------------------+
  | Field               | Value                                |
  +---------------------+--------------------------------------+
  | fixed_ip_address    | 10.0.10.3                            |
  | floating_ip_address | 172.24.4.227                         |
  | floating_network_id | cf66d525-6292-453e-b1ed-f84c30957549 |
  | id                  | 9ce0ab4c-298a-44bf-ad82-23fbfda596d5 |
  | port_id             | 4cfba62a-0841-4fbd-960d-7a6129d16b28 |
  | router_id           | bbbd289b-eb3b-477f-ba8c-435700f88147 |
  | tenant_id           | 8731a739d73e4c41a0315d532bf322f0     |
  +---------------------+--------------------------------------+
  nicira@Ubuntu1204Server:~/devstack$ neutron floatingip-disassociate 9ce0ab4c-298a-44bf-ad82-23fbfda596d5
  Disassociated floatingip 9ce0ab4c-298a-44bf-ad82-23fbfda596d5
  nicira@Ubuntu1204Server:~/devstack$ neutron floatingip-show 9ce0ab4c-298a-44bf-ad82-23fbfda596d5
  +---------------------+--------------------------------------+
  | Field               | Value                                |
  +---------------------+--------------------------------------+
  | fixed_ip_address    |                                      |
  | floating_ip_address | 172.24.4.227                         |
  | floating_network_id | cf66d525-6292-453e-b1ed-f84c30957549 |
  | id                  | 9ce0ab4c-298a-44bf-ad82-23fbfda596d5 |
  | port_id             |                                      |
  | router_id           | bbbd289b-eb3b-477f-ba8c-435700f88147 |
  | tenant_id           | 8731a739d73e4c41a0315d532bf322f0     |
  +---------------------+--------------------------------------+
  nicira@Ubuntu1204Server:~/devstack$ neutron router-gateway-clear router1
  Gateway cannot be updated for router bbbd289b-eb3b-477f-ba8c-435700f88147, since a gateway to external network cf66d525-6292-453e-b1ed-f84c30957549 is required by one or more floating IPs.

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