Bug 2021128 - imagePullPolicy is "Always" for multicluster-operators-subscription-rhel8 image
Summary: imagePullPolicy is "Always" for multicluster-operators-subscription-rhel8 image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Installer
Version: rhacm-2.3
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
: rhacm-2.3.6
Assignee: Nathan Weatherly
QA Contact: Rafat Islam
Christopher Dawson
URL:
Whiteboard:
: 2021142 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-08 12:37 UTC by Vitaly Grinberg
Modified: 2022-03-03 23:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2021129 (view as bug list)
Environment:
Last Closed: 2022-02-22 21:58:13 UTC
Target Upstream Version:
Embargoed:
rislam: qe_test_coverage+
ming: rhacm-2.3.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 17816 0 None None None 2021-11-08 15:04:26 UTC
Red Hat Product Errata RHSA-2022:0595 0 None None None 2022-02-22 21:58:53 UTC

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


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