← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1306718] Re: Instances become undelete-able if vif unplugging fails

 

** Changed in: nova/icehouse
       Status: Fix Committed => Fix Released

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

Title:
  Instances become undelete-able if vif unplugging fails

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) icehouse series:
  Fix Released

Bug description:
  If an instance's vifs cannot be deleted (because, for example, they
  were never plugged in the first place), then compute manager will fail
  trying to delete the instance:

  
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 2154, in _shutdown_instance
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     block_device_info)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 956, in destroy
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     destroy_disks)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 992, in cleanup
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     self.unplug_vifs(instance, network_info)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 864, in unplug_vifs
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     self.vif_driver.unplug(instance, vif)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 783, in unplug
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     self.unplug_ovs(instance, vif)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 667, in unplug_ovs
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     self.unplug_ovs_hybrid(instance, vif)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 661, in unplug_ovs_hybrid
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     v2_name)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/network/linux_net.py", line 1317, in delete_ovs_vif_port
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     _ovs_vsctl(['del-port', bridge, dev])
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/network/linux_net.py", line 1302, in _ovs_vsctl
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher     raise exception.AgentError(method=full_args)
  2014-04-11 09:25:27.754 TRACE oslo.messaging.rpc.dispatcher AgentError: Error during following call to agent: ['ovs-vsctl', '--timeout=120', 'del-port', 'br-int', u'qvo81ce661d-1a']

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


References