Bug 727082 - virt-v2v will fail after install vdsm on host
Summary: virt-v2v will fail after install vdsm on host
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-01 09:50 UTC by yuping zhang
Modified: 2016-04-26 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 11:20:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description yuping zhang 2011-08-01 09:50:27 UTC
Description of problem:
Install vdsm on virt-v2v host,then run virt-v2v to convert a guest,it will fail.

Version-Release number of selected component (if applicable):
virt-v2v-0.8.2-1.el6.x86_64
libvirt-0.9.4-0rc2.el6.x86_64
libguestfs-1.7.17-19.el6.x86_64
vdsm-4.9-86.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Install vdsm on virt-v2v host,#yum install vdsm
2.Run virt-v2v:
#virt-v2v -ic qemu+ssh:///10.66.72.122/system -os home kvm-rhel5.7-i386

Actual results:
virt-v2v fail with message:
virt-v2v -ic qemu+ssh:///10.66.72.122/system -os home kvm-rhel5.7-i386
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)

Expected results:
virt-v2v will pop up authentication to libvirt and then virt-v2v convert successfully.

Additional info:
Add "#" to auth_unix_rw="sasl"  in file /etc/libvirt/libvirtd.conf ,virt-v2v can convert successfully.

Comment 2 Osier Yang 2011-08-02 09:13:55 UTC
This is not a bug IMHO, your libvirt is configured using sasl as authentication method for unix socket. however, you don't tell this to virt-v2v, virt-v2v has an option to specify the target libvirt uri format.

Comment 3 yuping zhang 2011-08-02 09:29:28 UTC
(In reply to comment #2)
> This is not a bug IMHO, your libvirt is configured using sasl as authentication
> method for unix socket. however, you don't tell this to virt-v2v, virt-v2v has
> an option to specify the target libvirt uri format.

Hi Osier 

When installing vdsm,it will add:
auth_unix_rw="sasl" # by vdsm
to /etc/libvirt/libvirtd.config,we didn't configure it alone.So virt-v2v need to provide authentication to libvirt as default.

Comment 7 RHEL Program Management 2012-12-14 07:07:02 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 9 Richard W.M. Jones 2014-11-18 11:20:18 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs


Note You need to log in before you can comment on or make changes to this bug.