Bug 1923722 - Migrations from OCP 3.11 to 4.3 are skipping restore of resources
Summary: Migrations from OCP 3.11 to 4.3 are skipping restore of resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Velero
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4.0
Assignee: Dylan Murray
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks: 1946787 1967764
TreeView+ depends on / blocked
 
Reported: 2021-02-01 17:44 UTC by Dylan Murray
Modified: 2021-06-03 20:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1946787 (view as bug list)
Environment:
Last Closed: 2021-02-11 12:55:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5329 0 None None None 2021-02-11 12:55:30 UTC

Description Dylan Murray 2021-02-01 17:44:59 UTC
Description of problem:
This is a regression and a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1886125.

Essentially, the imagetag plugin in the openshift velero plugin is being applied to all resources in 4.3 and below due to the imagetag CRD not existing in the cluster.

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

How reproducible:
100%

Steps to Reproduce:
1. Migrate from OCP 3.11 to OCP 4.3


Actual results:
In the velero pod on the destination cluster the logs show every resources is being discarded by the imagetag plugin.

Expected results:
Migration succeeds.

Additional info:
The actual issue is an upstream bug where if a plugin is registered with Velero and the associated CRD doesn't exist, every resource matches the plugin. This may or may not be resolved upstream in Velero yet I need to dig further. For 1.4.0 we will simply remove the imagetag plugin from the openshift plugin as we did for 1.3.

Comment 6 Sergio 2021-02-03 14:54:38 UTC
Verified using: 
- MTC 1.4.0
- 3.11 -> 4.3 AWS, AWS S3
- 4.5 -> 4.7 AWS, AWS S3

openshift-migration-rhel7-operator@sha256:085a42a4bdf32cd0ae12cb5af17d6ee6274a577a67298708a2eff3220e08fc23
    - name: MIG_CONTROLLER_REPO
      value: openshift-migration-controller-rhel8@sha256
    - name: MIG_CONTROLLER_TAG
      value: 5590dc251338f1d909bb6c76722d251c5de114c272d6425455549623a5472c4d


Moved to VERIFIED status.

Comment 8 errata-xmlrpc 2021-02-11 12:55:27 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.4.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:5329


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