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

Virtual Machine Webhook "virtualmachine-validator.kubevirt.io" is denying the request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.17.1
    • None
    • CNV Storage
    • None
    • Storage Core Sprint 259, Storage Core Sprint 262
    • No

      Description of problem:

      virtualmachine-validator.kubevirt.io is denying a request to create a VM 

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

      Can be reproduce by backingup a VM that was deployed w/ datavolume sourcing from a custume DataSource, Excluding this ds from the backup and then try to restore.

      How reproducible:

      100%

      Steps to Reproduce:

      1. Deploy a new DataSource
      2. Deploy a VM from a datavolume sourerefing to this datasource and wati to Ready state.
      3. Backup VM the vm using oadp/velero including pv  data  (csi/csi+datamover)
      4. Delete The DataSource & VM
      5. Restore the VM 

       

      Actual results:

      web hook virtualmachine-validator.kubevirt.io is denying the request :
      
      error restoring virtualmachines.kubevirt.io/cirros-test/cirros-test: admission webhook "virtualmachine-validator.kubevirt.io" denied the request: dataSource openshift-virtualization-os-images/cirros does not exist

      Expected results:

      VM should Be created successfully 

      Additional info:

      https://redhat-internal.slack.com/archives/C05L3UV7VB4/p1718887499143029

              skagan@redhat.com Shelly Kagan
              amastbau Amos Mastbaum
              Dalia Frank Dalia Frank
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: