2018-12-11 13:42:23 |
Calvin Hartwell |
description |
Hi all,
Juju does not seem to handle the correct placement of machines into a Resource Pool or Folder on vSphere 6.5/6.7.
The cluster selection works, I.E if I have a data-center with multiple clusters in vSphere, I can choose which cluster to use, but placement within the cluster, I.E in a Folder or Resource Pool does not work.
Instead, Juju places all of the VM(s) onto the same, single esx hypervisor within a cluster which means there is no HA placement of services.
vSphere versions tested: 6.5 and 6.7. I have an internal (Canonical) video showing the issue and a work around for a current customer.
Cheers,
- Calvin |
Hi all,
Juju does not seem to handle the correct placement of machines into a Resource Pool or Folder on vSphere 6.5/6.7.
The cluster selection works, I.E if I have a data-center with multiple clusters in vSphere, I can choose which cluster to use, but placement within the cluster, I.E in a Folder or Resource Pool does not work.
Also, some of these constraints appear to be ignored as part of the bundle, an example is found here: https://gist.githubusercontent.com/CalvinHartwell/fb36f64531fb5d640d8c590e867b07ad/raw/07644cf334db45851d20acc5113c407459eb496d/vmware-cdk-constraints-ignored.yaml
My manual work around is to manually add the machines first, before deploying units and relationships, I.E:
ZONE="some-zone"
juju add-machine zone=$ZONE --constraints root-disk=50G --constraints cores=4 --constraints mem=16G
This may have been partially fixed by this: https://github.com/juju/juju/pull/9481
Instead, Juju places all of the VM(s) onto the same, single esx hypervisor within a cluster which means there is no HA placement of services.
vSphere versions tested: 6.5 and 6.7. I have an internal (Canonical) video showing the issue and a work around for a current customer.
Cheers,
- Calvin |
|