Re: [libvirt] "virsh destroy" deletes extra VMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:

> From: Mark McLoughlin <markmc@xxxxxxxxxx>
> Subject: Re: [libvirt] "virsh destroy" deletes extra VMs
> To: "Shi Jin" <jinzishuai@xxxxxxxxx>
> Cc: libvir-list@xxxxxxxxxx, jinzishuai@xxxxxxxxx
> 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@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@node1:/srv/cloud/ImgRep/WinXP# virsh destroy 29
> > Connecting to uri: qemu:///system
> > Domain 29 destroyed
> > 
> > root@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@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.
> 
> 


      

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]