[libvirt] "virsh destroy" deletes extra VMs
Shi Jin
jinzishuai at yahoo.com
Wed Sep 30 19:15:04 UTC 2009
Thanks a lot.
I just upgraded my ubuntu 9.04 server to 9.10 alpha 6 so that the libvirt is upgraded from 0.6.1 to 0.7.0 and the problem is gone.
--
Shi Jin, PhD
--- On Wed, 9/30/09, Mark McLoughlin <markmc at redhat.com> wrote:
> From: Mark McLoughlin <markmc at redhat.com>
> Subject: Re: [libvirt] "virsh destroy" deletes extra VMs
> To: "Shi Jin" <jinzishuai at yahoo.com>
> Cc: libvir-list at redhat.com, jinzishuai at gmail.com
> Date: Wednesday, September 30, 2009, 10:42 AM
> On Wed, 2009-09-30 at 09:34 -0700,
> Shi Jin wrote:
> > Hi there,
> >
> > I am running Ubuntu 9.04 X64 server with KVM/libvirt.
> I recently found
> > that the "virsh destroy" command actually delete VMs
> it should not
> > delete.
> > For example, please see the following screen copy:
> > root at node1:/srv/cloud/ImgRep/WinXP# virsh list
> > Connecting to uri: qemu:///system
> > Id Name
> State
> > ----------------------------------
> > 27 one-80
> running
> > 28 one-81
> running
> > 29 one-83
> running
> > 30 one-82
> running
> > 31 one-79
> running
> >
> > root at node1:/srv/cloud/ImgRep/WinXP# virsh destroy 29
> > Connecting to uri: qemu:///system
> > Domain 29 destroyed
> >
> > root at node1:/srv/cloud/ImgRep/WinXP# virsh list
> > Connecting to uri: qemu:///system
> > Id Name
> State
> > ----------------------------------
> > 27 one-80
> running
> > 28 one-81
> running
> > 31 one-79
> running
> >
> > Please note that VM 30 was deleted when we tried
> to delete VM 29.
> ...
> > root at node1:/srv/cloud/ImgRep/WinXP# virsh --version
> > Connecting to uri: qemu:///system
> > 0.6.1
>
> 0.6.1 is quite old. I think the issue is fixed by:
>
> http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0a31be6ba
>
> Cheers,
> Mark.
>
>
More information about the libvir-list
mailing list