Bug 1881254 - Stage image migration should exclude alias and external imagestreamtags
Summary: Stage image migration should exclude alias and external imagestreamtags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.5.0
Assignee: Alay Patel
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-22 01:40 UTC by Alay Patel
Modified: 2020-09-30 18:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-30 18:43:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-controller pull 679 0 None closed [BUG 1881254]: exclude imagestreamtags from stage and imagestreams initial backup 2020-09-28 08:04:11 UTC
Red Hat Product Errata RHBA-2020:4148 0 None None None 2020-09-30 18:43:19 UTC

Description Alay Patel 2020-09-22 01:40:27 UTC
Description of problem:
Imagestreamtags pointing to external tags or alias should not be migration during a staged image migration. 



Version-Release number of selected component (if applicable):
MTC 1.3.0


How reproducible:
Always

Steps to Reproduce:
1. Create a source namespace with multiple imagestreams and imagestreamtags point to with external source
2. Create a stage migration from source to destination
3. Check the imagestreamtags point to external source on destination

Actual results:
Imagestreamtags found in the destination that points to external source

Expected results:
Only imagestream tags that are internal to the cluster should be migrated during stage. The tags pointing to external source or aliases are kube resources that should be migrated during final migration.

Additional info:

Comment 5 Sergio 2020-09-28 14:54:42 UTC
Verified using MTC 1.3

openshift-migration-rhel7-operator@sha256:7a6da4a67141ae30771e2907096f7881ba82c53b238f80f93a2820ace49e8de8


In order to verify it we run
OCP-34867 - Imagestreams Stage
OCP-34872 - Imagestream Stage Nopvc
OCP-34875 - Imagestream Stage Skipimagestreams

External images (not stored in the internal regitry) are not staged, as expected.

Moved to VERIFIED status.

Comment 9 errata-xmlrpc 2020-09-30 18:43:07 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 (Migration Toolkit for Containers (MTC) Tool image release advisory 1.3.0), 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:4148


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