Bug 2044922

Summary: nbdinfo output to stdout instead of stderr during virt-v2v conversion
Product: Red Hat Enterprise Linux 9 Reporter: tingting zheng <tzheng>
Component: virt-v2vAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED ERRATA QA Contact: tingting zheng <tzheng>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: juzhou, lersek, mxie, rjones, tyan, tzheng, vwu, xiaodwan
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-v2v-1.45.97-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:42:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tingting zheng 2022-01-25 10:54:35 UTC
Description of problem:
nbdinfo output to stdout instead of stderr during virt-v2v conversion

Version-Release number of selected component (if applicable):
Virt-p2v-1.40.2-1.el7.iso
libvirt-8.0.0-1.el9.x86_64
libguestfs-1.46.1-2.el9.x86_64
qemu-kvm-6.2.0-4.el9.x86_64
virt-v2v-1.45.97-2.el9.x86_64
virtio-win-1.9.19-5.el9_b.noarch
nbdkit-1.28.4-2.el9.x86_64
libnbd-1.10.3-1.el9.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Launch RHEL7 virt-p2v client, connect to RHEL9 server.
2.Use virt-p2v to convert.

Actual results:
The conversion hangs after copying disk, there is nbdinfo showed in virt-p2v client.

Expected results:
The conversion can be finished successfully and no nbdinfo showed in virt-p2v client.

Additional info:
logs:http://fileshare.englab.nay.redhat.com/pub/section3/libvirtmanual/tzheng/virt-p2v-20220124-6e0cxsb6/

Comment 1 Richard W.M. Jones 2022-01-25 11:28:43 UTC
Patch posted:
https://listman.redhat.com/archives/libguestfs/2022-January/msg00168.html

Comment 2 Richard W.M. Jones 2022-01-25 11:32:13 UTC
I tested this myself and it works for me.

Comment 3 Richard W.M. Jones 2022-01-26 13:01:16 UTC
Fixed upstream in:
https://github.com/libguestfs/virt-v2v/commit/68af35d48ca845133ede948d36ee351d171e3de8

Comment 7 tingting zheng 2022-01-27 07:22:04 UTC
Tested the bug with:
Virt-p2v-1.40.2-1.el7.iso
libguestfs-1.46.1-2.el9.x86_64
virt-v2v-1.45.97-3.el9.x86_64
nbdkit-1.28.5-1.el9.x86_64
libvirt-8.0.0-2.el9.x86_64
qemu-kvm-6.2.0-5.el9.x86_64

1.Launch RHEL7 virt-p2v client, connect to RHEL9 server.
2.Use virt-p2v to start conversion to local kvm and RHV, check the information printed in virt-p2v client,there is no nbdinfo showed in virt-p2v client.

Refer to the above comments, move the bug to VERIFIED.

Comment 9 errata-xmlrpc 2022-05-17 13:42:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: virt-v2v), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:2566