Bug 1433232
Summary: | Can't pull image when the external repo of image changed | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.5.0 | CC: | aos-bugs, haowang, mfojtik |
Target Milestone: | --- | ||
Target Release: | 3.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: the registry takes dockerImageReference from an Image object
Consequence: dockerImageReference is shared across ImageStreams, the same image is fetched using the same dockerImageReference for all ImageStreams
Fix: dockerImageReference is taken from an ImageStream
Result: the registry fetches the image from different places for different ImageStreams
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-15 18:37:02 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
zhou ying
2017-03-17 06:47:58 UTC
Olegļ¼Could you please paste the pr here if you fixed this bug ? Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/3989f0401bb2acb14d434b3fbd919b1d032b4eb1 Use docker image reference from ImageStream Fixes bug 1433232 Signed-off-by: Oleg Bulatov <obulatov> Will confirm this issue when new OCP puddle ready. The latest OCP openshift v3.5.5.13 , not merged with the PR. Confirmed with OCP3.5.5.18, the issue has fixed: openshift version openshift v3.5.5.18 kubernetes v1.5.2+43a9be4 etcd 3.1.0 [root@host-8-175-70 ~]# oc get images |grep busy sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558 172.30.220.99:5000/busybox@sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558 [root@host-8-175-70 ~]# oc get is mystream -o yaml ..... status: dockerImageRepository: 172.30.68.104:5000/iz3vc/mystream tags: - items: - created: 2017-05-24T06:08:03Z dockerImageReference: 172.30.191.166:5000/busybox@sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558 generation: 2 image: sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558 tag: latest docker pull 172.30.68.104:5000/iz3vc/mystream:latest` @ssh://root.centralci.eng.rdu2.redhat.com Not logged in to 172.30.68.104:5000 Trying to pull repository 172.30.68.104:5000/iz3vc/mystream ... sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558: Pulling from 172.30.68.104:5000/iz3vc/mystream Digest: sha256:c79345819a6882c31b41bc771d9a94fc52872fa651b36771fbe0c8461d7ee558 Status: Downloaded newer image for 172.30.68.104:5000/iz3vc/mystream:latest 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-2017:1425 |