cloud-native-toolkit / cloud-native-toolkit/planning

OCP 4.7 Tekton Buildah fails with User Namespaces not enabled error

Open
#873 0 comments 0 reactions 0 assignees View on GitHub
pipeline tekton
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Installed Cloud Native Toolkit on ROKS OCP 4.7 cluster. Buildah step fails with error

+ buildah --storage-driver=vfs bud --format=oci --tls-verify=true --no-cache -f ./Dockerfile -t quay.io/upslopeio/express-sample-app:1fd0eb348965768e45bbcc2fcbacd14a78c0ef3d .
Error during unshare(CLONE_NEWUSER): Invalid argument
User namespaces are not enabled in /proc/sys/user/max_user_namespaces.
level=error msg="error parsing PID \"\": strconv.Atoi: parsing \"\": invalid syntax"
level=error msg="(unable to determine exit status)"

It looks like this is a know issue:
https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#enable-user-namespaces-on-rhel7-machines

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.