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.
Bug 1958353 - "rootless-cni-infra": executable file not found in $PATH: OCI not found
Summary: "rootless-cni-infra": executable file not found in $PATH: OCI not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: beta
: ---
Assignee: Jindrich Novy
QA Contact: Yuhui Jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-07 17:24 UTC by Rodrique Heron
Modified: 2023-09-15 01:06 UTC (History)
11 users (show)

Fixed In Version: podman-3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 17:37:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4154 0 None None None 2021-11-09 17:38:28 UTC

Description Rodrique Heron 2021-05-07 17:24:58 UTC
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:

Comment 1 Tom Sweeney 2021-05-11 01:44:03 UTC
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 2 Giuseppe 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?

Comment 3 Matthew Heon 2021-06-02 13:29:54 UTC
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.

Comment 11 errata-xmlrpc 2021-11-09 17:37:47 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: 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 12 Red 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


Note You need to log in before you can comment on or make changes to this bug.