Description of problem: Builds do not support CSI volumes as volume sources. Version-Release number of selected component (if applicable): 4.10
Verified csi volume with build --------------------- $ oc logs pod/build-csi-volume-1-build [...] /run/secrets/secret-verify: password username time="2022-01-21T07:14:27Z" level=warning msg="Adding metacopy option, configured globally" --> 950e2bdcde1 STEP 3/6: RUN echo -e "$(cat /run/secrets/secret-verify/username)\n" my-user
"[sig-builds][Feature:Builds][volumes] csi build volumes within Tech Preview enabled cluster" tests are causing techpreview e2e jobs to fail since the origin PR merged, e.g. https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-aws-techpreview/1485804740204826624 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-azure-techpreview/1485804741903519744 https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.10-e2e-gcp-techpreview/1485804752787738624 Fix forthcoming.
Moving this to MODIFIED - we're past code freeze, QE has already verified this feature set manually.
I have re-verified the steps manually with 4.11.0-0.nightly-2022-01-27-182501 release. And it worked as expected. $ oc get build NAME TYPE FROM STATUS STARTED DURATION build-csi-volume-1 Docker Dockerfile Complete 19 seconds ago 13s $ oc get pod NAME READY STATUS RESTARTS AGE build-csi-volume-1-build 0/1 Completed 0 13s $ oc logs build/build-csi-volume-1 [...] STEP 3/6: RUN echo -e "$(cat /run/secrets/verify-secret/username)\n" my-user
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: OpenShift Container Platform 4.10.3 security 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-2022:0056