overLimit fault does not inform client of actual limit exceeded

Bug #902218 reported by Brian Waldon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Pádraig Brady

Bug Description

Currently if you don't have enough resources to build an instance of a specific type, you get the following API response:

{"overLimit": {"message": "Instance quotas have been exceeded", "code": 413, "retryAfter": 0}}

This doesn't seem like enough information to be helpful to the user. I would love to see a better explanation of which quota was exceeded.

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/2221
Committed: http://github.com/openstack/nova/commit/8920181a0d8cfb4f78af0fa0b868e864d8971744
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 8920181a0d8cfb4f78af0fa0b868e864d8971744
Author: Brian Waldon <email address hidden>
Date: Fri Dec 9 11:16:04 2011 -0500

    Use more informative message when violating quota

    Fixes bug 902218

    Change-Id: I185ee726358876c074725f5297da5cedc761ec55

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
Revision history for this message
David Naori (davidnaori3) wrote :

Still getting uninformative error when exceeding cores limit:

ERROR: Quota exceeded: code=InstanceLimitExceeded (HTTP 413)

Changed in nova:
assignee: Brian Waldon (bcwaldon) → nobody
assignee: nobody → Pádraig Brady (p-draigbrady)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Fix Released → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/8179
Committed: http://github.com/openstack/nova/commit/84969afb3bfd467a2f48cf030a325c1a2fcd13ca
Submitter: Jenkins
Branch: master

commit 84969afb3bfd467a2f48cf030a325c1a2fcd13ca
Author: Pádraig Brady <email address hidden>
Date: Tue Jun 5 14:33:43 2012 +0100

    fix the instance quota overlimit message

    This addresses two closely related bugs.

    Bug: 998199
    Fix the "used" and "total" counts
    in the returned diagnostic.

    Bug: 902218
    Itemize instance quota items exceeded,
    in the returned diagnostic.

    Change-Id: Iff7781a7fb53545d44c2b4ec0ca6d65114723c8d

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
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.