Bug 500089

Summary: libvirtd kills unrelated VM upon VM save
Product: Red Hat Enterprise Linux 5 Reporter: Matthew Farrellee <matt>
Component: libvirtAssignee: Daniel Berrangé <berrange>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: low    
Version: 5.4CC: virt-maint, xen-maint
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-11 12:48:48 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:

Description Matthew Farrellee 2009-05-10 21:25:06 UTC
Description of problem:

# virsh create test-0.xml 
Domain test-0-RHEL5 created from test-0.xml

# virsh create test-1.xml 
Domain test-1-RHEL5 created from test-1.xml

# virsh list --all
 Id Name                 State
----------------------------------
  9 test-0-RHEL5         running
 10 test-1-RHEL5         running

# virsh save test-0-RHEL5 /tmp/libvirt-lose-bug/test-0.ckpt
Domain test-0-RHEL5 saved to /tmp/libvirt-lose-bug/test-0.ckpt

# virsh list --all
 Id Name                 State
----------------------------------

# virsh restore /tmp/libvirt-lose-bug/test-0.ckpt
Domain restored from /tmp/libvirt-lose-bug/test-0.ckpt

# virsh list --all
 Id Name                 State
----------------------------------
 11 test-0-RHEL5         running


Version-Release number of selected component (if applicable):

libvirt-0.6.2-1.el5


How reproducible:

Highly

Comment 1 Daniel Berrangé 2009-05-11 09:57:35 UTC
This isn't a bug. virsh create  starts a transient guest which, by definition, disappear after they stop running. If you want it to still be visible after it shuts down, then use 'virsh define' followed by 'virsh start' to create  a persistent guest.

Comment 2 Matthew Farrellee 2009-05-11 12:38:06 UTC
The VM images here should never stop running without intervention. The act of saving one is stopping the other.

Were you not able to reproduce?

Comment 3 Daniel Berrangé 2009-05-11 12:48:24 UTC
Oh, the bug subject is misleading.

Comment 4 Daniel Berrangé 2009-05-11 12:48:48 UTC

*** This bug has been marked as a duplicate of bug 499698 ***

Comment 5 Daniel Berrangé 2009-05-11 13:09:31 UTC

*** This bug has been marked as a duplicate of bug 500158 ***