-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
In webhooks we want to prevent failing requests when they are raceful.
Currently when creating the restore we check in the webhook that the VM is not Running by checking the vm.Spec.Running or if its run strategy is diffrerent then v1.RunStrategyHalted.
We shouldn't fail the restore request in such case. Instead we should allow the object to be created and update its condition that the restore can't start until the VM is stopped.