Bug 1902600 - Container csi-snapshotter in Cinder csi driver needs to use ImagePullPolicy=IfNotPresent
Summary: Container csi-snapshotter in Cinder csi driver needs to use ImagePullPolicy=I...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.7.0
Assignee: Martin André
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-30 07:08 UTC by Wei Duan
Modified: 2021-02-24 15:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:36:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift openstack-cinder-csi-driver-operator pull 16 0 None open Bug 1902600: Set csi-snapshotter imagePullPolicy to IfNotPresent 2021-01-11 17:40:57 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:36:56 UTC

Description Wei Duan 2020-11-30 07:08:55 UTC
Description of problem:
Currently the container csi-snapshotter in Cinder csi driver uses ImagePullPolicy=Always, needs to be updated to IfNotPresent.

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2020-11-29-133728

Steps to Reproduce:
1. Install OSP cluster and cinder csi driver is installed. 

2. Check CSI driver pods:
   oc -n openshift-cluster-csi-drivers get pod openstack-cinder-csi-driver-controller-68c89bf4c5-lmw74 -o yaml

Actual results:
imagePullPolicy uses Always for csi-snapshotter container
$ oc -n openshift-cluster-csi-drivers get pod openstack-cinder-csi-driver-controller-68c89bf4c5-lmw74 -o yaml | grep -B1 "name: csi-snapshotter"
    imagePullPolicy: Always
    name: csi-snapshotter

Expected results:
ImagePullPolicy needs to be updated to IfNotPresent.

Comment 1 Martin André 2020-12-10 09:22:03 UTC
Looks like a missing attribute in the manifest.

Comment 3 Wei Duan 2021-01-13 07:00:28 UTC
Verified pass on 4.7.0-0.nightly-2021-01-12-203716

--
    imagePullPolicy: IfNotPresent
    name: csi-driver
--
    imagePullPolicy: IfNotPresent
    name: csi-provisioner
--
    imagePullPolicy: IfNotPresent
    name: csi-attacher
--
    imagePullPolicy: IfNotPresent
    name: csi-resizer
--
    imagePullPolicy: IfNotPresent
    name: csi-snapshotter

Comment 7 errata-xmlrpc 2021-02-24 15:36:33 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.7.0 security, bug fix, and enhancement 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-2020:5633


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