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

[2139738] [4.12]Can't restore cloned VM

    XMLWordPrintable

Details

    Description

      This bug was initially created as a copy of Bug #2128872

      I am copying this bug because:

      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

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated: