-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.11
-
Important
-
No
-
False
-
Description of problem:
It is not possible to build containers using Buildah in unprivileged mode
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Deploy an Openshift cluster 2. Deploy Tekton pipelines using the Redhat operator 3. Follow the instructions to build a Dockerfile: https://docs.openshift.com/container-platform/4.10/cicd/pipelines/unprivileged-building-of-container-images-using-buildah.html
Actual results:
The pipeline fails at the buildah stage, before the step scripts runs, with the following error: STEP-BUILDtime="2023-05-22T17:08:02Z" level=warning msg="error running newgidmap: exit status 1: newgidmap: write to gid_map failed: Operation not permitted\n" time="2023-05-22T17:08:02Z" level=warning msg="falling back to single mapping" time="2023-05-22T17:08:02Z" level=warning msg="error running newuidmap: exit status 1: newuidmap: write to uid_map failed: Operation not permitted\n" time="2023-05-22T17:08:02Z" level=warning msg="falling back to single mapping" 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver time="2023-05-22T17:08:02Z" level=warning msg="failed to shutdown storage: \"'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver\"" time="2023-05-22T17:08:02Z" level=error msg="exit status 125"
Expected results:
Additional info:
- relates to
-
OCPBUGS-10548 [enterprise-4.12] Issue in file cicd/pipelines/unprivileged-building-of-container-images-using-buildah.adoc
- Closed