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

ASF GitHub Bot commented on CLOUDSTACK-8880:
--------------------------------------------

GitHub user kishankavala opened a pull request:

    https://github.com/apache/cloudstack/pull/847

    Bug-ID: CLOUDSTACK-8880: calculate free memory on host before deploying Vm. 
 free memory = total memory - (all vm memory)

    With memory over-provisioning set to 1, when mgmt server starts VMs in 
parallel on one host, then the memory allocated on that kvm can be larger than 
the actual physcial memory of the kvm host.
    
    Fixed by checking free memory on host before starting Vm.
    Added test case to check memory usage on Host.
    Verified Vm deploy on Host with enough capacity and also without capacity


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kishankavala/cloudstack CLOUDSTACK-8880

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/847.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #847
    
----
commit e2a879f040e894c32defd3fb9bb3b127fd96702d
Author: Kishan Kavala <[email protected]>
Date:   2015-09-18T05:40:52Z

    Bug-ID: CLOUDSTACK-8880: calculate free memory on host before deploying Vm. 
 free memory = total memory - (all vm memory)

----


> Allocated memory more than total memory on a KVM host
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-8880
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8880
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>            Reporter: Kishan Kavala
>            Assignee: Kishan Kavala
>
> With  memory over-provisioning set to 1, when mgmt server starts VMs in 
> parallel on one host, then the memory allocated on that kvm can be larger 
> than the actual physcial memory of the kvm host.



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

Reply via email to