[
https://issues.apache.org/jira/browse/CLOUDSTACK-9697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769600#comment-15769600
]
ASF GitHub Bot commented on CLOUDSTACK-9697:
--------------------------------------------
GitHub user rashmidixit opened a pull request:
https://github.com/apache/cloudstack/pull/1855
CLOUDSTACK-9697: Better error message if user tries to shrink VM ROOT
Volume size
Skip the API call altogether if the UI detects this case and throw a more
user friendly message
Conflicts:
client/WEB-INF/classes/resources/messages.properties
client/WEB-INF/classes/resources/messages_ja_JP.properties
client/WEB-INF/classes/resources/messages_zh_CN.properties
ui/dictionary2.jsp
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Accelerite/cloudstack CLOUDSTACK-9697
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1855.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1855
----
commit 4b54fa3438fc88a2465b22a344c601e61d40c4af
Author: sanket_thite <[email protected]>
Date: 2016-09-13T06:47:09Z
CLOUDSTACK-9697: Added better error message user if tries to shrink the VM
ROOT volume size
Skip the API call altogether if the UI detects this and throw a more user
friendly message
Conflicts:
client/WEB-INF/classes/resources/messages.properties
client/WEB-INF/classes/resources/messages_ja_JP.properties
client/WEB-INF/classes/resources/messages_zh_CN.properties
ui/dictionary2.jsp
----
> Better error message user if tries to shrink the VM ROOT volume size
> --------------------------------------------------------------------
>
> Key: CLOUDSTACK-9697
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9697
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.7.0, 4.8.0, 4.9.0
> Reporter: Rashmi Dixit
> Assignee: Rashmi Dixit
> Fix For: 4.9.1.0
>
>
> If a user tries to shrink the size of the root volume of a VM, the operation
> fails with an error
> Going from existing size of 10737418240 to size of 8589934592 would shrink
> the volume.Need to sign off by supplying the shrinkok parameter with value of
> true.
> Instead, the UI can simply not allow shrink operation on the ROOT volume.
> Throw a more user friendly message
> "Shrink operation on ROOT volume not supported"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)