
On Tue, Aug 13, 2013 at 05:34:29PM +0100, Richard W.M. Jones wrote:
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?
More importantly does virt-v2v use the virConnectOpenAuth() method which enables callbacks to be provided to prompt for auth ? If not, then it'll need to be updated to support authentication. 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 :|