Bug 1948410 - [LSO] Local Storage Operator uses imagePullPolicy as "Always"
Summary: [LSO] Local Storage Operator uses imagePullPolicy as "Always"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: melbeher
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-12 06:56 UTC by Chao Yang
Modified: 2021-07-27 22:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:58:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:59:18 UTC

Description Chao Yang 2021-04-12 06:56:29 UTC
Description of problem:
Local Storage Operator uses imagePullPolicy as "Always" 

Version-Release number of selected component (if applicable):
local-storage-operator.4.8.0-202104090329.p0
4.8.0-0.nightly-2021-04-09-222447

How reproducible:
Always

Steps to Reproduce:
1.Deploy Local Storage Operator
2.oc get deployment.apps/local-storage-operator -o json | jq .spec.template.spec.containers[].imagePullPolicy
"Always"

Actual results:
Local Storage Operator uses imagePullPolicy as "Always" 

Expected results:
Local Storage Operator uses imagePullPolicy as "IfNotPresent" 

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Rohan CJ 2021-04-12 07:01:12 UTC
Hi, can you elaborate on why ImagePullPolicy: Always is undesirable?

Comment 2 Jan Safranek 2021-04-19 15:17:34 UTC
I can't find the right document, but I think we have `ImagePullPolicy: IfNotPresent` for disconnected environment.

Comment 3 Chao Yang 2021-05-07 08:43:19 UTC
ImagePullPolicy: IfNotPresent should be better

Comment 4 melbeher 2021-05-12 17:02:20 UTC
Fix is created here  https://github.com/openshift/local-storage-operator/pull/231

Comment 6 Chao Yang 2021-05-17 05:49:38 UTC
oc get deployment.apps/local-storage-operator -o json | jq .spec.template.spec.containers[].imagePullPolicy
"IfNotPresent"
local-storage-operator.4.8.0-202105111002.p0

Comment 9 errata-xmlrpc 2021-07-27 22:58:59 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.8.2 bug fix and 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-2021:2438


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