[ovirt-users] Importing disk images with import-to-ovirt.pl = Authentication Error

Richard W.M. Jones rjones at redhat.com
Fri Sep 25 20:43:20 UTC 2015


On Fri, Sep 25, 2015 at 10:08:48AM -0500, Adrian Garay wrote:
> |libvirt needs authentication to connect to libvirt URI qemu:///system
> ||libvirt: XML-RPC error : authentication failed: authentication failed
> ||could not connect to libvirt (URI = qemu:///system):
> authentication failed: authentication failed at ./import-to-ovirt.pl
> line 230.
> |
> I understand that diagnosing this script is well outside of the
> context of this mailing list, but this is clearly just an
> authentication problem.

For the mailing list record, Adrian's solution was to set

  export LIBGUESTFS_BACKEND=direct

which causes libguestfs to run qemu directly instead of trying
to use libvirt.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/



More information about the Users mailing list