[
https://issues.apache.org/jira/browse/CLOUDSTACK-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864508#comment-13864508
]
Nitin Mehta commented on CLOUDSTACK-4881:
-----------------------------------------
Yes you can count me on it..Here is the FS with which scaleVirtualMachine was
introduced -
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM
Copying the excerpt from the FS for your convenience -
"scaleVirtualMachine - There is an existing API changeServiceForVirtualMachine
and takes vm_id and compute_offering_id as inputs. This is a sync call
currently and will not be used anymore since we need it to be async. I plan to
deprecate this api in the next big release (5.0).
With this feature I will introduce another API named scaleVirtualMachine which
will be similar to upgradeVirtualMachine in every aspect except that it would
be async. In addition it will be callable when the vm is in running state as
well to dynamically scale the vm.
In case of a migration this will internally use the migrateVirtualMachine API
logic."
Let me know if its alright to close this bug now ?
> Both Running and stopped vm can be scaled up using old API
> changeServiceForVirtualMachine that too above host capacity
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4881
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4881
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.3.0
> Reporter: Gaurav Aradhye
> Assignee: Nitin Mehta
> Priority: Blocker
> Fix For: 4.3.0
>
>
> changeServiceForVirtualMachine API can be used to scale up a running vm also
> (It should be effective against only stopped vm)
> More over, using this API, VM can be scaled up above host capacity (both CPU
> and RAM) without any over-provisioning of resources.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)