Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 727082

Summary: virt-v2v will fail after install vdsm on host
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: cwei, mzhan, rjones, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:20:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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