Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1810763

Summary: image stream is not being migrated correctly using CAM tool
Product: OpenShift Container Platform Reporter: John Matthews <jmatthew>
Component: Migration ToolingAssignee: Scott Seago <sseago>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.zCC: arghosh, dymurray, ernelson, jmatthew, jmontleo, slucidi, sregidor, sseago, xjiang
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1804742 Environment:
Last Closed: 2020-04-23 17:32:08 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: 1804742    
Bug Blocks:    

Comment 1 Dylan Murray 2020-03-17 15:29:41 UTC
Built in brew: openshift-migration-plugin-container-v1.1-4

Comment 5 Sergio 2020-03-20 15:45:41 UTC
Verified in CAM 1.1.2 stage

Source istags
$ oc get istag
NAME                              DOCKER REF                                                                                                                                            UPDATED
cakephp-mysql-persistent:latest   docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:b9fa867be3fe3e9b69abbe2232ac03cc34b5ed38888f3298b493dc06d16f455c   4 minutes ago
cakephp-mysql-persistent:tag1     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   31 minutes ago
cakephp-mysql-persistent:tag10    docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:b9fa867be3fe3e9b69abbe2232ac03cc34b5ed38888f3298b493dc06d16f455c   About a minute ago
cakephp-mysql-persistent:tag2     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   30 minutes ago
cakephp-mysql-persistent:tag3     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   30 minutes ago

Migrated properly to target istags

$ oc get istag
NAME                              DOCKER REF                                                                                                                                            UPDATED
cakephp-mysql-persistent:latest   docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:b9fa867be3fe3e9b69abbe2232ac03cc34b5ed38888f3298b493dc06d16f455c   4 minutes ago
cakephp-mysql-persistent:tag1     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   31 minutes ago
cakephp-mysql-persistent:tag10    docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:b9fa867be3fe3e9b69abbe2232ac03cc34b5ed38888f3298b493dc06d16f455c   About a minute ago
cakephp-mysql-persistent:tag2     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   30 minutes ago
cakephp-mysql-persistent:tag3     docker-registry.default.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   30 minutes ago



There is a problem, though, with internal images created using the import command. This can be considered as a different bug, and it will have it's own BZ.

Comment 6 Sergio 2020-03-20 15:47:51 UTC
Target istas are wrong in the previous comment, this was the actual value after the migration
$ oc get istag
NAME                              IMAGE REFERENCE                                                                                                                                                       UPDATED
cakephp-mysql-persistent:latest   image-registry.openshift-image-registry.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:7d7a51ca2dcb62e7a3cbf2f20e1cc0894b3f179182c1b88434faf5bb76b2f4b8   17 seconds ago
cakephp-mysql-persistent:tag1     image-registry.openshift-image-registry.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   2 minutes ago
cakephp-mysql-persistent:tag10    image-registry.openshift-image-registry.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:b9fa867be3fe3e9b69abbe2232ac03cc34b5ed38888f3298b493dc06d16f455c   2 minutes ago
cakephp-mysql-persistent:tag2     image-registry.openshift-image-registry.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   2 minutes ago
cakephp-mysql-persistent:tag3     image-registry.openshift-image-registry.svc:5000/ocp-24769-cakephp/cakephp-mysql-persistent@sha256:d397326116127f0695add4e2ff7fb811c34d5d8da0e1d335865a5ebd24153ffe   2 minutes ago

Comment 8 errata-xmlrpc 2020-04-23 17:32:08 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/RHEA-2020:1552