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

[4.18] Storage checkup failed reason is not consistent for pvc and snapshot source format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.18.0
    • CNV v4.17.0
    • Storage Ecosystem
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • Storage Core Sprint 259, CNV Storage 260, Storage Core Sprint 261, Storage Core Sprint 262, Storage Core Sprint 263, CNV Storage 264, CNV Storage 265
    • None

      Description of problem:

      Storage checkup failed reason is not consistent for pvc and snapshot source format 

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

      CNV4.17

      How reproducible:

      always

      Steps to Reproduce:

      1. Make sure the dataimportcron source format is pvc 
      2. Unset the default storage class and run checkup 
      3. Set multiple default storage class and run checkup 
      4. Manually set the dataimportcron source format to snapshot
      5. Unset the default storage class and run checkup 
      6. Set multiple default storage class and run checkup 

      Actual results:

      PVC source format:
      2. Checkup failed with the reason when no default storage class:
       'status.failureReason': 'no default storage class\npvc failed to bound',
      
      3. Checkup failed with the reason when multiple storage classes:
       'status.failureReason': 'there are multiple default storage classes\n'
                               'some of the VMs failed to complete boot on time',
      
      snapshot source format:
      5. Checkup failed with the reason when no default storage class:
      'status.failureReason': 'persistentvolumeclaims "vmi-under-test-mj94j-dv" not found'
      
      6. Checkup failed with the reason when multiple storage classes:
       'status.failureReason': 'Operation cannot be fulfilled on '
                               'virtualmachineinstance.kubevirt.io '
                               '"vmi-under-test-xbc29": VMI is not running',

      Expected results:

      It is better to have consistent failed reason for both pvc and snapshot source format

      Additional info:

       

              agilboa@redhat.com Arnon Gilboa
              yadu1@redhat.com Yan Du
              Yan Du Yan Du
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: