similar to: libvirt python api for storage-volumes and storage-pools

Displaying 20 results from an estimated 8000 matches similar to: "libvirt python api for storage-volumes and storage-pools"

2012 May 08
2
creation of storage volume fails
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-dumpxml" #get a storage pool object to use in creating a volume
2012 May 06
0
storage-pools and volumes
hi, i am trying to create a domain using libvirt 0.9.4 python api and i can't find any information on how to use the libvirt python api with linux logical volumes http://libvirt.org/guide/html-single/#Application_Development_Guide-Device_Config-Disks is TBD i figured out that i need to use defineXML to create a domain, however for the disk part in the xml, i am not sure if i need to create
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add and remove volumes for existing pools.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Oct 15
1
Patch depends on the previous storage patch...
This patch is dependant on the previously submitted storage admin patch.
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that, it refactors the domain administration pieces to now properly use storage pools and volumes when defining a new VM.
2014 Aug 11
1
Re: Does libvirt have API to detect image format
Unfortunately my backing store file is not in a volume. So I guess I cannot use that method. On 8/11/14 3:45 PM, "Eric Blake" <eblake@redhat.com> wrote: >On 08/11/2014 02:35 PM, Jianfeng Tang wrote: >>> >> >> I am using backing store when I create my volume. However, the backing >> store file is from another team, which can be either in raw or in
2012 May 09
3
creating a domain
hi, i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated. (inactive as in the domain was created with?virConnect.defineXML sometime in the past) looks like i have to use virDomain.create, however virDomain.create needs a defined domain xmldesc as a parameter and i am not sure on how to get that i guess if?virConnect.create was
2012 May 05
1
printing domain information
how do i print the features of a domain from functions that return a domain object? for instance mydomain =?virdomain=libvirt.virConnect.lookupByID(conn,domainid) so mydomain is?virDomainPtr, which is?typedef virDomain * virDomainPtr i am not sure on how to print the domain object features in python, such as name, disk size, etc
2009 Dec 03
2
Refactored, fixed and ready to review...
This set of patches needed some reworking since they would not apply on top of next. They are ready for review and to be pushed.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2011 Jul 29
1
Custom storage pools/volumes
Hello everyone, We're currently working with using libvirt as an abstract API to make our dealings with other hypervisors far easier and faster, however, we have our own storage API that connects/disconnects and makes LUNs available over iSCSI with iSER. We would have loved to use a storage pool however our system implements a one target per LUN/VDI, therefore, we'd have to create a pool
2015 Mar 19
2
libvirt-python Segfaults
Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the binaries from the repo itself: 1. root@test-vm8-109:/home/test# libvirtd --version libvirtd (libvirt) 1.2.2 root@test-vm8-109:/home/test# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or
2013 Sep 08
2
LVM Thin Volumes & Storage Pools
Hi, Is it possible to create a storage pool based on an LVM thin pool? I read a recent bugzilla but the problem there was that the storage-pool became unusable AFTER creating a thinpool which is a different case. Thanks, Jorge
2013 Sep 09
0
Re: LVM Thin Volumes & Storage Pools
On 09/09/13 03:53, Jorge Fábregas wrote: > Hi, > > Is it possible to create a storage pool based on an LVM thin pool? I > read a recent bugzilla but the problem there was that the storage-pool > became unusable AFTER creating a thinpool which is a different case. Could you paste the bug number? > > Thanks, > Jorge > >
2013 Sep 09
2
Re: LVM Thin Volumes & Storage Pools
On 09/08/2013 10:19 PM, Osier Yang wrote: > Could you paste the bug number? https://bugzilla.redhat.com/show_bug.cgi?id=924672 -- Jorge
2013 Sep 09
0
Re: LVM Thin Volumes & Storage Pools
On 09/09/13 11:14, Jorge Fábregas wrote: > On 09/08/2013 10:19 PM, Osier Yang wrote: >> Could you paste the bug number? > https://bugzilla.redhat.com/show_bug.cgi?id=924672 > > The error pasted by Cole in the bug should be the real reason, which is overridden by the later pool stopping. And we have the bug to support the thin pool, sorry you won't be able to use it until
2013 Sep 09
1
Re: LVM Thin Volumes & Storage Pools
On 09/09/2013 02:42 AM, Osier Yang wrote: > And we have the bug to support the thin pool, sorry you won't be able > to use it until the bug is fixed. Could you share the bug number so I can follow it? Thanks, Jorge
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish, I believe the proper establishment of a connection should be done by libvirt.open() or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional virConnect instance. I'm not sure this segfault is worth to fix since instantiate a virConnect directly is not an expected usage. Hope this information will help you. Best Regards, Hao Liu +86-010-62608262
2016 Nov 30
2
virDomainBlockInfo for local volume
Hi, I am using virStorageVolGetInfo to get the volume size virStorageVol.download to download a normal file for VDSM project. I want to add support for block devices as well, I was able to see the size via virDomainBlockInfo and download via virDomain.blockPeek which is works fine for both file and block device. 1. Can I depend on virDomainBlockInfo for non block devices? 2. Does the