Extending a volume without enough quota isn't caught at API level

Bug #1256763 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Vincent Hou

Bug Description

I think this should be caught at API level, it means instant feedback for the user and also the volume goes to "error_extending" which can confuse a user thinking the volume is no longer usable.

Vincent Hou (houshengbo)
Changed in cinder:
assignee: nobody → Vincent Hou (houshengbo)
Changed in cinder:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → Low
milestone: none → icehouse-2
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/65436

Changed in cinder:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/67011

Revision history for this message
Vincent Hou (houshengbo) wrote :

Please review the patch https://review.openstack.org/#/c/65436/ for this issue.

Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-2 → icehouse-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/65436
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=24d6b57d1cb0c4f91545f85ea9c766d1e0ec50a0
Submitter: Jenkins
Branch: master

commit 24d6b57d1cb0c4f91545f85ea9c766d1e0ec50a0
Author: Vincent Hou <email address hidden>
Date: Wed Jan 8 02:52:54 2014 -0500

    Validate the quota in the API layer for volume extend

    The user needs a friendly message feedback if the quota exceeds when
    the volume is about to extend.

    Change-Id: Ifd523ac5e9039861cf87711dc5c4842b5cb524c2
    Closes-Bug: #1256763

Changed in cinder:
status: In Progress → Fix Committed
Mike Perez (thingee)
tags: added: drivers vmware
Revision history for this message
John Griffith (john-griffith) wrote :

Removed tags, this is independent of drivers and moves the quota check up to the API to provide error response to the caller.

tags: removed: drivers vmware
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-3 → 2014.1
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.