You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/11/02 12:09:04 UTC

[2/2] git commit: updated refs/heads/master to a981d34

Merge pull request #787 from anshul1886/CLOUDSTACK-8824-8825

CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed issues if vm.allocation.algorithm is set to firstfitleastconsumedFixed 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

To test

1. Create setup with ZWPS only
2. set vm.allocation.algorithm to firstfitleastconsumed in global settings
3. deploy virtual machine

observation: vm deployment will fail

After this fix it will pass

second scenario

1. Create Cloudstack Setup with two hosts (As it needs setup for migration)
2. Try migrating VM from UI

Observation: There will be error response in logs with nothing available in UI

After fix it will pass

Regarding BVT I am not sure whether there exists tests for firstfitleastconsumed vm allocation algorithm.

* pr/787:
  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

Signed-off-by: Remi Bergsma <gi...@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a981d34f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a981d34f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a981d34f

Branch: refs/heads/master
Commit: a981d34f4950e150d755f6e36e926b5cf757ca30
Parents: e3a4ec6 a5555ed
Author: Remi Bergsma <gi...@remi.nl>
Authored: Mon Nov 2 12:04:33 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Mon Nov 2 12:04:34 2015 +0100

----------------------------------------------------------------------
 .../com/cloud/capacity/dao/CapacityDaoImpl.java | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------