← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1432465] [NEW] nova detach interface will get inconsistent if hypervisor failed to detach a port

 

Public bug reported:

    Currently, in compute api, detach_interface will delete neutron port
    first then calls hypervisor driver to do detach_interface on the guest.
    If the driver does detach_interface failed, in case of the driver raise
    an exception.InterfaceDetachFailed or other NovaExcptions, there is no
   handler for them. Besides this is an asyn rpc call, so nova-api will not
    notice this exception. End user will find the port has been deleted
    in neutron side, but guest still can see this port on guest, this is
    inconsistent.

** Affects: nova
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Eli Qiao (taget-9)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1432465

Title:
  nova detach interface will get inconsistent if hypervisor failed to
  detach a port

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
      Currently, in compute api, detach_interface will delete neutron port
      first then calls hypervisor driver to do detach_interface on the guest.
      If the driver does detach_interface failed, in case of the driver raise
      an exception.InterfaceDetachFailed or other NovaExcptions, there is no
     handler for them. Besides this is an asyn rpc call, so nova-api will not
      notice this exception. End user will find the port has been deleted
      in neutron side, but guest still can see this port on guest, this is
      inconsistent.

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


Follow ups

References