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

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

Commit f5d4736c8787977b1143adc9a3a7b44edb7f6fd6 in cloudstack's branch 
refs/heads/master from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f5d4736 ]

CLOUDSTACK-8079: If the cluster capacity threshold is reached, HA-enabled VM is 
not migrated on another host during HA

Changes:
-  When there is HA we try to redeploy the affected vm using regular planners 
and if that fails we retry using the special planner for HA (which skips 
checking disable threshold)
Now because of job framework the InsufficientCapacittyException gets masked and 
the special planners are not called. Job framework needs to be fixed to rethrow 
the correct exception.
- Also the VM Work Job framework is  not setting the DeploymentPlanner to the 
VmWorkJob.  So the HA Planner being passed by HAMgr was not getting used.
- Now the job framework sets the planner passed in by any caller of the VM 
Start operation, to the job


> If the cluster capacity threshold is reached, HA-enabled VM is not migrated 
> on another host during HA
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8079
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8079
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Prachi Damle
>            Assignee: Prachi Damle
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> When the host goes down. Cloudstack will try to migrate the VM's for which HA 
> is enabled to other hosts in cluster. 
> If the migration fails using default Planners due to cluster threshold 
> reached, CloudStack HAManager uses an HAPlanner which overrides any threshold 
> checks set to avoid such failures.
> This is not seen happening with 4.5 codebase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to