Bug #27782
closedDatastore config in compute profile not used when creating VMware VMs
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1748431
Description of problem:
When I specified Datastore config in compute profile it is not used when creating a VMware VM.
Version-Release number of selected component (if applicable): 6.6 snap 18
How reproducible:
Steps to Reproduce:
1. Create compute resource for vcenter
2. Create Compute profile tied to a Datastore (mine happened to be a local esxi datastore).
3. Create host group with compute profile (dont think this is required)
4. Create VM with hostgroup
Actual results:
Storage config does not appear in "Virtual Machine" tab and when the I press submit the following error occurs:
Failed to create a compute toledovcenter (VMware) instance toby-lutkins.vmdomain.com: InvalidDatastorePath: Invalid datastore path '[datastore1]'.
Expected results:
VM is created on data store.
Additional info:
Screen recording here
https://drive.google.com/file/d/1gFdgUWM3r0nvW33pZE_cCkRB1ESfj0Sn/view?usp=sharing
Also, I created a host manually and specified the datastore in the "VM" tab directly and I was able to create the VM.