← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1366098] [NEW] Nova does not handle unplugging failed ports well

 

Public bug reported:

Using the ml2 neutron plugin, if a port binding fails, the port
attribute vif_type is set to portbindings.VIF_TYPE_BINDING_FAILED.

After this happens, nova fails to unplug that port during cleanup,
raising a new exception in
nova.virt.libvirt.vif.LibvirtGenericVIFDriver.unplug. This exception
then hides the original failure.

A solution should be just defining a no-op unplug_binding_failed method
in that class, as nothing is to be done in that case anyway.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  Using the ml2 plugin, if a port binding fails, the port attribute
  vif_type is set to portbindings.VIF_TYPE_BINDING_FAILED.
  
  After this happens, nova fails to unplug that port during cleanup,
  raising a new exception in
- nova.virt.libvirt.vif.LibvirtVifGenericDriver.unplug. This exception
+ nova.virt.libvirt.vif.LibvirtGenericVIFDriver.unplug. This exception
  then hides the original failure.
  
  A solution should be just defining a no-op unplug_binding_failed method
  in that class, as nothing is to be done in that case anyway.

** Description changed:

- Using the ml2 plugin, if a port binding fails, the port attribute
- vif_type is set to portbindings.VIF_TYPE_BINDING_FAILED.
+ Using the ml2 neutron plugin, if a port binding fails, the port
+ attribute vif_type is set to portbindings.VIF_TYPE_BINDING_FAILED.
  
  After this happens, nova fails to unplug that port during cleanup,
  raising a new exception in
  nova.virt.libvirt.vif.LibvirtGenericVIFDriver.unplug. This exception
  then hides the original failure.
  
  A solution should be just defining a no-op unplug_binding_failed method
  in that class, as nothing is to be done in that case anyway.

-- 
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/1366098

Title:
  Nova does not handle unplugging failed ports well

Status in OpenStack Compute (Nova):
  New

Bug description:
  Using the ml2 neutron plugin, if a port binding fails, the port
  attribute vif_type is set to portbindings.VIF_TYPE_BINDING_FAILED.

  After this happens, nova fails to unplug that port during cleanup,
  raising a new exception in
  nova.virt.libvirt.vif.LibvirtGenericVIFDriver.unplug. This exception
  then hides the original failure.

  A solution should be just defining a no-op unplug_binding_failed
  method in that class, as nothing is to be done in that case anyway.

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


Follow ups

References