Bug 740456
| Summary: | Cannot terminate instance after compute node reboot | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mark McLoughlin <markmc> |
| Component: | openstack-nova | Assignee: | Mark McLoughlin <markmc> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | alexander.sakhnov, asalkeld, higginsd, markmc, matt_domsch, mlvov |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2011.3.1-0.4.10818.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-19 22:02:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Related to this bug https://bugs.launchpad.net/nova/+bug/814561 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. https://admin.fedoraproject.org/updates/openstack-nova-2011.3.1-0.4.10818.fc16 Package openstack-nova-2011.3.1-0.4.10818.fc16: * 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: https://admin.fedoraproject.org/updates/FEDORA-2012-0682/openstack-nova-2011.3.1-0.4.10818.fc16 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. |
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 (nova.exception): TRACE: If this happens, Nova could do a virDomainManagedSaveRemove() For now, we can just recommend disabling libvirt-guests