← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1810349] [NEW] agent gw ports created on non dvr destination hosts

 

Public bug reported:

When a VM is migrated between nodes, and due to the l3 dvr scheduler,
floatingip agent gateway ports are created in non-DVR cases. The
'dvr_handle_new_service_port' method in the 'l3_dvrscheduler_db' module
calls 'check_for_fip_and_create_agent_gw_port_on_host_if_not_exist'
method in 'l3_dvr_db' module and an agent gateway port is created for
the agent at the destination host with or without a DVR enabled router
on the destination host.

This is an optimization for cases with a DVR enabled router on the
destination host since the agent would do it instead.

For cases where the router is not DVR enabled, the unused gateway port
will have nothing to delete it even if all the router attachments to the
external network are deleted.

The proposed fix creates the agent gw port only if the FIP associated to
the VM port is being serviced by a DVR enabled router.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  agent gw ports created on non dvr destination hosts

Status in neutron:
  New

Bug description:
  When a VM is migrated between nodes, and due to the l3 dvr scheduler,
  floatingip agent gateway ports are created in non-DVR cases. The
  'dvr_handle_new_service_port' method in the 'l3_dvrscheduler_db'
  module calls
  'check_for_fip_and_create_agent_gw_port_on_host_if_not_exist' method
  in 'l3_dvr_db' module and an agent gateway port is created for the
  agent at the destination host with or without a DVR enabled router on
  the destination host.

  This is an optimization for cases with a DVR enabled router on the
  destination host since the agent would do it instead.

  For cases where the router is not DVR enabled, the unused gateway port
  will have nothing to delete it even if all the router attachments to
  the external network are deleted.

  The proposed fix creates the agent gw port only if the FIP associated
  to the VM port is being serviced by a DVR enabled router.

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


Follow ups