Bug #4069

Resize values lower than original disk size are silently ignored

Added by Carlos Martín over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:10/19/2015
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Sunstone
Target version:Release 4.14.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.14

Description

When the requested disk size cannot be applied because it is lower than the original size the request is silently ignored.
This can be confusing because the resulting size is not the requested one

Associated revisions

Revision ebf34a69
Added by Carlos Martín over 5 years ago

Bug #4069: Honor the value requested in the disk-resize input

This way if the value is lower the user will be notified with
an error from the core. A nicer way would be to use a custom
abide validator

Revision afd6caa9
Added by Carlos Martín over 5 years ago

Bug #4069: Honor the value requested in the disk-resize input

This way if the value is lower the user will be notified with
an error from the core. A nicer way would be to use a custom
abide validator

(cherry picked from commit ebf34a69c4e8b61e15e8ce742e627e4c47cddb36)

History

#1 Updated by Carlos Martín over 5 years ago

  • Status changed from New to Closed
  • Assignee set to Carlos Martín
  • Resolution set to fixed

The value is now sent as is to the core, and that will return an error message.

A better way that could be implemented in the future: use a custom abide validator to check min and max values.

Also available in: Atom PDF