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 2091597 - updates fail when libguestfs-benchmarking is installed
Summary: updates fail when libguestfs-benchmarking is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libguestfs
Version: 8.6
Hardware: All
OS: All
urgent
urgent
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: YongkuiGuo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-30 12:44 UTC by jcastran
Modified: 2023-03-30 11:18 UTC (History)
9 users (show)

Fixed In Version: libguestfs-1.44.0-8.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 09:19:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-123658 0 None None None 2022-05-30 12:57:17 UTC
Red Hat Product Errata RHSA-2022:7472 0 None None None 2022-11-08 09:20:34 UTC

Description jcastran 2022-05-30 12:44:56 UTC
Description of problem:
updates fail when libguestfs-benchmarking is installed

Version-Release number of selected component (if applicable):
libguestfs-benchmarking-1:1.40

How reproducible:
Everytime

Steps to Reproduce:
1. yum install libguestfs-benchmarking
2. yum update


Actual results:
Error:
 Problem 1: package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed



cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

cannot install the best update candidate for package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

cannot install the best update candidate for package libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
Problem 2: package libguestfs-benchmarking-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs-debuginfo(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed

cannot install both libguestfs-debuginfo-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

cannot install the best update candidate for package libguestfs-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

cannot install the best update candidate for package libguestfs-benchmarking-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
Problem 3: package libvirt-admin-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64 requires libvirt-debuginfo(x86-64) = 6.0.0-37.1.module+el8.5.0+13858+39fdc467, but none of the providers can be installed

cannot install both libvirt-debuginfo-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libvirt-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64

cannot install the best update candidate for package libvirt-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64

cannot install the best update candidate for package libvirt-admin-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64
Problem 4: problem with installed package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed

cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

package libguestfs-devel-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 requires libguestfs(x86-64) = 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f, but none of the providers can be installed

cannot install the best update candidate for package libguestfs-devel-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
Problem 5: problem with installed package libguestfs-benchmarking-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

package libguestfs-benchmarking-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs-debuginfo(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed

cannot install both libguestfs-debuginfo-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

package libguestfs-gobject-debuginfo-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 requires libguestfs-debuginfo(x86-64) = 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f, but none of the providers can be installed

cannot install the best update candidate for package libguestfs-gobject-debuginfo-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
Problem 6: problem with installed package libvirt-admin-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64

package libvirt-admin-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64 requires libvirt-debuginfo(x86-64) = 6.0.0-37.1.module+el8.5.0+13858+39fdc467, but none of the providers can be installed

cannot install both libvirt-debuginfo-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libvirt-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64

package libvirt-client-debuginfo-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 requires libvirt-debuginfo(x86-64) = 8.0.0-5.module+el8.6.0+14480+c0a3aa0f, but none of the providers can be installed

cannot install the best update candidate for package libvirt-client-debuginfo-6.0.0-37.1.module+el8.5.0+13858+39fdc467.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:
-benchmarking should be updated or obsoleted. 


Additional info:
Every libguestfs package has a 1.44 version except for libguestfs-benchmarking.

Installed Packages
libguestfs.x86_64                 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  @rhel-8-for-x86_64-appstream-rpms
libguestfs-appliance.x86_64       1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  @rhel-8-for-x86_64-appstream-rpms
libguestfs-tools-c.x86_64         1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  @rhel-8-for-x86_64-appstream-rpms
libguestfs-xfs.x86_64             1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  @rhel-8-for-x86_64-appstream-rpms
Available Packages
libguestfs-bash-completion.noarch 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-benchmarking.x86_64    1:1.40.2-28.module+el8.5.0+10717+67be7ac4 rhel-8-for-x86_64-appstream-rpms
libguestfs-devel.x86_64           1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-gfs2.x86_64            1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-gobject.x86_64         1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-gobject-devel.x86_64   1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-inspect-icons.noarch   1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-java.x86_64            1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-java-devel.x86_64      1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-javadoc.noarch         1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-man-pages-ja.noarch    1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-man-pages-uk.noarch    1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-rescue.x86_64          1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-rsync.x86_64           1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms
libguestfs-tools.noarch           1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f  rhel-8-for-x86_64-appstream-rpms

Nothing obsoletes the package either.

Comment 1 Richard W.M. Jones 2022-05-30 12:58:34 UTC
It seems like we unintentionally shipped the libguestfs-benchmarking
subpackage in at least RHEL 8.5 AV:

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1582522

Upstream it was moved out of libguestfs into a new source package.
At the same time (RHEL 8.6) we dropped the subpackage.

I definitely do not want to start shipping this package in RHEL, so
I guess we'll have to add something like:

Obsoletes: libguestfs-benchmarking < [some epoch:version]

Comment 2 Klaus Heinrich Kiwi 2022-05-31 14:33:13 UTC
Yash, fyi.

I'm suspecting that the path forward here is really to uninstall libguestfs-benchmarking, make a clarification that it was added as a mistake, and it is not supported.

Thoughts?

Comment 3 jcastran 2022-05-31 14:42:56 UTC
it would be best if we could obsolete it. Otherwise its just more cases or kcs that customers have to find to define the issue and the resolution, then questions on why would we remove the package and so on. 

Obsoleting it means people that try to install it will be stopped and people that have it can update without issue,

Comment 4 Richard W.M. Jones 2022-06-07 09:45:03 UTC
Adding Obsoletes should remove the package automatically without needing to
document anything.

I don't think we should add Provides, because future libguestfs will not
provide the benchmarking binaries.

Comment 5 YongkuiGuo 2022-06-09 07:44:51 UTC
Tested with libguestfs-1.44.0-8.module+el8.7.0+15574+3df6e453.x86_64

Steps:

1. libguestfs-benchmarking package is installed.
# rpm -qa | grep libguestfs
libguestfs-xfs-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-tools-c-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
libguestfs-benchmarking-1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64

2.
# yum update
Updating Subscription Management repositories.
Last metadata expiration check: 2:34:49 ago on Thu 09 Jun 2022 12:08:33 AM EDT.
Error: 
 Problem 1: package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed
  - cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
  - cannot install both libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 and libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64
  - cannot install the best update candidate for package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
  - cannot install the best update candidate for package libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
 Problem 2: problem with installed package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
  - package libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 requires libguestfs(x86-64) = 1:1.40.2-28.module+el8.5.0+10717+67be7ac4, but none of the providers can be installed
  - cannot install both libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 and libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
  - cannot install both libguestfs-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64 and libguestfs-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64
  - package libguestfs-tools-c-1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 requires libguestfs(x86-64) = 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f, but none of the providers can be installed
  - cannot install the best update candidate for package libguestfs-tools-c-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

3. Add repo which includes the latest package: libguestfs-1.44.0-8.module+el8.7.0+15574+3df6e453.x86_64

4.
# yum update
...
libguestfs                               x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453                    libvirt_ci                       768 k
     replacing  libguestfs-benchmarking.x86_64 1:1.40.2-28.module+el8.5.0+10717+67be7ac4
 libguestfs-tools-c                       x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453                    libvirt_ci                       5.6 M
 libguestfs-xfs                           x86_64 1:1.44.0-8.module+el8.7.0+15574+3df6e453                    libvirt_ci                       8.7 k
...
Obsoleting       : libguestfs-benchmarking-1:1.40.2-28.module+el8.5.0+10717+67be7ac4.x86_64
...

'yum update' can be executed successfully, and the libguestfs-benchmarking package is removed.

Comment 6 YongkuiGuo 2022-07-04 05:38:55 UTC
Hi,rjones

Could you help add this bug to the erratum? Thanks a lot.

Comment 9 YongkuiGuo 2022-07-07 06:33:16 UTC
Verified this bug per comment 5.

Comment 11 errata-xmlrpc 2022-11-08 09:19:55 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 (Low: 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-2022:7472


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