On Fedora we have a libvirt-guests service which saves running guests on shutdown
If I reboot a compute node, the guest gets saved and then I try and terminate it, I get:
(nova.exception): TRACE: File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 502, in terminate_instance
(nova.exception): TRACE: self._shutdown_instance(context, instance_id, 'Terminating')
(nova.exception): TRACE: File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 493, in _shutdown_instance
(nova.exception): TRACE: self.driver.destroy(instance, network_info)
(nova.exception): TRACE: File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/connection.py", line 293, in destroy
(nova.exception): TRACE: virt_dom.undefine()
(nova.exception): TRACE: File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1197, in undefine
(nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainUndefine() failed', dom=self)
(nova.exception): TRACE: libvirtError: Requested operation is not valid: Refusing to undefine while domain managed save image exists
If this happens, Nova could do a virDomainManagedSaveRemove()
For now, we can just recommend disabling libvirt-guests
Related to this bug
Nice one Derek
The fix was merged into master, will get it into stable branch soon
Will be fixed in 2011.3.1
openstack-nova-2011.3.1-0.4.10818.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openstack-nova-2011.3.1-0.4.10818.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
openstack-nova-2011.3.1-0.4.10818.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.