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

[2128872] [4.11]Can't restore cloned VM

XMLWordPrintable

    • Storage Core Sprint 225, Storage Core Sprint 226, Storage Core Sprint 227, Storage Core Sprint 228

      Description of problem:
      Fail to restore a cloned VM.

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. Create a VM

      2. Clone from it PVC to a new VM

      3. Snapshot the cloned VM

      4. Restore the VM

      Actual results:
      VM restored

      Expected results:
      restore failed

      Additional info:

      restore status:

      reason: 'PersistentVolumeClaim "restore-3327a680-b539-4604-8358-69f3a0b25d69-dv-disk"
      is invalid: spec: Invalid value: field.Path

      {name:"dataSource", index:"", parent:(*field.Path)(0xc0955e66c0)}

      :
      must match dataSourceRef'
      status: "False"

      -----------------------------

      PVC spec:

      dataSource:
      apiGroup: snapshot.storage.k8s.io
      kind: VolumeSnapshot
      name: cloned-dv
      dataSourceRef:
      apiGroup: snapshot.storage.k8s.io
      kind: VolumeSnapshot
      name: cloned-dv

            rh-ee-alromero Alvaro Romero
            dafrank@redhat.com Dalia Frank
            Dalia Frank Dalia Frank
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: