div8cn opened a new issue #4827:
URL: https://github.com/apache/cloudstack/issues/4827


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.15.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   VM created by ISO cannot resize the root disk size.
   Error:
   Failed to resize Root volume. The service offering of this Volume has been 
configured with a root disk size; on such case a Root Volume can only be 
resized when changing to another Service Offering with a Root disk size. For 
more details please check out the Official Resizing Volumes documentation.
   
   VM created by tempalte can resize root disk size.
   
   https://github.com/apache/cloudstack/pull/4341 
   
   My serviceoffering not set rootdisksize item
   
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Create serviceoffering, name=iso-1c-1g, (do not set rootdisksize.)
   2. Deploy the VM using ISO, name=iso-vm01, and use serviceoffering=iso-1c-1g.
   3.stop vm iso-vm01.
   4.resize iso-vm01 root disk size to 
100G(size=120&id=ebe7be07-5276-4e38-8563-64d47ae83972&command=resizeVolume&response=json)
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   vm root disk size changed to 120G
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Task execution failed
   The root disk size has not changed.
   
   API throws an error:
   Failed to resize Root volume. The service offering of this Volume has been 
configured with a root disk size; on such case a Root Volume can only be 
resized when changing to another Service Offering with a Root disk size. For 
more details please check out the Official Resizing Volumes documentation.
   ~~~
   


----------------------------------------------------------------
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.

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


Reply via email to