Bug #5440

Disk resize is limited to 500GB in sunstone

Added by Venko Moyankov almost 4 years ago.

Status:PendingStart date:10/06/2017
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Sunstone
Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 5.4

Description

When trying to resize disk to size larger than 500GB on existing VM using sunstone, new size is limited to 500GB. Any subsequent try returns error: New disk size has to be greater than current one.
When using XML-RPC everything is OK.

To reproduce:
- create VM
- start VM
- on running VM, resize disk
- enter new size 550GB using the text box
disk will be resized to 500GB
- on running VM resize disk
- enter new size 550GB using the text box

The code with the limit of 500GB is located at:
src/sunstone/public/app/tabs/vms-tab/dialogs/disk-resize.js:85
max: Humanize.sizeToMB("500GB")*1024,

Also available in: Atom PDF