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

[2235694] Creating Datavolume gets stuck CloneInProgress

XMLWordPrintable

    • High
    • No

      Description of problem:

      Trying to create a VM from DataVolume with the following definition stucks in CloneInProgress status.


      apiVersion: cdi.kubevirt.io/v1beta1
      kind: DataVolume
      metadata:
      name: splunk-standalone-vm-image
      namespace: clspcoykvzwctcm-l-vz-dev-000
      spec:
      pvc:
      accessModes:

      • ReadWriteOnce
        resources:
        requests:
        storage: 50Gi
        source:
        registry:
        secretRef: XXXX-XXXX-XXXX-XXX
        url: docker://XXXX-XXXX-XXXX-XXX

      $ oc get pods -A | grep upload
      clspcoykvzwctcm-l-vz-dev-000 cdi-upload-splunk-standalone-vm-data 1/1 Running 0 2d

      $ oc logs cdi-upload-splunk-standalone-vm-data
      2023-08-18T16:50:38.410619610Z I0818 16:50:38.410523 1 uploadserver.go:70] Upload destination: /data/disk.img
      2023-08-18T16:50:38.410619610Z I0818 16:50:38.410591 1 uploadserver.go:72] Running server on 0.0.0.0:8443

      Looking at the CDI pod logs:

      ~~~
      $ oc logs -n openshift-cnv cdi-deployment-6fdf9cc794-p85nz | grep "splunk-standalone-vm-data"
      ~~~

      Shows that the "Storage Clone token is expired" error message:

      ~~~
      2023-08-22T03:09:15.817715998Z {"level":"error","ts":1692673755.817503,"logger":"controller","msg":"Reconciler error","controller":"clone-controller","name":"splunk-standalone-vm-data","namespace":"clspcoykvzwctcm-l-vz-dev-000","error":"error verifying token: square/go-jose/jwt: validation failed, token is expired (exp)"
      ~~~

      Version-Release number of selected component (if applicable):
      kubevirt-hyperconverged-operator.v2.6.10

      How reproducible:

      Steps to Reproduce:
      1. Create a Datavolume using the above definition file
      2.
      3.

      Actual results:
      Clone will get stuck in CloneInprogress forever

      Expected results:
      The DV should be successfully created

      Additional info:

              mhenriks@redhat.com Michael Henriksen
              rhn-support-ymotiyel Yash Motiyele
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: