Open
Description
ISSUE TYPE
- Improvement Request
COMPONENT NAME
VMware
CLOUDSTACK VERSION
NA
CONFIGURATION
Advanced zone with vSphere Datacenter, multiple ESXi 6.7 hosts
DRS enabled on the vSphere cluster
OS / ENVIRONMENT
N/A
SUMMARY
When the vSphere cluster has DRS enabled, VMs created from CloudStack with anti-affinity rules get migrated to the same host(s) by the VMware. This makes use of affinity groups useless at CloudStack end when DRS is enabled in VMware.
STEPS TO REPRODUCE
1. Enable DRS at VMware end, have sufficient load that it can kick in
2. Create an affinity group with type anti-affinity
3. Deploy multiple VMs using that group
4. Observe VMs getting started on different hosts
5. When DRS kicks in, VMs may get migrated depending on load-balancing
6. CloudStack updates new host for the VM on power sync
EXPECTED RESULTS
VM remains on different hosts
ACTUAL RESULTS
VMs end up on same host(s)
Metadata
Metadata
Assignees
Type
Projects
Status
Todo