sureshanaparti edited a comment on issue #3110:
URL: https://github.com/apache/cloudstack/issues/3110#issuecomment-925678949


   History/Background of volume resize with respect to _scaleVirtualMachine_ 
and _changeServiceForVirtualMachine_ APIs =>
   
   - Pre 4.11: Volume resize is not allowed through the service offering change 
in scaleVirtualMachine/changeServiceForVirtualMachine APIs.
   - Resize volume allowed for stopped VM through scaleVirtualMachine API (in 
4.11.0) [PR: #2298].
   - Resize volume allowed for stopped VM through 
changeServiceForVirtualMachine API (in 4.14.1) [PR: #4491].
   - Resize volume improvements for stopped VM in scaleVirtualMachine API (in 
4.15.0) [PR: #4341].
   
   Now, both scaleVirtualMachine and changeServiceForVirtualMachine APIs allows 
volume resize operation, but have different checks/restrictions.
   
   @rhtyd @nvazquez @GabrielBrascher @DaanHoogland @andrijapanicsb and others, 
please provide your inputs/thoughts on the following.
   - Should we keep these checks consistent for both APIs (atleast for the 
volume resize operation)?
   - There is a PR (#5008) raised to decouple service and disk offerings. For 
backward compatibility, the volume resize operation is supported with these 
APIs for the service offerings mapped 1:1 with disk offerings (which are tagged 
is_compute_only). Should the volume resize operation be part of the disk 
offering change going forward? 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to