I am not able to locate a cluster option for vsphere as a provider. I only see datacenter. Am I missing a config option or shouldn't it also provide the user with a cluster option so user can specify which cluster to deploy to rather the datacenter which may contain multiple clusters?
vsphere:
type: vsphere
host: '**.***.*.***'
user: '<email address hidden>'
password: '**********'
datacenter: 'dc0'
bootstrap-timeout: 1800
logging-config: "<root>=DEBUG;juju=DEBUG;golxc=TRACE;juju.container.lxc=TRACE"
agent-stream: released
The issue I am running into while deploying a bundle is as following: services are being deployed on the first Hypervisor that was added which happens to be the Hypervisor that hosts the vCenter Appliance. Some of the later VMs which are deployed from OVFs cannot be powered on because there is not enough CPU resources to satisfy the reservation. The Hypervisors are part of a cluster with DRS enabled so it doesn't look like there is any attempt of distributing the VMs across the hosts in the cluster.
This can now (2.0.1) be achieved by <datacenter> <controllername>
juju bootstrap --to zone=<cluster> vsphere/
Without the placement directive (--to) juju will choose between all available clusters and hosts in the datacenter.