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

[ARO] storage migmigration with MTC operator - failed to CleanupStaleVirtHandlerPods for stopped vm

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Important

      Description of problem:

      migmigrations is failing to CleanupStaleVirtHandlerPods for stopped vm due to failuer to cleanup non found virthandler pod

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

      cnv-4.20, MTC 1.8.9

      How reproducible:

      100%

      Steps to Reproduce:

      1.deploy  ARO cluster with MTC operator with ocs-storagecluster-ceph-rbd-virtualization sc
      2. create a vm . stop the vm (make sure these is no vmi)
      3. Create a migplan with (live migration is true ) 
      4.start mig-migration 

       

      Actual results:
      migmigration faild due to try to cleanup a CleanupStaleVirtHandlerPods that is not found

      oc get migmigration mig-migration-storage -n openshift-migration -o yaml
       conditions:
        - category: Warn
          durable: true
          lastTransitionTime: "2025-08-15T17:34:12Z"
          message: 'DirectVolumeMigration (dvm): openshift-migration/mig-migration-storage-b2r8s
            failed. See in dvm status.Errors'
      
       oc get dvm -l migmigration=e3ca1cc8-9234-4d85-80bb-b89a20261b4a -n openshift-migration -o yaml
      .
      .
      
        status:
          conditions:
          - category: Warn
            durable: true
            lastTransitionTime: "2025-08-15T17:34:12Z"
            message: 'The migration has failed.  See: Errors.'
            reason: CleanupStaleVirtHandlerPods
            status: "True"
            type: Failed
          errors:
          - virtualmachineinstances.kubevirt.io "fedora-vm-with-existing-dv-1755278984-1028707"
            not found
          itinerary: VolumeMigrationFailed

      Expected results:

      migmigration passed

      Additional info:

      1) for vms that is in running the migmigration passed with no error/warnings 
      only vms that are stopped the migmigration fails

      2) full logs and yaml file (migmigration, dvm, migplan)  added to comments below 

      3) https://redhat-internal.slack.com/archives/C01B610HL81/p1755286125791919 

              rhn-support-awels Alexander Wels
              rh-ee-ahafe Ahmad Hafi
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: