Displaying 1 result from an estimated 1 matches for "storagepoolobject".
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
storagepoolobject=libvirt.virConnect.storagePoolLoo...