Bug 1770003
| Summary: | Deployment picks up wrong image by imagechange trigger | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ben Parees <bparees> |
| Component: | ImageStreams | Assignee: | Oleg Bulatov <obulatov> |
| Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | adam.kaplan, aos-bugs, aprajapa, bparees, calfonso, jokerman, obulatov, wzheng, xiuwang |
| Target Milestone: | --- | ||
| Target Release: | 4.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1757889 | Environment: | |
| Last Closed: | 2020-01-23 11:11:43 UTC | Type: | --- |
| 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: | |||
| Bug Blocks: | 1757889 | ||
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-2020:0062 |
Test Payload: 4.3.0-0.nightly-2019-11-07-172437 Can't reproduce this issue in 4.3 cluster. $ oc tag xiu/ruby-hello-world:latest xiu1/ruby-test:qa $ oc tag xiu1/ruby-test:qa xiu2/ruby-check:qe $ oc get is ruby-check -n xiu2 -o yaml apiVersion: image.openshift.io/v1 kind: ImageStream metadata: creationTimestamp: "2019-11-08T05:39:25Z" generation: 1 name: ruby-check namespace: xiu2 resourceVersion: "232210" selfLink: /apis/image.openshift.io/v1/namespaces/xiu2/imagestreams/ruby-check uid: 6fba304f-1f4c-4a48-b415-64afd3454e0b spec: lookupPolicy: local: false tags: - annotations: null from: kind: ImageStreamImage name: ruby-test@sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8 namespace: xiu1 generation: 1 importPolicy: {} name: qe referencePolicy: type: Source status: dockerImageRepository: image-registry.openshift-image-registry.svc:5000/xiu2/ruby-check publicDockerImageRepository: default-route-openshift-image-registry.apps.qe-groupd-1108.qe.devcluster.openshift.com/xiu2/ruby-check tags: - items: - created: "2019-11-08T05:39:25Z" dockerImageReference: image-registry.openshift-image-registry.svc:5000/xiu2/ruby-check@sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8 generation: 1 image: sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8 tag: qe $oc get dc ruby-hello-world -n xiu2 -o yaml ========snip=============== triggers: - type: ConfigChange - imageChangeParams: automatic: true containerNames: - ruby-hello-world from: kind: ImageStreamTag name: ruby-check:qe namespace: xiu2 lastTriggeredImage: image-registry.openshift-image-registry.svc:5000/xiu2/ruby-check@sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8 type: ImageChange $oc describe pods ruby-hello-world-2-85rxw =========snip============ Normal Pulling 2m19s kubelet, ip-10-0-172-34.eu-west-1.compute.internal Pulling image "image-registry.openshift-image-registry.svc:5000/xiu2/ruby-check@sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8" Normal Pulled 2m18s kubelet, ip-10-0-172-34.eu-west-1.compute.internal Successfully pulled image "image-registry.openshift-image-registry.svc:5000/xiu2/ruby-check@sha256:c6e4a702e7365e0b01bfda6bc90184ab56be65d93d481cdefd59aea080eac2a8"