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 1967329 - Make qemu-kvm use versioned obsoletes for qemu-kvm-ma and qemu-kvm-rhev
Summary: Make qemu-kvm use versioned obsoletes for qemu-kvm-ma and qemu-kvm-rhev
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: qemu-kvm
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Danilo de Paula
QA Contact: jingzhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-02 21:55 UTC by Danilo de Paula
Modified: 2021-11-09 21:50 UTC (History)
6 users (show)

Fixed In Version: qemu-kvm-4.2.0-54.module+el8.5.0+11925+f6a910e5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:01:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4191 0 None None None 2021-11-09 18:02:15 UTC

Description Danilo de Paula 2021-06-02 21:55:16 UTC
Right now qemu-kvm defines the following in the spec file:

Obsoletes: qemu-kvm-ma
Obsoletes: qemu-kvm-rhev

However it generates a warning saying that using unversioned obsoletes is not recommended.


Those needs to be replaced by:

Obsoletes: qemu-kvm-ma <= {%epoch}:%{version}-{release}
Obsoletes: qemu-kvm-rhev <= {%epoch}:%{version}-{release}

This is a low hanging fruit that needs to be fixed eventually.
I created this BZ so we don't forget.

Comment 1 John Ferlan 2021-06-14 12:49:49 UTC
Assigned to Jeff for initial triage per bz process and age of bug created or assigned to virt-maint without triage.

Comment 2 Jeff Nelson 2021-06-15 22:41:14 UTC
Assigned to Danilo for delegation to a maintainer.

Comment 3 Danilo de Paula 2021-07-12 22:20:32 UTC
@QA_ACK + ITM, please?

Comment 4 Danilo de Paula 2021-07-12 22:21:11 UTC
@QA_ACK + ITM, please?

Comment 11 Yanan Fu 2021-07-26 02:13:51 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 12 jingzhao 2021-07-27 03:23:38 UTC
Reproduced it with qemu-kvm-4.2.0-53.module+el8.5.0+11673+72138537.src.rpm

and check qemu_kvm.spec

%define rhev_ma_conflicts()                                      \
Obsoletes: %1-ma                                                 \
Obsoletes: %1-rhev

Verified it with qemu-kvm-4.2.0-55.module+el8.5.0+11936+2f1c2d95.src.rpm

%define rhev_ma_conflicts()                                      \
Obsoletes: %1-ma <= %{epoch}:%{version}-%{release}               \
Obsoletes: %1-rhev <= %{epoch}:%{version}-%{release}


So changed bz to verified

Comment 14 errata-xmlrpc 2021-11-09 18:01:39 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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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/RHSA-2021:4191


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