harikrishna-patnala opened a new issue #5830:
URL: https://github.com/apache/cloudstack/issues/5830


   There is a global config to control the size of the volume
   
![image](https://user-images.githubusercontent.com/3348673/148359893-7b71bc92-a8f3-4fb2-9732-6dac4299c181.png)
   
   There are 2 issues with this config
   1. This is marked as dynamic, but it is not, we need to restart the 
management server. This needs to either set the dynamic flag to false or fix 
the usage of the config.
   2. In the case of root volume, when the root volume is first created this 
config is not considered, later if we try to resize the same root volume then 
the config is being considered.
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Global Setting
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.16, main
   ~~~
   
   
   ##### 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. set the config value of "storage.max.volume.size" to 2GB
   2. create a VM with root disk size more than 3GB
   3. Try to resize the root volume to some higher value 
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Root volume with higher size should not be created.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Root volume is created with higher value and if we try to resize then 
operation failed with error stating the global setting.
   ~~~
   


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