-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
5
-
False
-
-
False
-
- webhook removed from kubevirt
- verify backup and restore without clone source when restoring works
-
CNV v4.99.0.rhel9-1103, CNV v4.16.3.rhel9-27, CNV v4.99.0.rhel9-1594
-
---
-
---
-
-
Storage Core Sprint 256, Storage Core Sprint 258, 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
- is cloned by
-
CNV-47429 Virtual Machine Webhook "virtualmachine-validator.kubevirt.io" is denying the request
- ON_QA
- is related to
-
CNV-41610 Datavolume webhook shouldn't validate dataSourceRef
- Closed
- links to
-
RHEA-2024:139317 OpenShift Virtualization 4.16.4 Images
- mentioned on