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

[4.16] Fail to create VMExport via virtctl vmexport create

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.16.11.rhel9-11
    • CNV Storage 272
    • No

      Description of problem:

      virtctl vmexport create fails to create the secret for the token

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

      virtctl version:
      Client Version: version.Info{GitVersion:"v1.1.1-110-g359e3f5ed", GitCommit:"359e3f5eda4ad2c77958b98924ed9a1e53c91d06", GitTreeState:"clean", BuildDate:"2024-05-29T01:45:44Z", GoVersion:"go1.20.12 X:str
      ictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
      
      Server Version: version.Info{GitVersion:"v1.1.1-110-g359e3f5ed", GitCommit:"359e3f5eda4ad2c77958b98924ed9a1e53c91d06", GitTreeState:"clean", BuildDate:"2024-05-29T01:46:23Z", GoVersion:"go1.20.12 X:str
      ictfipsruntime", Compiler:"gc", Platform:"linux/amd64"} 

      How reproducible:

      Simple

      Steps to Reproduce:

      1. Create a DV using `virtctl image-upload dv`
      2. Try to create an export using: `virtctl vmexport create` for the PVC create for the DV
      
      

      Actual results:

      secrets "secret-yblum-setup-disk-export" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>
      

      Expected results:

      VMExport and the Secret for the token is created

      Additional info:

      As a result of this error running:
      `virtctl vmexport download` is stuck waiting for the VM Export
      Manually creating the VMExport using `oc apply` creates both the export and the secret for the token

              akalenyu Alex Kalenyuk
              yblum@redhat.com Ygal Blum
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: