Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-1214

[BUG] Migrating Deployments from OCP 3.x to 4.x failed due to apiVersion mismatch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo

      *What version of crane are you running, and what are your clutsters+platform*
      Description: Installed crane-operator and migrating a single nginx deployment from OCP 3.11
      Source cluster -> OCP 3.11 gcp
      Target cluster -> OCP 4.11 gcp

      *What did you expect to happen?*
      The deployment should be successfully migrated to the target cluster and the pods should be running.

      *What actually happened?*
      The PipelineRun failed at kubectl-apply-kustomize due to apiVersion mismatch in 4.x

      *Logs:*
      secret/deployer-token-v5vbb created
      error: resource mapping not found for name: "attached-pvc" namespace: "attached-pvc" from "/workspace/kustomize": no matches for kind "Deployment" in version "extensions/v1beta1"
      ensure CRDs are installed first

      cc: @djzager
      Created by github action.

              Unassigned Unassigned
              rh-ee-dzager David Zager
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: