Bug 1874856
| Summary: | [sig-arch] Managed cluster should ensure pods use downstream images from our release image with proper ImagePullPolicy | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | David Eads <deads> |
| Component: | oc | Assignee: | David Eads <deads> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.6 | CC: | aos-bugs, btofel, ipinto, jokerman, knarra, mfojtik, myakove, ncredi, ysegev, yturgema |
| Target Milestone: | --- | ||
| Target Release: | 4.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
[sig-arch] Managed cluster should ensure pods use downstream images from our release image with proper ImagePullPolicy
|
|
| Last Closed: | 2020-10-27 16:37:10 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: | |||
|
Description
David Eads
2020-09-02 12:51:37 UTC
*** 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 |