Bug 2022793
Summary: | chmod: cannot access '/etc/pki/entitlement/*.pem': No such file or directory | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Rehana <redakkan> |
Component: | subscription-manager | Assignee: | Pino Toscano <ptoscano> |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 9.0 | CC: | jhnidek, jsefler, jstodola, ptoscano, rbiba, redakkan, rhsm-qe, zpetrace |
Target Milestone: | rc | Keywords: | EasyFix, Triaged |
Target Release: | 9.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.29.21-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2015173 | Environment: | |
Last Closed: | 2022-05-17 15:58:19 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: | |||
Bug Depends On: | 2015173 | ||
Bug Blocks: |
Description
Rehana
2021-11-12 15:24:41 UTC
Reproducing the failure on : ========================== # subscription-manager version server type: Red Hat Subscription Management subscription management server: 3.2.21-1 subscription management rules: 5.41 subscription-manager: 1.29.18-2.el9 # yum downgrade subscription-manager Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 2:28:14 ago on Fri 19 Nov 2021 09:26:47 AM EST. Dependencies resolved. ==================================================================== Package Architecture Version Repository Size ============================================================================================= Downgrading: libdnf-plugin-subscription-manager x86_64 1.29.18-2.el9 beaker-BaseOS 63 k python3-cloud-what x86_64 1.29.18-2.el9 beaker-BaseOS 77 k python3-subscription-manager-rhsm x86_64 1.29.18-2.el9 beaker-BaseOS 157 k subscription-manager x86_64 1.29.18-2.el9 beaker-BaseOS 1.0 M subscription-manager-plugin-ostree x86_64 1.29.18-2.el9 beaker-BaseOS 62 k subscription-manager-rhsm-certificates x86_64 1.29.18-2.el9 beaker-BaseOS 47 k Transaction Summary ================================================================================================== Downgrade 6 Packages Total download size: 1.4 M Is this ok [y/N]: y Downloading Packages: (1/6): python3-cloud-what-1.29.18-2.el9.x86_64.rpm 2.4 MB/s | 77 kB 00:00 (2/6): libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64.rpm 1.2 MB/s | 63 kB 00:00 (3/6): python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64.rpm 2.3 MB/s | 157 kB 00:00 (4/6): subscription-manager-plugin-ostree-1.29.18-2.el9.x86_64.rpm 1.9 MB/s | 62 kB 00:00 (5/6): subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64.rpm 1.4 MB/s | 47 kB 00:00 (6/6): subscription-manager-1.29.18-2.el9.x86_64.rpm 9.6 MB/s | 1.0 MB 00:00 ----------------------------------------------------------------------------------- Total 9.8 MB/s | 1.4 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : python3-cloud-what-1.29.18-2.el9.x86_64 1/12 Downgrading : subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 2/12 Downgrading : python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 3/12 Downgrading : libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 4/12 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 5/12 Downgrading : subscription-manager-1.29.18-2.el9.x86_64 5/12 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 5/12 chmod: cannot access '/etc/pki/entitlement/*.pem': No such file or directory ^^ reproducing the issue Preverifying on : ================ # subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.21-1 subscription management rules: 5.41 subscription-manager: 1.29.19-1.git.102.93c5be7.el9 # yum install *.rpm Updating Subscription Management repositories. This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 2:33:40 ago on Fri 19 Nov 2021 09:26:47 AM EST. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size =============================================================================== Upgrading: libdnf-plugin-subscription-manager x86_64 1.29.19-1.git.102.93c5be7.el9 @commandline 65 k python3-cloud-what 1.29.19-1.git.102.93c5be7.el9 @commandline 73 k python3-subscription-manager-rhsm x86_64 1.29.19-1.git.102.93c5be7.el9 @commandline 142 k subscription-manager x86_64 1.29.19-1.git.102.93c5be7.el9 @commandline 758 k subscription-manager-plugin-ostree x86_64 1.29.19-1.git.102.93c5be7.el9 @commandline 60 k subscription-manager-rhsm-certificates x86_64 1.29.19-1.git.102.93c5be7.el9 @commandline 48 k Transaction Summary ==================================================================================================== Upgrade 6 Packages Total size: 1.1 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : python3-cloud-what-1.29.19-1.git.102.93c5be7.el9.x86_64 1/12 Upgrading : subscription-manager-rhsm-certificates-1.29.19-1.git.102.93c5be7.el9.x86_64 2/12 Upgrading : python3-subscription-manager-rhsm-1.29.19-1.git.102.93c5be7.el9.x86_64 3/12 Upgrading : libdnf-plugin-subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 4/12 Running scriptlet: subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 5/12 Upgrading : subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 5/12 Running scriptlet: subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 5/12 Upgrading : subscription-manager-plugin-ostree-1.29.19-1.git.102.93c5be7.el9.x86_64 6/12 Cleanup : subscription-manager-plugin-ostree-1.29.18-2.el9.x86_64 7/12 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 8/12 Cleanup : subscription-manager-1.29.18-2.el9.x86_64 8/12 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 8/12 Cleanup : python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 9/12 Cleanup : python3-cloud-what-1.29.18-2.el9.x86_64 10/12 Cleanup : subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 11/12 Cleanup : libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 12/12 Running scriptlet: subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 12/12 Running scriptlet: libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 12/12 Verifying : libdnf-plugin-subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 1/12 Verifying : libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 2/12 Verifying : python3-cloud-what-1.29.19-1.git.102.93c5be7.el9.x86_64 3/12 Verifying : python3-cloud-what-1.29.18-2.el9.x86_64 4/12 Verifying : python3-subscription-manager-rhsm-1.29.19-1.git.102.93c5be7.el9.x86_64 5/12 Verifying : python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 6/12 Verifying : subscription-manager-plugin-ostree-1.29.19-1.git.102.93c5be7.el9.x86_64 7/12 Verifying : subscription-manager-plugin-ostree-1.29.18-2.el9.x86_64 8/12 Verifying : subscription-manager-rhsm-certificates-1.29.19-1.git.102.93c5be7.el9.x86_64 9/12 Verifying : subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 10/12 Verifying : subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 11/12 Verifying : subscription-manager-1.29.18-2.el9.x86_64 12/12 Installed products updated. Upgraded: libdnf-plugin-subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 python3-cloud-what-1.29.19-1.git.102.93c5be7.el9.x86_64 python3-subscription-manager-rhsm-1.29.19-1.git.102.93c5be7.el9.x86_64 subscription-manager-1.29.19-1.git.102.93c5be7.el9.x86_64 subscription-manager-plugin-ostree-1.29.19-1.git.102.93c5be7.el9.x86_64 subscription-manager-rhsm-certificates-1.29.19-1.git.102.93c5be7.el9.x86_64 Complete! Message "chmod: cannot access '/etc/pki/entitlement/*.pem': No such file or directory" no longer appears. Pre-verifying the bug . SM version: [root@kvm-01-guest03 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 3.2.21-1 subscription management rules: 5.41 subscription-manager: 1.29.21-1.el9 Verifying - downgrading the system: [root@kvm-01-guest03 ~]# yum install subscription-manager-1.29.18-2.el9 Updating Subscription Management repositories. Last metadata expiration check: 0:04:17 ago on Fri 10 Dec 2021 02:28:33 PM IST. Dependencies resolved. ====================================================================================================================== Package Arch Version Repository Size ====================================================================================================================== Downgrading: libdnf-plugin-subscription-manager x86_64 1.29.18-2.el9 rhel-9-for-x86_64-baseos-beta-rpms 63 k python3-cloud-what x86_64 1.29.18-2.el9 rhel-9-for-x86_64-baseos-beta-rpms 78 k python3-subscription-manager-rhsm x86_64 1.29.18-2.el9 rhel-9-for-x86_64-baseos-beta-rpms 158 k subscription-manager x86_64 1.29.18-2.el9 rhel-9-for-x86_64-baseos-beta-rpms 1.0 M subscription-manager-rhsm-certificates x86_64 1.29.18-2.el9 rhel-9-for-x86_64-baseos-beta-rpms 47 k Transaction Summary ====================================================================================================================== Downgrade 5 Packages Total download size: 1.3 M Is this ok [y/N]: y Downloading Packages: (1/5): libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64.rpm 51 kB/s | 63 kB 00:01 (2/5): python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64.rpm 79 kB/s | 158 kB 00:01 (3/5): subscription-manager-1.29.18-2.el9.x86_64.rpm 374 kB/s | 1.0 MB 00:02 (4/5): python3-cloud-what-1.29.18-2.el9.x86_64.rpm 52 kB/s | 78 kB 00:01 (5/5): subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64.rpm 62 kB/s | 47 kB 00:00 ---------------------------------------------------------------------------------------------------------------------- Total 499 kB/s | 1.3 MB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : python3-cloud-what-1.29.18-2.el9.x86_64 1/10 Downgrading : subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 2/10 Downgrading : python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 3/10 Downgrading : libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 4/10 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 5/10 Downgrading : subscription-manager-1.29.18-2.el9.x86_64 5/10 warning: /etc/rhsm/rhsm.conf created as /etc/rhsm/rhsm.conf.rpmnew Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 5/10 Running scriptlet: subscription-manager-1.29.21-1.el9.x86_64 6/10 Cleanup : subscription-manager-1.29.21-1.el9.x86_64 6/10 Running scriptlet: subscription-manager-1.29.21-1.el9.x86_64 6/10 Cleanup : python3-subscription-manager-rhsm-1.29.21-1.el9.x86_64 7/10 Cleanup : python3-cloud-what-1.29.21-1.el9.x86_64 8/10 Cleanup : subscription-manager-rhsm-certificates-1.29.21-1.el9.x86_64 9/10 Cleanup : libdnf-plugin-subscription-manager-1.29.21-1.el9.x86_64 10/10 Running scriptlet: subscription-manager-1.29.18-2.el9.x86_64 10/10 Running scriptlet: libdnf-plugin-subscription-manager-1.29.21-1.el9.x86_64 10/10 Verifying : subscription-manager-1.29.18-2.el9.x86_64 1/10 Verifying : subscription-manager-1.29.21-1.el9.x86_64 2/10 Verifying : libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 3/10 Verifying : libdnf-plugin-subscription-manager-1.29.21-1.el9.x86_64 4/10 Verifying : python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 5/10 Verifying : python3-subscription-manager-rhsm-1.29.21-1.el9.x86_64 6/10 Verifying : python3-cloud-what-1.29.18-2.el9.x86_64 7/10 Verifying : python3-cloud-what-1.29.21-1.el9.x86_64 8/10 Verifying : subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 9/10 Verifying : subscription-manager-rhsm-certificates-1.29.21-1.el9.x86_64 10/10 Installed products updated. Downgraded: libdnf-plugin-subscription-manager-1.29.18-2.el9.x86_64 python3-cloud-what-1.29.18-2.el9.x86_64 python3-subscription-manager-rhsm-1.29.18-2.el9.x86_64 subscription-manager-1.29.18-2.el9.x86_64 subscription-manager-rhsm-certificates-1.29.18-2.el9.x86_64 Message "chmod: cannot access '/etc/pki/entitlement/*.pem': No such file or directory" no longer appears. 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 (new packages: subscription-manager), 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/RHBA-2022:3984 |