← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540271] [NEW] ha interface cleanup can leave orphans

 

Public bug reported:

The HA delete_router routine may leave behind stranded interfaces if it
fails to delete the HA ports because it deletes the router object before
removing the ports. This failure could be an issue in the loaded ML2
drivers, or it could simply be that the neutron server process was
killed before completing the deletion.

These orphaned interfaces are then difficult to delete via the API due
to their device_owner field.

https://github.com/openstack/neutron/blob/6bcacc114281b1017acae7e436a56b2da09f69f1/neutron/db/l3_hamode_db.py#L504-L512

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  ha interface cleanup can leave orphans

Status in neutron:
  New

Bug description:
  The HA delete_router routine may leave behind stranded interfaces if
  it fails to delete the HA ports because it deletes the router object
  before removing the ports. This failure could be an issue in the
  loaded ML2 drivers, or it could simply be that the neutron server
  process was killed before completing the deletion.

  These orphaned interfaces are then difficult to delete via the API due
  to their device_owner field.

  https://github.com/openstack/neutron/blob/6bcacc114281b1017acae7e436a56b2da09f69f1/neutron/db/l3_hamode_db.py#L504-L512

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


Follow ups