kiranchavala opened a new issue, #7202:
URL: https://github.com/apache/cloudstack/issues/7202

   ##### ISSUE TYPE
   
    * Bug report
   
   
   ##### COMPONENT NAME
   
   ~~~
   Compute
   ~~~
   
   ##### CLOUDSTACK VERSION
   
   ~~~
   4.18 nightly
   
   
   ~~~
   
   ##### CONFIGURATION
   
   
   
   ##### OS / ENVIRONMENT
   
   Centos 7 , 1 management , 1 pod , 1 cluster with 2 kvm hypervisor hosts
   
   Trillian environment
   
   http://10.0.35.231:8080/client
   
   
   ##### 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 
   
![start](https://user-images.githubusercontent.com/1401014/218453831-ed4070bf-707d-4d39-80fc-36477a7e74a2.png)
   
   
   
   ~~~
   
   ##### EXPECTED RESULTS
   
   
   ~~~
   The vm's should go to different host in the cluster
   ~~~
   
   ##### ACTUAL RESULTS
   
   ~~~
   The vm's should are not going  different host in the cluster
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to