Add quota check to Extend Volume dialog
Bug #1285922 reported by
Vahid Hashemian
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Zhenguo Niu |
Bug Description
In Extend Volume dialog if the size provided is larger than available quota the extend action takes place and then an error is displayed. It would be better to run the size vs. quota check first before triggering the action.
Steps to reproduce:
1. Go to Project > Volumes
2. Create an empty volume of 1 GB size
3. Extend the volume and for the new size type in a number that's beyond the available quota (1200)
4. You'll notice the modal is closed and an error message is shown saying "Error: Unable to extend volume" with no indication of what went wrong.
Suggestion is to show a proper error message on the modal.
Changed in horizon: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
status: | New → In Progress |
Changed in horizon: | |
importance: | Undecided → Low |
milestone: | none → juno-3 |
tags: | removed: extend horizon |
Changed in horizon: | |
milestone: | juno-3 → juno-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/76107 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=db43ac19576 72315b8c14f42b5 bce26ec6c55e45
Committed: https:/
Submitter: Jenkins
Branch: master
commit db43ac195767231 5b8c14f42b5bce2 6ec6c55e45
Author: Zhenguo Niu <email address hidden>
Date: Tue Feb 25 15:16:15 2014 +0800
Add quota validation to volume extending size
We should validate extending size before handle the action
like create volume.
Change-Id: Ibc9f75d7b331e0 91af813a27ec5b0 b68d7855e5d
Closes-Bug: #1285922