Bug 1109423

Summary: Extend Volume Dialog could be smarter
Product: Red Hat OpenStack Reporter: Matt Reid <mreid>
Component: python-django-horizonAssignee: Julie Pichon <jpichon>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: aortega, athomas, jpichon, mrunge, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-2014.2-4.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-20 12:13:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1099570    

Description Matt Reid 2014-06-13 20:17:01 UTC
Description of problem:
I just made a 3gb test volume, and went to extend it. When the dialog opens, the Size field isn't filled out yet. It would be really nice if Size was pre-filled when the dialog was loaded with the current size, and then they can modify that up to extend it.

I wondered if despite the name, you could use it to shrink a volume, and was greeted with an error after the dialog reloaded. It seems like it should be fairly easy to do some field level validation and not require a reload on this dialog when they try to extend a volume to a number we don't like.

Additionally, if we're only letting them change the size of the volume, perhaps Name should be a read-only field and not marked required, rather than looking editable but having a disabled mouse cursor when you hover over it.

Note: This has been marked as a dupe upstream, but I'm not sure the patch mentioned addresses everything I would hope to see changed in the dialog...

Comment 2 Julie Pichon 2014-11-20 12:13:51 UTC
I'm marking this as a duplicate of bug 1096219 to match the upstream relation although feel free to reopen if you think it is needed (there are instructions in comment 6 for how to do that on Launchpad too). Note that the name field is now greyed out more clearly, and that attempting to shrink the volume results in an error message "New size must be greater than current size."

*** This bug has been marked as a duplicate of bug 1096219 ***