Bug 1689788

Summary: Image pull policy of TSB operator should use 'ifNotPresent'
Product: OpenShift Container Platform Reporter: Zhang Cheng <chezhang>
Component: Service BrokerAssignee: jkim
Status: CLOSED ERRATA QA Contact: Zhang Cheng <chezhang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: aos-bugs, chuo, jiazha, wsun, zitang
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 10:46:01 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:
Bug Depends On: 1685417, 1685458    
Bug Blocks:    

Description Zhang Cheng 2019-03-18 06:35:44 UTC
Description of problem: 
Image pull policy of TSB operator should use 'ifNotPresent' to avoid deploy failed while lost image server, it is using 'Always'.

Refer bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1686896
https://bugzilla.redhat.com/show_bug.cgi?id=1685232


Version-Release number of selected component (if applicable):
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE     STATUS
version   4.0.0-0.nightly-2019-03-15-063749   True        False         14h       Cluster version is 4.0.0-0.nightly-2019-03-15-063749


How reproducible:
Always


Steps to Reproduce:
$ oc get po template-service-broker-operator-6b9bb48bd5-cpmlc -o yaml | grep -i imagePullPolicy
    imagePullPolicy: Always


Expected results: 
Image pull policy of TSB operator should use 'ifNotPresent'


addition info: 
None.

Comment 1 Shawn Hurley 2019-03-18 14:13:36 UTC
Which version of the CSV was used to install the TSB?

Comment 2 Zhang Cheng 2019-03-19 03:34:15 UTC
$ oc get csv
NAME                                   DISPLAY                            VERSION   REPLACES   PHASE
templateservicebrokeroperator.v0.2.0   Template Service Broker Operator   0.2.0                Succeeded

Comment 5 Zihan Tang 2019-05-10 07:48:57 UTC
Verified.
Cluster version is 4.1.0-0.nightly-2019-05-09-182710
ose-template-service-broker-operator:v4.1.0-201905091832

Comment 7 errata-xmlrpc 2019-06-04 10:46:01 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, 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/RHBA-2019:0758