search for: createxmlfrom

Displaying 5 results from an estimated 5 matches for "createxmlfrom".

2016 Feb 19
2
problem cloning storage pool volume
...gt;-1</group> <mode>0644</mode> <label>virt_image_t</label> </permissions> </target> </volume>""" srcDisk = tmpPool.storageVolLookupByName(vDisk) newVol = sp.createXMLFrom(destXML,srcDisk, 0) According to the steps described in the link, this should be it; but I can't start any VM that are using this volume. Also comparing the volume XML files for src/dest it looks like the format is not copied over: source: <volume type='file'> <name>k.qc...
2012 May 08
2
creation of storage volume fails
...t; import libvirt >>> dir(libvirt.virStoragePool) ['UUID', 'UUIDString', 'XMLDesc', '__del__', '__doc__', '__init__', '__module__', 'autostart', 'build', 'connect', 'create', 'createXML', 'createXMLFrom', 'delete', 'destroy', 'info', 'isActive', 'isPersistent', 'listVolumes', 'name', 'numOfVolumes', 'refresh', 'setAutostart', 'storageVolLookupByName', 'undefine'] >>> help(libvirt.virStorag...
2016 Feb 19
2
Re: problem cloning storage pool volume
.../mode> >> <label>virt_image_t</label> >> </permissions> >> </target> >> </volume>""" >> >> srcDisk = tmpPool.storageVolLookupByName(vDisk) >> newVol = sp.createXMLFrom(destXML,srcDisk, 0) >> >> According to the steps described in the link, this should be it; but I >> can't start any VM that are using this volume. >> >> Also comparing the volume XML files for src/dest it looks like the format >> is not copied over: >>...
2016 Feb 19
0
Re: problem cloning storage pool volume
...<mode>0644</mode> > <label>virt_image_t</label> > </permissions> > </target> > </volume>""" > >srcDisk = tmpPool.storageVolLookupByName(vDisk) >newVol = sp.createXMLFrom(destXML,srcDisk, 0) > >According to the steps described in the link, this should be it; but I >can't start any VM that are using this volume. > >Also comparing the volume XML files for src/dest it looks like the format >is not copied over: >source: ><volume type='...
2016 Feb 22
0
Re: problem cloning storage pool volume
...<label>virt_image_t</label> >>> </permissions> >>> </target> >>> </volume>""" >>> >>> srcDisk = tmpPool.storageVolLookupByName(vDisk) >>> newVol = sp.createXMLFrom(destXML,srcDisk, 0) >>> >>> According to the steps described in the link, this should be it; but I >>> can't start any VM that are using this volume. >>> >>> Also comparing the volume XML files for src/dest it looks like the format >>> is no...