← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1521820] [NEW] Some DVR functional tests leak the FIP namespace

 

Public bug reported:

The FIP namespace is deleted when the agent receives an RPC message
'fipnamespace_delete_on_ext_net'
(https://review.openstack.org/#/c/230079/). This is simulated in some
DVR tests (Thus cleaning up the namespace), but not all. All of the DVR
'lifecycle' tests execute _dvr_router_lifecycle, which in turn executes
_assert_fip_namespace_deleted, that calls
agent.fipnamespace_delete_on_ext_net and asserts it succeeded. Any test
that creates a distributed router that is not a 'lifecycle' test does
not clean up the FIP namespace, this includes:

* test_dvr_router_fips_for_multiple_ext_networks
* test_dvr_router_rem_fips_on_restarted_agent
* test_dvr_router_add_fips_on_restarted_agent
* test_dvr_router_add_internal_network_set_arp_cache
* test_dvr_router_fip_agent_mismatch
* test_dvr_router_fip_late_binding
* test_dvr_router_snat_namespace_with_interface_remove
* test_dvr_ha_router_failover

** Affects: neutron
     Importance: Low
         Status: New


** Tags: functional-tests l3-dvr-backlog

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

Title:
  Some DVR functional tests leak the FIP namespace

Status in neutron:
  New

Bug description:
  The FIP namespace is deleted when the agent receives an RPC message
  'fipnamespace_delete_on_ext_net'
  (https://review.openstack.org/#/c/230079/). This is simulated in some
  DVR tests (Thus cleaning up the namespace), but not all. All of the
  DVR 'lifecycle' tests execute _dvr_router_lifecycle, which in turn
  executes _assert_fip_namespace_deleted, that calls
  agent.fipnamespace_delete_on_ext_net and asserts it succeeded. Any
  test that creates a distributed router that is not a 'lifecycle' test
  does not clean up the FIP namespace, this includes:

  * test_dvr_router_fips_for_multiple_ext_networks
  * test_dvr_router_rem_fips_on_restarted_agent
  * test_dvr_router_add_fips_on_restarted_agent
  * test_dvr_router_add_internal_network_set_arp_cache
  * test_dvr_router_fip_agent_mismatch
  * test_dvr_router_fip_late_binding
  * test_dvr_router_snat_namespace_with_interface_remove
  * test_dvr_ha_router_failover

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


Follow ups