Bug 1427441 - [3.4][Backport] ImageStream references same image in another project
Summary: [3.4][Backport] ImageStream references same image in another project
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 3.4.1
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: 3.4.z
Assignee: Michal Minar
QA Contact: ge liu
URL:
Whiteboard:
Depends On: 1408993
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-28 08:58 UTC by Michal Minar
Modified: 2020-06-11 13:21 UTC (History)
10 users (show)

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.
Clone Of: 1408993
Environment:
Last Closed: 2017-04-26 05:36:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1129 0 normal SHIPPED_LIVE OpenShift Container Platform 3.5, 3.4, 3.3, and 3.2 bug fix update 2017-04-26 09:35:35 UTC

Comment 2 Michal Fojtik 2017-03-27 12:19:54 UTC
This was merged, setting on_qa

Comment 3 zhou ying 2017-03-28 05:14:02 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

Comment 5 errata-xmlrpc 2017-04-26 05:36:25 UTC
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


Note You need to log in before you can comment on or make changes to this bug.