Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2894

OCP->OCP migrate VM with Pre/Post migration hooks, plan failed in Initialize phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.10.1
    • 2.9.0
    • Controller
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True
    • Hide
      OCP migration plan error for VMs with pre-migration hooks::
      When migrating a VM with pre-migration hooks from a source Red Hat OpenShift Container Platform (OCP) cluster to a destination OCP cluster, the migration plan fails during the Initialize phase.
      +
      *Workaround:* Migrate the VM without pre-migration hooks or with post-migration hooks only.

      Show
      OCP migration plan error for VMs with pre-migration hooks:: When migrating a VM with pre-migration hooks from a source Red Hat OpenShift Container Platform (OCP) cluster to a destination OCP cluster, the migration plan fails during the Initialize phase. + *Workaround:* Migrate the VM without pre-migration hooks or with post-migration hooks only.
    • Known Issue
    • Proposed
    • MTV Sprint 4, MTV Sprint 5

      Description of problem:

      OCP->OCP migrate VM with Pre/Post migration hooks, plan failed in Initialize phase, with the error below:

      Notice: OCP->OCP migration plan without Pre migration hook or plan with Post migration hook can executed successfully

      Version-Release number of selected component (if applicable):

      MTV 2.9.0(forklift-fbc-prod-v419:on-pr-9605045737232331b74529a5003357bbfdf79a3e) with CNV 4.19.1

      How reproducible:

      100%

      Steps to Reproduce:

      1) Cold migrate VM: mtv-func-win2022 from ESXi 8 host to OCP 4.19.1 cluster: qemtv-08, the VM is running on target cluster

      2) Create a OCP provider: ocp-08d with certificate validation on OCP 4.19.1 qemtv-04

      3) Create a migration plan to migrate VM: mtv-func-win2022 from ocp-08d to qemtv-04 with Pre/post migration hooks

      4) The plan failed in Initialize phase with error below, more details in attached migration-ocp-test-08d-win2022-glzql.yaml

      Actual results: 

      In step4: The plan failed with error

      Expected results: 

      In step4: The plan executed successfully

              rh-ee-ehazan Elad Hazan
              chhu@redhat.com Chenli Hu
              Ameen Barakat Ameen Barakat
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: