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 1972644

Summary: Virt-v2v should depend on virtio-win
Product: Red Hat Enterprise Linux 9 Reporter: mxie <mxie>
Component: virt-v2vAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: mxie <mxie>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: chhu, juzhou, mzhan, rjones, tgolembi, tyan, tzheng, vwu, xiaodwan
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-v2v-1.45.1-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:35:16 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 mxie@redhat.com 2021-06-16 11:24:00 UTC
Description of problem
Virt-v2v should depend on virtio-win

Version-Release number of selected component (if applicable):
virt-v2v-1.44.0-2.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Check dependence packages of virt-v2v, there is no virtio-win
# yum deplist virt-v2v |grep virtio-win
Last metadata expiration check: 1:30:07 ago on Wed 16 Jun 2021 05:50:32 AM EDT.

Actual results:
v2v converts guest without virtio-win is not a valid test case

Expected results:
As above description


Additional info:

Comment 1 Sandro Bonazzola 2021-06-16 12:00:04 UTC
virtio-win will be relevant only on converting Windows VMs, not sure it make sense to always require virtio-win. Maybe a week dependency? https://rpm.org/user_doc/dependencies.html
I would go with "Suggests".

Comment 2 Richard W.M. Jones 2021-06-16 12:06:30 UTC
It's actually required for Linux guests too since the ISO contain
qemu-ga.  However I don't mind reducing the strength of the dependency,
although I think Recommends is most appropriate as most users will
want virtio-win.

Comment 6 mxie@redhat.com 2021-06-17 11:18:31 UTC
Verify the bug with virt-v2v-1.45.1-1.el9.1.x86_64

Steps
1. Reinstall virt-v2v, can see virtio-win is weak dependency package of virt-v2v
# yum reinstall virt-v2v
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 3:32:38 ago on Thu 17 Jun 2021 03:38:31 AM EDT.
Dependencies resolved.
=================================================================================================
 Package               Architecture      Version                     Repository             Size
=================================================================================================
Reinstalling:
 virt-v2v              x86_64            1:1.45.1-1.el9.1            libvirt_ci            1.3 M
Installing weak dependencies:
 virtio-win            noarch            1.9.15-3.el9                libvirt_ci            157 M

Transaction Summary
=================================================================================================
Install  1 Package

Total download size: 158 M
Installed size: 719 M
Is this ok [y/N]: 

Result:
    virt-v2v already weakly depends on virtio-win, move the bug to VERIFIED