test: [sig-arch] Managed cluster should ensure pods use downstream images from our release image with proper ImagePullPolicy is failing frequently in CI, see search results: https://search.ci.openshift.org/?maxAge=168h&context=1&type=bug%2Bjunit&name=&maxMatches=5&maxBytes=20971520&groupBy=job&search=%5C%5Bsig-arch%5C%5D+Managed+cluster+should+ensure+pods+use+downstream+images+from+our+release+image+with+proper+ImagePullPolicy FIXME: Replace this paragraph with a particular job URI from the search results to ground discussion. A given test may fail for several reasons, and this bug should be scoped to one of those reasons. Ideally you'd pick a job showing the most-common reason, but since that's hard to determine, you may also chose to pick a job at random. Release-gating jobs (release-openshift-...) should be preferred over presubmits (pull-ci-...) because they are closer to the released product and less likely to have in-flight code changes that complicate analysis. FIXME: Provide a snippet of the test failure or error from the job log
*** Bug 1874524 has been marked as a duplicate of this bug. ***
Verified with the payload below and i see that the imagePullPolicy has been changed to "IfNotPresent" from PullAlways. [ramakasturinarra@dhcp35-60 openshift-client-linux-4.6.0-0.nightly-2020-09-03-191144]$ oc version Client Version: 4.6.0-202009040156.p0-ae6fae6 Server Version: 4.6.0-0.nightly-2020-09-03-191144 Kubernetes Version: v4.6.0-202009031349.p0-dirty spec: containers: - command: - /usr/bin/gather image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:868b6c6113db3c0750d17dfc21193687bb8689137263578f4bc1ce0b71506af5 imagePullPolicy: IfNotPresent name: gather resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /must-gather name: must-gather-output - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: default-token-9kq2b readOnly: true - command: - /bin/bash - -c - 'trap : TERM INT; sleep infinity & wait' image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:868b6c6113db3c0750d17dfc21193687bb8689137263578f4bc1ce0b71506af5 imagePullPolicy: IfNotPresent name: copy resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /must-gather name: must-gather-output - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: default-token-9kq2b readOnly: true dnsPolicy: ClusterFirst
The fix for this bug (https://github.com/openshift/oc/pull/549) revives bug #1866380. The need of using pull-policy "IfNotPresent" whenever possible is clear, but if you look at the description of that bug (https://bugzilla.redhat.com/show_bug.cgi?id=1866380#c0), you'll realize that in the specific case of must-gather - the pull-policy should be "PullAlways". Is it possible to revert this fix, please? Thanks!
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days