[
https://issues.apache.org/jira/browse/CLOUDSTACK-8824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985060#comment-14985060
]
ASF subversion and git services commented on CLOUDSTACK-8824:
-------------------------------------------------------------
Commit a981d34f4950e150d755f6e36e926b5cf757ca30 in cloudstack's branch
refs/heads/master from [~remibergsma]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=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 <[email protected]>
> VM deployment fails when there is only ZWPS and deployement alogorithm is
> firstfitleastconsumed
> -----------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8824
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8824
> 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
>
>
> Steps:
> 1. Create a zone with zone wide primary storage.
> 2. Deploy a VM ( At this stage, the deployment algorithm is default). Notice
> that the deployment succeeds
> 3. Change the deployment planner to firstfitleastconsumed and restart MS.
> 4. Launch a VM.
> Reason:
> Cluster ID is null in case of ZWPS and hence it fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)