Bug 2267018 - Migration controller failing to install due velero unsupported value error
Summary: Migration controller failing to install due velero unsupported value error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: Controller
Version: 1.8.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 1.8.3
Assignee: Dylan Murray
QA Contact: mohamed
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-29 10:46 UTC by mohamed
Modified: 2024-04-18 12:41 UTC (History)
1 user (show)

Fixed In Version: OADP 1.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-18 12:41:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:1925 0 None None None 2024-04-18 12:41:18 UTC

Description mohamed 2024-02-29 10:46:22 UTC
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
}

Comment 11 errata-xmlrpc 2024-04-18 12:41:17 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 (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


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