----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12967/ -----------------------------------------------------------
(Updated July 30, 2013, 3:55 p.m.) Review request for cloudstack, Kishan Kavala and Nitin Mehta. Changes ------- Changed the naming convention and fixed the reserve memory recalculate. Bugs: Cloudstack-1695 Repository: cloudstack-git Description ------- https://issues.apache.org/jira/browse/CLOUDSTACK-1695 Not enough cpu avialable in cluster according to new overcommit ratio but all stopped Vms can be started without any failure(required cpu for stopped vm is >> available cpu ) Diffs (updated) ----- server/src/com/cloud/capacity/CapacityManagerImpl.java 05a47dd server/src/com/cloud/vm/VirtualMachineManagerImpl.java 1fb118f Diff: https://reviews.apache.org/r/12967/diff/ Testing ------- Tested on old master. This happened because we were not recalculating the used and the reserved capacities based on the new overcommit ratio. Now used and reserved capacities of all the hosts in a overcommited cluster will be recalculated on overcommit change by the capacity checker. However this will happen only when capacity checker runs meaning the change in capacities due to updated overcommit values will not be instantaneous. Thanks, bharat kumar