[
https://issues.apache.org/jira/browse/CLOUDSTACK-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13710399#comment-13710399
]
ASF subversion and git services commented on CLOUDSTACK-2159:
-------------------------------------------------------------
Commit ee664a1cac9030f1e9902a6d9a574788ae34f9a6 in branch refs/heads/master
from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ee664a1 ]
CLOUDSTACK-2159 Anti-Affinity - When "HostAntiAffinityProcessor" plugin is not
included in the deployment , deployVirtualMachine() command does not error out
when passing the affiitygroupnames parameter.
Changes:
- Added a check during vm deployment to see if a processor for the affinity
group type is available
> Anti-Affinity - When "HostAntiAffinityProcessor" plugin is not included in
> the deployment , deployVirtualMachine() command does not error out when
> passing the affiitygroupnames parameter.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2159
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2159
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Environment: Build from master
> Reporter: Sangeetha Hariharan
> Assignee: Prachi Damle
> Fix For: 4.2.0
>
>
> Anti-Affinity - When "HostAntiAffinityProcessor" plugin is not included in
> the deployment , deployVirtualMachine() command does not error out when
> passing the affiitygroupnames parameter.
> Steps to reproduce the problem:
> I had few affinity groups created.
> Then removed the "HostAntiAffinityProcessor" plugin from the management
> server and restarted the management server.
> Tried to deploy a Vm in one of the existing affinity groups that already
> exists.
> Affinity groups parameter is ignored and Vm deployment succeeds.
> In this case , there is no indication to the user that the Affinity groups
> parameter that he has used was actually not being respected.
> Is it better in such cases for the API to error out indicating that
> HostAntiAffinityProcessor is not configured in the set up anymore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira