On 05/07/2012 07:48 PM, david_zhu wrote:
>> -bash-4.1# virsh version
>> Compiled against library: libvir 0.9.8
>> That said, if your guest isn't specifically requesting a shutdown, it
>> seems odd that you are encountering a race, so there may be something
>> else at play here. Does the log of
On 05/08/2012 09:58 AM, John Wayne wrote:
hi,
i am getting this error below when i try to create a storage volume:
libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0)
AttributeError: class virStoragePool has no attribute 'CreateXML'
Please see the above error message carefully, you
i figured out the problem, i had to change CreateXML to createXML
From: John Wayne
To: "libvirt-users@redhat.com"
Sent: Monday, May 7, 2012 6:58 PM
Subject: [libvirt-users] creation of storage volume fails
hi,
i am getting this error below when i try to cre
On 05/08/2012 03:39 AM, Syed A. Ali wrote:
there is a disconnect between the methods that help(libvirt) shows
for class virStorageVol and the method listed in
/usr/lib64/python2.6/site-packages/libvirt.py for the same class.
Yeah, in fact, you run 'import libvirt' in interactive python, it will
hi,
i am getting this error below when i try to create a storage volume:
libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0)
AttributeError: class virStoragePool has no attribute 'CreateXML'
my code is:
xmldesc="xml description of storage volume which i got from sudo virsh
vol-dump
Original Message
Subject: Re: [libvirt-users] Destroy VM failed.
From: Eric Blake
To: david_zhu
Cc: libvirt-users@redhat.com
Date: 2012年5月8日 2:05:40
On 05/06/2012 09:12 PM, david_zhu wrote:
Hi,
When I des
I've gone through the docs and the API and I didn't see a way to do
this but I wanted to confirm. My application gives a bunch of info on
the state of a VM that's available through a connection created
through libvirt.openReadOnly() but at some point the user might want
to restart the VM let's say.
there is a disconnect between the methods that help(libvirt) shows for class
virStorageVol and the method listed in
/usr/lib64/python2.6/site-packages/libvirt.py for the same class. method
createXML used for virStorageVolCreateXML is missing when i use help(libvirt)
and scroll down to the class
On 05/06/2012 09:12 PM, david_zhu wrote:
> Hi,
>
> When I destroy a VM, sometimes virsh will report failed.
> So I tried the following shell script:
>
>
> -bash-4.1# for ((i=0; i<1000; i++)); do virsh start david_mac; virsh destroy
> david_mac; if [ $? != 0 ] ; then echo $i; break; fi; done
>
On 2012年05月07日 13:26, Syed A. Ali wrote:
how do i list storage pools and volumes using the python bindings?
basically the python api calls for virsh pool-list and virsh vol-list
thanks
# python
>>> import libvirt
>>> help(libvirt)
You will find "listStoragePools" in class "virConnect",
and "
how do i list storage pools and volumes using the python bindings?
basically the python api calls for virsh pool-list and virsh vol-list
thanks
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users
11 matches
Mail list logo