Bug 2021128

Summary: imagePullPolicy is "Always" for multicluster-operators-subscription-rhel8 image
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Vitaly Grinberg <vgrinber>
Component: InstallerAssignee: Nathan Weatherly <nweather>
Status: CLOSED ERRATA QA Contact: Rafat Islam <rislam>
Severity: high Docs Contact: Christopher Dawson <cdawson>
Priority: unspecified    
Version: rhacm-2.3CC: ecai, jagray, juhsu, rislam
Target Milestone: ---Flags: rislam: qe_test_coverage+
ming: rhacm-2.3.z+
Target Release: rhacm-2.3.6   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2021129 (view as bug list) Environment:
Last Closed: 2022-02-22 21:58:13 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:

Comment 1 juhsu 2021-12-15 22:46:33 UTC
*** Bug 2021142 has been marked as a duplicate of this bug. ***

Comment 2 Jakob 2021-12-16 19:21:11 UTC
All changes have made it into the latest 2.3.6 build to set the pull policy to IfNotPresent on the hub

Comment 3 juhsu 2021-12-16 21:13:20 UTC
@jagray Did you mean 2.3.5 or should the target milestone be updated?

Comment 4 Jakob 2021-12-16 22:22:15 UTC
The changes made to the release repo were merged yesterday, so it will be in the 2.3.6 release. I will update the milestone.

Comment 8 Rafat Islam 2022-02-10 16:54:23 UTC
verified on 2.3.6 RC3. The appmgr pod has the imagePullPolicy set to IfNotPresent

rafat@rislam-mac app-sample-private % oc get pods -n open-cluster-management-agent-addon klusterlet-addon-appmgr-9dc9f9578-2gkh8 -o yaml > imagePullPolicy.txt
rafat@rislam-mac app-sample-private % vim imagePullPolicy.txt

    name: OPERATOR_NAME
    227 value: subscription-controller
    228 image: quay.io:443/acm-d/multicluster-operators-subscription-rhel8@sha256:2dad453c97b41b08b36a4ec1d487160519b5347f95b16fa90d70cef383c779dc
    229 imagePullPolicy: IfNotPresent
    230 livenessProbe:

when imagePullPolicy is set to IfNotPresent, the image will not be polled from registry. Rather it will create the container from the cached image.

Comment 15 errata-xmlrpc 2022-02-22 21:58:13 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 (Important: Red Hat Advanced Cluster Management 2.3.6 security updates and bug fixes), 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:0595