Red Hat Bugzilla – Bug 837542
[regression]can't undefine guest after guest saved.
Last modified: 2013-09-08 20:03:37 EDT
Description of problem:
can't undefine guest after guest saved.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1, define and start a normal guest
2, #virsh save guest /tmp/guest.save
3, #virsh restore /tmp/aaa
4, #virsh destroy aaa
5, #virsh undefine aaa
error: Refusing to undefine while domain managed save image exists
6, # ls /var/lib/libvirt/qemu/save/ ---> no managed save image.
Can't undefine guest after guest saved.
if you start guest after save it, it can be undefined.
The machines are marked as having managed save image even on non-managed save. Fix sent for review upstream:
Fixed upstream, moving to POST:
Author: Peter Krempa <email@example.com>
Date: Wed Jul 4 10:19:45 2012 +0200
qemu: Mark domains as having managed state image only on managed save
test it with libvirt-0.10.0-0rc0.el6, and this bug is verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.