-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13324/
-----------------------------------------------------------

Review request for cloudstack and Devdeep Singh.


Bugs: 4104


Repository: cloudstack-git


Description
-------

To use dedicated resources one must specify the affinity group "explicit 
dedication". 
If the affinity groups is not specified dedicated resources should not 
accessible. 
Currently there are checks for pod/clusters and hosts but zone could still be 
used.

Added check that throws exception whenever a dedicated zone is being used to 
deploy vm but no affinity group is being used.


Diffs
-----

  server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java ebf2b0c 

Diff: https://reviews.apache.org/r/13324/diff/


Testing
-------

Dedicate zone to account/domain and do not use affinity group of type Explicit 
Dedication -> VM deployment fails. 
Dedicate zone to appropriate account/domain and use affinity group of type 
Explicit Dedication -> VM deployment passes.
Build passes.


Thanks,

Saksham Srivastava

Reply via email to