Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Running rootless-cni fails with the below error.
"rootless-cni-infra": executable file not found in $PATH: OCI not found
Version-Release number of selected component (if applicable): podman-2.2.1-7.module+el8.3.1+9857+68fb1526.x86_64
Steps to Reproduce:
1. Clone and build the rootless-cni-infra image
git clone https://github.com/containers/podman.git
git checkout v2.2.1-rhel, cd contrib/rootless-cni-infra/, podman build . -t rootless-cni-infra
2. Create rootless cni network
podman network create labnet --subnet 172.21.0.0/24
3. Run a container using the cni network
podman network create labnet --subnet 172.21.0.0/24
Actual results:
podman run -d --name nginx --net labnet -p 80:80 -p 443:443 nginx
Error: exec failed: container_linux.go:370: starting container process caused: exec: "rootless-cni-infra": executable file not found in $PATH: OCI not found
Expected results:
Container to start using the cni network.
Additional info:
Rodrique,
Were you running an installed version of Podman or one that you created after cloning from upstream? If you were not running a version that was installed with RHEL, please close this bugzilla and open an issue upstream here: https://github.com/containers/podman.
Giuseppe, this seems familiar, do you recall this issue?
Comment 2Giuseppe Scrivano
2021-05-12 07:12:04 UTC
What happens if you try to run manually the image: podman run --rm rootless-cni-infra? Do you see the same error?
the sleep process in the Containerfile is coming from the alpine base image.
It might be an issue in the storage and the alpine image could be corrupted.
Could you try again with a fresh storage?
I think we can close this as NEXTRELEASE. RHEL 8.4.0.2 will ship Podman 3.2.0, which revamps the rootless CNI process to no longer require a sidecar container. Since no container is required, this bug with creating and running the container will be completely removed.
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: container-tools:rhel8 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-2021:4154
Comment 12Red Hat Bugzilla
2023-09-15 01:06:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days