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

[OCP Cold] forklift-controller doesn't handle 'Skipped' status return from vmexport

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.10.0
    • Controller
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Seeing a possible issue with forklift-controller (mtv 2.10.0) - When vmexport returns Skipped  (for whatever reason such as ContainerDisk vms with no pvs - so ntn to export), controller ignores it, causing the migration to stuck (cold migration)
       

      ashafi@ashafi-mac ai_systems % oc get vmexport test-cclm-vm -n cclm-test -o jsonpath='{.status.phase}'
      Skipped% 
      
      # Migration is stuck-
      ashafi@ashafi-mac ai_systems % oc get migration cclm-test-plan-2-fw88p -n openshift-mtv \
        -o jsonpath='{.status.vms[0].pipeline[0]}' | jq '.'
      {
        "description": "Initialize migration.",
        "name": "Initialize",
        "phase": "Running",
        "progress": {
          "completed": 0,
          "total": 1
        },
        "started": "2025-10-02T03:50:36Z"
      }
      
      # Logs showing forklift-controller waiting
      ashafi@ashafi-mac ai_systems % oc logs -n openshift-mtv deployment/forklift-controller --since=10m \
        | grep "cclm-test-plan-2-fw88p" | grep "Waiting for VM-export" | head -5
      Defaulted container "main" out of: main, inventory
      {"level":"info","ts":"2025-10-02 05:28:45.695","logger":"plan|j4q6t","msg":"Waiting for VM-export to be ready...","plan":{"name":"cclm-test-plan-2","namespace":"openshift-mtv"},"migration":"openshift-mtv/cclm-test-plan-2-fw88p","vm":"test-cclm-vm"}
      {"level":"info","ts":"2025-10-02 05:28:48.722","logger":"plan|7mrhg","msg":"Waiting for VM-export to be ready...","plan":{"name":"cclm-test-plan-2","namespace":"openshift-mtv"},"migration":"openshift-mtv/cclm-test-plan-2-fw88p","vm":"test-cclm-vm"}
      {"level":"info","ts":"2025-10-02 
      ...
      
      # controller never acknowledges it
      oc logs -n openshift-mtv deployment/forklift-controller --since=1h \
        | grep "cclm-test-plan-2-fw88p" | grep -i "skipped"
      
      (no output) 

       

              gcheresh@redhat.com Genadi Chereshnya
              rhn-support-ashafi Atif Shafi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: