Re: VM destroy faiing in 1.0.1

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

 



Hi Chandrashekhar,

If you are looking to totally wipe out a domain (virtual machine) from your host you are looking for the undefined which is the opposite of defining a domain. The destroy command is like a hard power off of the domain.

 

[root@bv13-07 ~]# virsh help undefine

  NAME

    undefine - undefine a domain

 

  SYNOPSIS

    undefine <domain> [--managed-save] [<storage>] [--remove-all-storage] [--wipe-storage] [--snapshots-metadata]

 

  DESCRIPTION

    Undefine an inactive domain, or convert persistent to transient.

 

From: libvirt-users-bounces@xxxxxxxxxx [mailto:libvirt-users-bounces@xxxxxxxxxx] On Behalf Of Chandrashekhar Jamadarkhani (cjamadar)
Sent: Tuesday, July 02, 2013 10:02 PM
To: libvirt-users@xxxxxxxxxx
Subject: VM destroy faiing in 1.0.1

 

Hi,

 

Virsh destroy is always failing with below error. 

 

[host:~]$ virsh destroy XYZ--2

error: Failed to destroy domain XYZ--2

error: Requested operation is not valid: domain is not running

 

[host:~]$ virsh list --all

Id    Name                           State

----------------------------------------------------

-     XYZ--2                       shut off

 

[host:~]$

 

host:~]$ libvirtd --version

libvirtd (libvirt) 1.0.1

[host:~]$             

 

host:~]$ virsh version

Compiled against library: libvirt 1.0.1

Using library: libvirt 1.0.1

Using API: QEMU 1.0.1

Running hypervisor: QEMU 0.13.0

 

[host:~]$

 

same VM was working with older libvirt vrsion:

[host:~]$ virsh version

Compiled against library: libvir 0.8.7

Using library: libvir 0.8.7

Using API: QEMU 0.8.7

Running hypervisor: QEMU 0.13.0

 

[host:~]$

 

when we upgrade to latest libvirt version:1.0.1, VM destroy is failing.

Appreciate your help on this.

 

Thanks,

Chandrashekhar

 

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux