Bug 2024360

Summary: RHV-H sssd-proxy installation fails due to higher versioned packages of sssd-* in repository then RHV 4.4.8 uses.
Product: Red Hat Enterprise Virtualization Manager Reporter: Sean Haselden <shaselde>
Component: redhat-virtualization-hostAssignee: Nobody <nobody>
Status: CLOSED ERRATA QA Contact: Wei Wang <weiwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.8CC: cshao, lsurette, lsvaty, mhicks, pbrilla, srevivo, vvasilev
Target Milestone: ovirt-4.4.9-1Keywords: Rebase, TestOnly, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-19 19:21:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Haselden 2021-11-17 22:49:13 UTC
Description of problem: 

We have a customer seeing this on rhvh-4.4.4.1-0.20210201.0 during their attempt to install sssd-proxy, but reproduced with rhvh-4.4.8.1-0.20210903.0+1 in the lab: 

rhvh-4.4.8.1-0.20210903.0+1 installs the following version of sssd-common: 

[root@shaggy ~]# rpm -qa | grep sssd-common
sssd-common-2.4.0-9.el8_4.2.x86_64
sssd-common-pac-2.4.0-9.el8_4.2.x86_64


However the rhvh-4-for-rhel-8-x86_64-rpms repository contains newer versions.  Notably 2.5.2-2.el*: 

[root@shaggy ~]# yum list --showduplicates | grep sssd-common
sssd-common.x86_64                                         2.4.0-9.el8_4.2                                             @System                      
sssd-common-pac.x86_64                                     2.4.0-9.el8_4.2                                             @System                      
sssd-common.x86_64                                         2.2.3-20.el8                                                rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.3.0-9.el8                                                 rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.4.0-9.el8                                                 rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.4.0-9.el8_4.1                                             rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.4.0-9.el8_4.2                                             rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.5.2-2.el8                                                 rhvh-4-for-rhel-8-x86_64-rpms
sssd-common.x86_64                                         2.5.2-2.el8_5.1                                             rhvh-4-for-rhel-8-x86_64-rpms

Due to this, a yum install of sssd-proxy fails with the following:

[root@unused ~]# yum install sssd-proxy
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: 0:01:41 ago on Tue 16 Nov 2021 06:34:21 PM UTC.
Error: 
 Problem: package sssd-proxy-2.5.2-2.el8_5.1.x86_64 requires sssd-common = 2.5.2-2.el8_5.1, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package sssd-common-2.5.2-2.el8_5.1.x86_64 is filtered out by exclude filtering
  - nothing provides libtevent.so.0(TEVENT_0.11.0)(64bit) needed by sssd-common-2.5.2-2.el8_5.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



Now if we install sssd-proxy-2.4.0-9.el8_4.2.x86_64 we are right back in the same boat:
yum install sssd-proxy-2.4.0-9.el8_4.2.x86_64  (success) 

[root@shaggy ~]# yum update
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: 19:26:33 ago on Wed 17 Nov 2021 12:31:28 AM UTC.
Error: 
 Problem: package sssd-proxy-2.5.2-2.el8_5.1.x86_64 requires sssd-common = 2.5.2-2.el8_5.1, but none of the providers can be installed
  - cannot install the best update candidate for package sssd-proxy-2.4.0-9.el8_4.2.x86_64
  - package sssd-common-2.5.2-2.el8_5.1.x86_64 is filtered out by exclude filtering
  - nothing provides libtevent.so.0(TEVENT_0.11.0)(64bit) needed by sssd-common-2.5.2-2.el8_5.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



At this point it's unclear what an upgrade of the system might do and if this would cause issue for the customer down the road. 




Version-Release number of selected component (if applicable):

rhvh-4.4.8.1-0.20210903.0+1
sssd-common-2.4.0-9.el8_4.2.x86_64
sssd-proxy-2.4.0-9.el8_4.2.x86_64

How reproducible:
Install rhvh and upgrade to the latest version available, then attempt yum install sssd-proxy 



Steps to Reproduce:
1. install rhvh
2. yum update to bring rhvh to the latest version
3. yum install sssd-proxy  (this will fail)
4. yum install sssd-proxy-2.4.0-9.el8_4.2.x86_64 (this will succeed)
5. yum update (this will error) 




Actual results:
[root@unused ~]# yum install sssd-proxy
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: 0:01:41 ago on Tue 16 Nov 2021 06:34:21 PM UTC.
Error: 
 Problem: package sssd-proxy-2.5.2-2.el8_5.1.x86_64 requires sssd-common = 2.5.2-2.el8_5.1, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package sssd-common-2.5.2-2.el8_5.1.x86_64 is filtered out by exclude filtering
  - nothing provides libtevent.so.0(TEVENT_0.11.0)(64bit) needed by sssd-common-2.5.2-2.el8_5.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



Expected results:

Successful install of the correct version and a clean 'yum update' run directly after. 

Additional info:

Comment 1 Sandro Bonazzola 2021-11-18 06:49:13 UTC
RHV-H 4.4.9 is rebased on RHEL 8.5 and will solve this.

Comment 11 errata-xmlrpc 2021-11-19 19:21:52 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 (Important: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.9] 0-day), 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:4750