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

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

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

CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed following issues if 
vm.allocation.algorithm is set to firstfitleastconsumed
1. VM deployment failure if thre is only ZWPS in setup
2. VM migration is impossible from UI


> Setting vm.allocation.algorithm to firstfitleastconsumed makes vm migration 
> impossible from UI
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8825
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8825
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Anshul Gangwar
>            Assignee: Anshul Gangwar
>            Priority: Critical
>             Fix For: 4.6.0
>
>
> 2015-07-28 15:11:05,690 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-20:ctx-1ba307fb) (logid:c70d7c41) ===START=== 10.103.2.50 -- 
> GET 
> command=findHostsForMigration&VirtualMachineId=880e71e6-c714-4a65-adc4-dd1e08aae8dd&response=json&sessionkey=XF0%2Fsb%2BhBReDbbWgKx%2FMmujS0R8%3D&_=1438076504170
>  
> 2015-07-28 15:11:05,751 ERROR [c.c.a.ApiServer] 
> (catalina-exec-20:ctx-1ba307fb ctx-899f7829) (logid:c70d7c41) unhandled 
> exception executing api command: [Ljava.lang.String;@39d29ca6 
> com.cloud.utils.exception.CloudRuntimeException: Caught: SELECT host_id, 
> SUM(total_capacity - (used_capacity+reserved_capacity))/SUM(total_capacity) 
> FROM `cloud`.`op_host_capacity` WHERE cluster_id = ? AND capacity_type = ? 
> GROUP BY host_id ORDER BY SUM(total_capacity - 
> (used_capacity+reserved_capacity))/SUM(total_capacity) DESC 
> at 
> com.cloud.capacity.dao.CapacityDaoImpl.orderHostsByFreeCapacity(CapacityDaoImpl.java:884)



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

Reply via email to