Hello, I have a requirement to place vms on certain vcenter cluster based on their role. After that I am hoping to use the standard vmware_best_fit_least_utilized to place the vm on the least loaded host and datastore. I copied out vmware_best_fit_least_utilized to my domain and updated it with what I believe should set the cluster, as per attached. Its erroring, as per attached.
Would be good to get the set cluster code to work, perhaps it needs to be done at a diffrent stage? Once I get that working I am hoping the rest of the method will also work…
Thankscluster.txt (836 Bytes)
cluster_err.txt (1.9 KB)