-
Bug
-
Resolution: Done-Errata
-
Undefined
-
CNV v4.16.0, CNV v4.15.3, CNV v4.14.8
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
CNV v4.17.0.rhel9-60, CNV v4.16.1.rhel9-141
-
-
Moderate
-
No
Description of problem:
When creating a custom template where I replace running: true with runStrategy: RerunOnFailure and then attempt to quick create a VM from that template. The UI displays an error `Error "Running and RunStrategy are mutually exclusive" for field "spec.running"`.
Version-Release number of selected component (if applicable):
4.14, and 4.15
How reproducible:
100%
Steps to Reproduce:
1. Create a custom template based on one of the existing ones. I picked the fedora template and make a copy of it and modfied running: true to runStrategy: rerunOnFailure. I saved it in default namespace. 2. I attempted to quick create a VM from this new template. When clicking create I get the mentioned error message. 3. I checked the generated yaml in the dialog and it looks perfectly fine. I can download the yaml and apply it with the cli and the generated VM starts fine.
Actual results:
Error message about a field that doesn't exist in the yaml
Expected results:
VM is created as expected
Additional info:
The generated yaml passed validation on the backend and is able to start. It is just the UI that prevents creation of the VM.