Migration fails when migrating tagged imagestreams

Solution Verified - Updated -

Issue

  • MTC Migration reports the following errors while migrating tagged imagestreams:
time="2022-05-06T07:41:14Z" level=error msg="error restoring xyz:latest: ImageStream.image.openshift.io \"xyz\" is invalid: []: Internal error: imagestreams \"xyz\" is invalid: spec.tags[latest].from.name: Invalid value: \"xyz@sha256:abcd\": error generating tag event: imagestreamimage.image.openshift.io \"sha256:abcd\" not found" logSource="pkg/restore/restore.go:1328" restore=openshift-migration/migration-87643-final-9mf5k
  • Direct Image Migration fails due to imagestreamimage.image.openshift.io not found.

Environment

  • Red Hat OpenShift Container Platform [RHOCP]
    • 4.x
  • Migration Toolkit for Containers [MTC]
    • 1.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content