Over quota message does not give user enough information

Bug #1235148 reported by Ollie Leahy on 2013-10-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Ollie Leahy

Bug Description

The message cinder returns to the user when a create volume/snapshot request would exceed quota does not give the user the information they need to correct the problem. The error message returned is:

Requested volume or snapshot exceeds allowed Gigabytes quota.

The following goes to the api log:

Quota exceeded for 12345678, tried to create 2048G volume (2048G of 4048G already consumed)

However, in general, the user won't have access to the api.log, so those numbers should be passed to the user.

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

Changed in cinder:
assignee: nobody → Ollie Leahy (oliver-leahy-l)
status: New → In Progress

Reviewed: https://review.openstack.org/49774
Committed: http://github.com/openstack/cinder/commit/2d8b905f474a879ad6a9a441e79bf7b05d2d39a5
Submitter: Jenkins
Branch: master

commit 2d8b905f474a879ad6a9a441e79bf7b05d2d39a5
Author: Ollie Leahy <email address hidden>
Date: Fri Oct 4 14:56:26 2013 +0000

    Provide user with more information on quota fail

    Provide the user with useful information when a snapshot or volume
    create fails because it would cause the user to exceed available quota.
    Specifically report the user's current gigabyte usage and quota
    allocations.

    Closes-Bug: #1235148

    Change-Id: Ib4c5dbcbd172c69834c2824791af755380f38e01

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers