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

[2156517] [4.13]VM with datasource with non-existing pvc wont start after datasource fix

XMLWordPrintable

    • Storage Core Sprint 231
    • High
    • None

      Description of problem:
      Changing a dataSource PVC reference (spec.source.pvc.name) to a correct one after wrong name was given, will leave the VM using that dataSource in the same "Stopped" status.

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. Create a dataSource with a wrong spec.source.pvc.name
      2. Create a VM using the dataSource
      3. Edit the dataSource to an existing PVC name

      Actual results:
      The VM is left on Stopped and no DV is being cloned

      Expected results:
      The VM will be on running, and a new DV will be created

      Additional info:
      1. After fixing the PVC name stopping/restarting/starting the VM won't help. only deleting and creating the VM will make it run.

      2. When a wrong PVC name is given, creating the VM will create a DV but it's status is "Unknown" with an Error of "CloneWithoutSource", my guess is, even after changing the naming, the dataSource is still looking at the old generation (version) of the dataSource and only recreating it will fix it.

              agilboa@redhat.com Arnon Gilboa
              rhn-support-rkishner Roni Kishner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: