-
Bug
-
Resolution: Done-Errata
-
Undefined
-
CNV v4.17.0
-
None
-
3
-
False
-
-
False
-
CNV v4.99.0.rhel9-1121
-
---
-
---
-
-
Storage Core Sprint 258, Storage Core Sprint 259
-
None
Description of problem:
bazel binary from latest CDI builder image is missing execution permissions for unprivileged users: ls -l /usr/bin/bazel -rwxr--r--. 1 root root 51849045 Aug 16 08:43 /usr/bin/bazel
Version-Release number of selected component (if applicable):
CDI builder image: quay.io/kubevirt/kubevirt-cdi-bazel-builder:2408160841-626901083
Steps to Reproduce:
1. Create a Pod using latest CDI builder image on OpenShift with an unprivileged SCC 2. Try to compile the func tests: make build-functest
Actual results:
Since the Pod is using an arbitrary unprivileged user on OpenShift, the command is failing to execute bazel binary: ./hack/build/build-ginkgo.sh: line 10: /usr/bin/bazel: Permission denied
Expected results:
CDI builder image should be able to run as an unprivileged user.
- links to
-
RHEA-2024:133097 OpenShift Virtualization 4.17.0 Images