-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
-
-
Storage Core Sprint 231
-
High
-
None
Description of problem:
Changing a dataSource PVC reference (spec.source.pvc.name) to a correct one after wrong name was given, will leave the VM using that dataSource in the same "Stopped" status.
Version-Release number of selected component (if applicable):
4.12
How reproducible:
100%
Steps to Reproduce:
1. Create a dataSource with a wrong spec.source.pvc.name
2. Create a VM using the dataSource
3. Edit the dataSource to an existing PVC name
Actual results:
The VM is left on Stopped and no DV is being cloned
Expected results:
The VM will be on running, and a new DV will be created
Additional info:
1. After fixing the PVC name stopping/restarting/starting the VM won't help. only deleting and creating the VM will make it run.
2. When a wrong PVC name is given, creating the VM will create a DV but it's status is "Unknown" with an Error of "CloneWithoutSource", my guess is, even after changing the naming, the dataSource is still looking at the old generation (version) of the dataSource and only recreating it will fix it.