Migration Toolkit for Containers fails with "Unable to determine if virtual resource"

Solution Verified - Updated -

Issue

  • When creating a MigrationController for the Migration Toolkit for Containers (MTC), it goes into phase: Failed:

    $ oc get migrationcontroller migration-controller -n openshift-migration -o yaml 
    apiVersion: migration.openshift.io/v1alpha1
    kind: MigrationController
    [..]
    status:
    phase: Failed
    
  • The migration logs for the Operator show the following error message:

    [localhost]: FAILED! => {\"changed\": false, \"error\": 500, \"msg\": \"Failed to create object: b'Unable to determine if virtual resource\\\\n'\", \"reason\": \"Internal Server Error\", \"status\": 500}
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.9
  • Migration Toolkit for Containers (MTC) v1.6.3

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