VMware resource pools are populated only from first cluster found
Description of problem:
Customer has multiple vmware clusters under vmware datacenter and each of this clusters has it's own resource pool.
When trying to provision vm under any other than first vm_cluster, resource pools can't be selected and only initial once are displayed.
Version-Release number of selected component (if applicable):
esx and vcenter components will be updated later
configure vcenter compute resource on satellite 6.3.1 and make sure that your vmware datacenter has multiple clusters and each has own resource pools
try to provision new vm in any other than first vm_cluster.
If you select resource pool other than generic it will fail.
Steps to Reproduce:
resource pool in select field is from first cluster
provision fail if they are selected, or you have to select generic one and than manually change it.
resource pool should be populated each time you select different vmware cluster.