Bug 2037075

Summary: Builds do not support CSI volumes
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: BuildAssignee: jawed <jkhelil>
Status: CLOSED ERRATA QA Contact: Jitendar Singh <jitsingh>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: aos-bugs, pbhattac, pkumari, spandura
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:40:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Kaplan 2022-01-04 20:43:13 UTC
Description of problem:

Builds do not support CSI volumes as volume sources.


Version-Release number of selected component (if applicable): 4.10

Comment 6 Priti Kumari 2022-01-21 07:17:46 UTC
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

Comment 11 Adam Kaplan 2022-01-28 20:21:55 UTC
Moving this to MODIFIED - we're past code freeze, QE has already verified this feature set manually.

Comment 13 Priti Kumari 2022-02-01 16:04:26 UTC
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

Comment 16 errata-xmlrpc 2022-03-12 04:40:12 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: 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