[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13710386#comment-13710386
 ] 

ASF subversion and git services commented on CLOUDSTACK-2159:
-------------------------------------------------------------

Commit 9a9d277884192c23c45bd6250cba60e27be5c3eb in branch refs/heads/4.2 from 
[~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9a9d277 ]

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

Reply via email to