Bug 2037075 - Builds do not support CSI volumes
Summary: Builds do not support CSI volumes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.10.0
Assignee: jawed
QA Contact: Jitendar Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-04 20:43 UTC by Adam Kaplan
Modified: 2022-03-12 04:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-12 04:40:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openshift-apiserver pull 264 0 None open Bug 2037075: Add CSI VolumeSource to build types 2022-01-04 20:44:12 UTC
Github openshift openshift-controller-manager pull 214 0 None open Bug 2037075: Add Support for Build CSI Volume Sources 2022-01-06 15:20:54 UTC
Github openshift origin pull 26646 0 None open Bug 2037075: Verify Builds with CSI Volume Sources 2022-01-10 17:21:04 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:40:22 UTC

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


Note You need to log in before you can comment on or make changes to this bug.