Re: xen+ssh with openauth

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

 



On 11.11.15 11:04, Daniel P. Berrange wrote:
> That means the libvirtd daemon you are connecting to does not support
> that API call. Presumably because it is an older version that your
> client libvirt version.
> 
Thank you,
I manage to use the old API for getting domains info for most of our needs
except for the disk volume information (which tell us the disk capacity and
allocation on disk).
We are using  storageVolLookupByPath which supported in the old API:

path = disk.find('./source/[@file]')
conn.storageVolLookupByPath(path)

We are getting the following exception:
libvirtError: Storage volume not found: no storage vol with matching path

The path from source/@file is legit.
Is that a bug, or is there another way to get volume information?

Thank you,
 Shahar.

> 
> Regards,
> Daniel
> -- 
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
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