Public bug reported: 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'] ** Affects: nova Importance: High Assignee: Dan Smith (danms) Status: Confirmed -- 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): Confirmed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp