-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
None
-
None
-
1
-
rhel-sst-container-tools
-
1
-
False
-
-
None
-
RUN 255
-
Fail
-
None
-
If docs needed, set a value
-
None
Description of problem:
There is no /run/secrets/etc-pki-entitlement/ on RHEL-8.7.0-20220718.0 podman container
Version-Release number of selected component (if applicable):
podman-4.1.1-6.module+el8.7.0+15895+a6753917.x86_64
podman-catatonit-4.1.1-6.module+el8.7.0+15895+a6753917.x86_64
cockpit-podman-50-1.module+el8.7.0+15895+a6753917.noarch
containernetworking-plugins-1.1.1-3.module+el8.7.0+15895+a6753917.x86_64
containers-common-1-34.module+el8.7.0+15895+a6753917.x86_64
systemd-container-239-60.el8.x86_64
container-selinux-2.188.0-1.module+el8.7.0+15895+a6753917.noarch
How reproducible:
always
Steps to Reproduce:
1. Register RHEL-8.7.0-20220718.0 against Satellite6.12 snap 2.0, and attach subscriptions.
[root@kvm-03-guest11 ~]# subscription-manager list
-------------------------------------------
Installed Product Status
-------------------------------------------
Product Name: Red Hat Enterprise Linux for x86_64 Beta
Product ID: 486
Version: 8.7 Beta
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 12/25/2021
Ends: 12/24/2022
[root@kvm-03-guest11 ~]# ll /etc/pki/entitlement/
total 12
rw-rr-. 1 root root 3272 Jul 20 05:13 1366602760125219637-key.pem
rw-rr-. 1 root root 4390 Jul 20 05:13 1366602760125219637.pem
2. Create a container on the RHEL host:
[root@kvm-03-guest11 ~]# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
74f2ba6ea30f registry-proxy.engineering.redhat.com/rh-osbs/ubi8:8.7 /bin/bash 12 minutes ago Up 12 minutes ago test_container
3. Check the entitlement certs in podman container:
[root@kvm-03-guest11 ~]# podman exec -i test_container /bin/bash -c "ls /run/secrets/etc-pki-entitlement/"
ls: cannot access '/run/secrets/etc-pki-entitlement/': No such file or directory
[root@kvm-03-guest11 ~]# podman exec -i test_container /bin/bash -c "ls /run/secrets/"
redhat.repo
rhsm
[root@kvm-03-guest11 ~]#
Actual results:
As step 3, there is no /run/secrets/etc-pki-entitlement/ in podman container.
Expected results:
There should be entitlement certs in /run/secrets/etc-pki-entitlement/ of podman container.
Additional info:
- blocks
-
RHEL-40853 There is no /run/secrets/etc-pki-entitlement/ on RHEL-9.2.0-20221122.2 podman container
- Release Pending
- external trackers