Bug 2063622

Summary: Failed to install the podman package from repo rhocp-4.10-for-rhel-8-x86_64-rpms
Product: OpenShift Container Platform Reporter: Wei Liu <weiliu>
Component: ReleaseAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: Wei Liu <weiliu>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: aos-bugs, jdelft, jnovy, miabbott, mifiedle, weiliu
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-23 15:08:28 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 Wei Liu 2022-03-14 04:44:39 UTC
Description of problem:
Failed to install the podman package from rhocp-4.10-for-rhel-8-x86_64-rpms. There is higher version provided from container-tools module.

Version-Release number of selected component (if applicable):
[root@ibm-x3550m3-4 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.5 (Ootpa)

How reproducible:
Always

Steps to Reproduce:
1. Register system and attach subscription
[root@ibm-x3550m3-4 ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: ******
Password: 
The system has been registered with ID: 81992675-6240-49d7-818d-9c59133bb7c2
The registered system name is: ibm-x3550m3-4.gsslab.pnq.redhat.com

[root@ibm-x3550m3-4 ~]# subscription-manager subscribe --pool=8a85f9a17d76f31b017da57571c11796
Successfully attached a subscription for: Red Hat OpenShift Container Platform, Premium (One Year, Enterprise Program)

[root@ibm-x3550m3-4 ~]# subscription-manager repos --enable=fast-datapath-for-rhel-8-x86_64-rpms
Repository 'fast-datapath-for-rhel-8-x86_64-rpms' is enabled for this system.
[root@ibm-x3550m3-4 ~]# subscription-manager repos --enable=rhocp-4.10-for-rhel-8-x86_64-rpms
Repository 'rhocp-4.10-for-rhel-8-x86_64-rpms' is enabled for this system.

2. Disable the container-tools:rhel8 module
dnf module disable container-tools:rhel8

3.Try to install the podman package
[root@ibm-x3550m3-4 ~]# yum -y install podman-3.0.1-7.rhaos4.10.el8.x86_64 
Updating Subscription Management repositories.
Last metadata expiration check: 0:21:46 ago on Mon 14 Mar 2022 06:19:13 AM IST.
Error: 
 Problem: package podman-3.0.1-7.rhaos4.10.el8.x86_64 requires podman-catatonit >= 3.0.1-7.rhaos4.10.el8, but none of the providers can be installed
  - conflicting requests
  - package podman-catatonit-3.2.3-0.10.module+el8.4.0+11989+6676f7ad.x86_64 is filtered out by modular filtering
  - package podman-catatonit-3.2.3-0.11.module+el8.4.0+12050+ef972f71.x86_64 is filtered out by modular filtering
  - package podman-catatonit-3.3.1-9.module+el8.5.0+12697+018f24d7.x86_64 is filtered out by modular filtering
  - package podman-catatonit-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Failed to install

4.Try to install the dependency package podman-catatonit 
dnf module enable container-tools:rhel8
[root@ibm-x3550m3-4 ~]# yum install -y podman-catatonit
Updating Subscription Management repositories.
Last metadata expiration check: 0:27:13 ago on Mon 14 Mar 2022 06:19:13 AM IST.
Dependencies resolved.
===================================================================================================================================================
 Package                     Architecture     Version                                             Repository                                  Size
===================================================================================================================================================
Installing:
 podman-catatonit            x86_64           1:3.4.2-9.module+el8.5.0+13852+150547f7             rhel-8-for-x86_64-appstream-rpms           345 k
Upgrading:
 containers-common           noarch           2:1-8.module+el8.5.0+13954+1b78b731                 rhel-8-for-x86_64-appstream-rpms            89 k
Installing dependencies:
 podman                      x86_64           1:3.4.2-9.module+el8.5.0+13852+150547f7             rhel-8-for-x86_64-appstream-rpms            12 M

Transaction Summary
===================================================================================================================================================
Install  2 Packages
Upgrade  1 Package

Total download size: 13 M
Downloading Packages:
(1/3): containers-common-1-8.module+el8.5.0+13954+1b78b731.noarch.rpm                                               73 kB/s |  89 kB     00:01    
(2/3): podman-catatonit-3.4.2-9.module+el8.5.0+13852+150547f7.x86_64.rpm                                           277 kB/s | 345 kB     00:01    
(3/3): podman-3.4.2-9.module+el8.5.0+13852+150547f7.x86_64.rpm                                                     7.8 MB/s |  12 MB     00:01    
---------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                              8.0 MB/s |  13 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1 
  Upgrading        : containers-common-2:1-8.module+el8.5.0+13954+1b78b731.noarch                                                              1/4 
  Installing       : podman-catatonit-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64                                                           2/4 
  Installing       : podman-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64                                                                     3/4 
  Cleanup          : containers-common-1:1.2.2-1.rhaos4.10.el8.x86_64                                                                          4/4 
  Running scriptlet: containers-common-1:1.2.2-1.rhaos4.10.el8.x86_64                                                                          4/4 
  Verifying        : podman-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64                                                                     1/4 
  Verifying        : podman-catatonit-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64                                                           2/4 
  Verifying        : containers-common-2:1-8.module+el8.5.0+13954+1b78b731.noarch                                                              3/4 
  Verifying        : containers-common-1:1.2.2-1.rhaos4.10.el8.x86_64                                                                          4/4 
Installed products updated.

Upgraded:
  containers-common-2:1-8.module+el8.5.0+13954+1b78b731.noarch                                                                                     
Installed:
  podman-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64               podman-catatonit-1:3.4.2-9.module+el8.5.0+13852+150547f7.x86_64              

Complete!

Actual results:
The podman package with a higher vision will be installed from containers-tools module. 
[root@ibm-x3550m3-4 ~]# rpm -qa |grep podman
podman-debugsource-3.0.1-7.rhaos4.10.el8.x86_64
podman-3.4.2-9.module+el8.5.0+13852+150547f7.x86_64
podman-catatonit-3.4.2-9.module+el8.5.0+13852+150547f7.x86_64


Seems that the podman package in the repo rhocp-4.10-for-rhel-8-x86_64-rpms will not be used.

Expected results:
Need to confirm that the podman packages need to be push to repo rhocp-4.10-for-rhel-8-x86_64-rpms or not. Or just let the customer use the latest version from the container-tools module.

Additional info:

Comment 1 Luke Meyer 2022-03-14 16:05:07 UTC
I'm not completely sure why we continue to build and ship this since I don't think we even want people to use it. Certainly RHCOS does not, it's using the one from RHEL 8.4.z

But having shipped it, it would be nice to have the product listings correct so that all deps are shipped.

Comment 25 errata-xmlrpc 2022-08-23 15:08:28 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: OpenShift Container Platform 4.11.1 bug fix and security 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:6103