-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
ISSUE TYPE
- Bug report
COMPONENT NAME
Compute
CLOUDSTACK VERSION
4.18 nightly
4.17.2
CONFIGURATION
OS / ENVIRONMENT
Centos 7 , 1 management , 1 pod , 1 cluster with 2 kvm hypervisor hosts
SUMMARY
host anti-affinity is not working
STEPS TO REPRODUCE
1. Create a affinity group of type "host anti-affinity (Strict)".
2. Deploy 2 vm without any affinity group attached
3. Check the vm's host ( they can be deployed on the same host)
Note: Make sure the vm's are deployed on 1 single host in the cluster
3. Stop the vm's
4. Change the affinity group of the vms to "host anti-affinity (Strict)"
Note: Make sure the affinity group is attached to the vm
5. Start the vm
6. The Vm 's still remains on the same host in the cluster
Made sure to uncheck the option to start on Last host

EXPECTED RESULTS
The vm's should go to different host in the cluster
ACTUAL RESULTS
The vm's are not going to different hosts in the cluster