Add quota check to Extend Volume dialog

Bug #1285922 reported by Vahid Hashemian
6
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.

Tags: volume
Changed in horizon:
assignee: nobody → Zhenguo Niu (niu-zglinux)
status: New → In Progress
Changed in horizon:
importance: Undecided → Low
milestone: none → juno-3
Akihiro Motoki (amotoki)
tags: removed: extend horizon
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/76107
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=db43ac1957672315b8c14f42b5bce26ec6c55e45
Submitter: Jenkins
Branch: master

commit db43ac1957672315b8c14f42b5bce26ec6c55e45
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: Ibc9f75d7b331e091af813a27ec5b0b68d7855e5d
    Closes-Bug: #1285922

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.