Bug #19311
closedData store is selected when datastore cluster is set in compute profile when creating new host
Description
When we try to create a new host, which will be image provisioned, then the compute profile is used. In this compute profile we have selected a datastore cluster. But in the new host, the Data store and the Datastore Cluster fields are both activated. When we do a Submit (the POST), we see in de Form Data that both host[compute_attributes][volumes_attributes]0[storage_pod] and
host[compute_attributes][volumes_attributes]0[datastore] are send.
This seems wrong, the datastore should not be send. When we in the form of creating a new host reselect the datastore cluster then Data store is grayed out en not being send when clicking Submit. That is what should happen without reselecting the datastore cluster. It looks like a frontend bug.
We use VMWare as Compute Resource.