[Users] virt-v2v import needs saslauth credentials

Richard W.M. Jones rjones at redhat.com
Tue Aug 13 16:34:29 UTC 2013


On Mon, Aug 12, 2013 at 04:49:02PM -0400, Jim Kinney wrote:
> I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
> it's corresponding xml. I'm trying to run virt-v2v to put things into the
> proper formats/places for ovirt but I need to use my proper credentials to
> access the qemu:///system space.
> 
> Where/how do I do this? man pages have no suggestions on virt-v2v. I have a
> user/passwd combo in saslauth that works for virsh.
> 
> virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
> /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
> virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
> message: authentication failed: Failed to step SASL negotiation: -7
> (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)

This is really a libvirt question, to which I don't know the answer.

Complex libvirt authentication (such as SASL) may ask the user a
series of questions, such as username and password.  Are you running
virt-v2v interactively at a terminal?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v



More information about the Users mailing list