Bug 1427441
| Summary: | [3.4][Backport] ImageStream references same image in another project | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Michal Minar <miminar> |
| Component: | Image Registry | Assignee: | Michal Minar <miminar> |
| Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.1 | CC: | agladkov, aos-bugs, erjones, jburck, jforrest, jkaur, mfojtik, tdawson, tparsons, yinzhou |
| Target Milestone: | --- | ||
| Target Release: | 3.4.z | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Master API investigated wrong object to determine docker image reference of a new image stream mapping when the referenced image already existed.
Consequence: Created image stream tag contained misleading information about image's location - it pointed to the original image stream.
Fix: Master API now properly determines docker image reference for new image stream mappings.
Result: Image stream tags now show proper docker image references pointing to managed images.
|
Story Points: | --- |
| Clone Of: | 1408993 | Environment: | |
| Last Closed: | 2017-04-26 05:36:25 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: | |||
| Bug Depends On: | 1408993 | ||
| Bug Blocks: | |||
|
Comment 2
Michal Fojtik
2017-03-27 12:19:54 UTC
Confirmed with OCP3.4 , the issue has fixed:
openshift version
openshift v3.4.1.11
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0
oc env po docker-registry-3-7xulw --list
# pods docker-registry-3-7xulw, container registry
REGISTRY_HTTP_ADDR=:5000
REGISTRY_HTTP_NET=tcp
REGISTRY_HTTP_SECRET=zO+wO3mcQuU4mFNGxkE5xkblVuLqmBNYnbQVjf5GrpI=
REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA=false
REGISTRY_HTTP_TLS_CERTIFICATE=/etc/secrets/registry.crt
REGISTRY_HTTP_TLS_KEY=/etc/secrets/registry.key
REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ACCEPTSCHEMA2=true
[root@ip-172-18-12-173 ~]# oc describe is -n zhouy3
Name: nginx
Namespace: zhouy3
Created: 3 minutes ago
Labels: <none>
Annotations: <none>
Docker Pull Spec: 172.30.181.146:5000/zhouy3/nginx
Unique Images: 1
Tags: 1
latest
pushed image
* 172.30.181.146:5000/zhouy3/nginx@sha256:06b674b774abe108d36bd6edb8c8358f5464839af37353059caa3f9af4199c2d
3 minutes ago
[root@ip-172-18-12-173 ~]# oc describe is -n zhouy5
Name: nginx
Namespace: zhouy5
Created: 29 seconds ago
Labels: <none>
Annotations: <none>
Docker Pull Spec: 172.30.181.146:5000/zhouy5/nginx
Unique Images: 1
Tags: 1
latest
pushed image
* 172.30.181.146:5000/zhouy5/nginx@sha256:06b674b774abe108d36bd6edb8c8358f5464839af37353059caa3f9af4199c2d
29 seconds ago
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:1129 |