Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-77962

[SCMIG] add "Succeeded" status to VirtualMachineStorageMigration and MultiNamespaceVirtualMachineStorageMigration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.21.z
    • CNV v4.21.0
    • Storage Platform
    • None
    • Product / Portfolio Work
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      When several VMs had to migrate, but some of them failed, there's no quick way to know from the Migration resource status. 
      
      It will list the succeeded VMs in completedMigrations with 'phase: Completed', but will not mention the failed VMs.
      
      status:
        namespaces:
        - completedMigrations:
          - windows-11-vm-1769098130-0115912
          name: storage-migration-test-storage-class-migration
          phase: Completed

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

      4.21.0

      How reproducible:

      Always, if some VMs can't migrate

      Steps to Reproduce:

      1 regular VM + 1 VM from some known bug that prevents migrations 
      

      Actual results:

      No way to know if Migration overall succeeded or failed.
      Need to check the list of completedMigrations.

      Expected results:

      Migration resource reports "Succeeded"=False if even one VM failed to migrate, and "Succeeded"=True if all VMs migrated. 

      Additional info:

       

              akalenyu Alex Kalenyuk
              jpeimer@redhat.com Jenia Peimer
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: