[ https://issues.apache.org/jira/browse/CLOUDSTACK-8825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951948#comment-14951948 ]
ASF GitHub Bot commented on CLOUDSTACK-8825: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/787#issuecomment-147111984 @bhaisaab Can you have a look at the code please? @anshul1886 How can we test this? Thanks! > 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)