Description of problem: MigrationController fails to install due to Error: TASK [Set up velero controller] ******************************** fatal: [localhost]: FAILED! => {"changed": false, "error": 422, "msg": "Failed to apply object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"DataProtectionApplication.oadp.openshift.io \\\\\"velero\\\\\" is invalid: spec.unsupportedOverrides: Unsupported value: map[string]interface {}{\\\\\"operator-type\\\\\":\\\\\"mtc\\\\\"}: supported values: \\\\\"veleroImageFqin\\\\\", \\\\\"awsPluginImageFqin\\\\\", \\\\\"openshiftPluginImageFqin\\\\\", \\\\\"azurePluginImageFqin\\\\\", \\\\\"gcpPluginImageFqin\\\\\", \\\\\"csiPluginImageFqin\\\\\", \\\\\"resticRestoreImageFqin\\\\\", \\\\\"kubevirtPluginImageFqin\\\\\", \\\\\"operator-type\\\\\"\",\"reason\":\"Invalid\",\"details\":{\"name\":\"velero\",\"group\":\"oadp.openshift.io\",\"kind\":\"DataProtectionApplication\",\"causes\":[{\"reason\":\"FieldValueNotSupported\",\"message\":\"Unsupported value: map[string]interface {}{\\\\\"operator-type\\\\\":\\\\\"mtc\\\\\"}: supported values: \\\\\"veleroImageFqin\\\\\", \\\\\"awsPluginImageFqin\\\\\", \\\\\"openshiftPluginImageFqin\\\\\", \\\\\"azurePluginImageFqin\\\\\", \\\\\"gcpPluginImageFqin\\\\\", \\\\\"csiPluginImageFqin\\\\\", \\\\\"resticRestoreImageFqin\\\\\", \\\\\"kubevirtPluginImageFqin\\\\\", \\\\\"operator-type\\\\\"\",\"field\":\"spec.unsupportedOverrides\"}]},\"code\":422}\\n'", "reason": "Unprocessable Entity", "status": 422} ---------------------- Formated error: Failed to apply object: { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "DataProtectionApplication.oadp.openshift.io \"velero\" is invalid: spec.unsupportedOverrides: Unsupported value: { "operator-type": "mtc" }: supported values: \"veleroImageFqin\", \"awsPluginImageFqin\", \"openshiftPluginImageFqin\", \"azurePluginImageFqin\", \"gcpPluginImageFqin\", \"csiPluginImageFqin\", \"resticRestoreImageFqin\", \"kubevirtPluginImageFqin\", \"operator-type\"", "reason": "Invalid", "details": { "name": "velero", "group": "oadp.openshift.io", "kind": "DataProtectionApplication", "causes": [ { "reason": "FieldValueNotSupported", "message": "Unsupported value: { \"operator-type\": \"mtc\" }: supported values: \"veleroImageFqin\", \"awsPluginImageFqin\", \"openshiftPluginImageFqin\", \"azurePluginImageFqin\", \"gcpPluginImageFqin\", \"csiPluginImageFqin\", \"resticRestoreImageFqin\", \"kubevirtPluginImageFqin\", \"operator-type\"", "field": "spec.unsupportedOverrides" } ] }, "code": 422 }
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 (Moderate: Migration Toolkit for Containers (MTC) 1.8.3 security and bug fix update), 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/RHSA-2024:1925