Quota message wrong for multiple instances

Bug #1211347 reported by Stanislaw Pitucha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Stanislaw Pitucha

Bug Description

Message for exceeded quota is wrong when spawning multiple instances over nova api. When trying to spawn 10 instances, I got back:

ERROR: Quota exceeded for instances: Requested 1, but already used 31 of 40 instances (HTTP 413)

It should be "Requested 10, but...." in this case.

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/41453

Changed in nova:
assignee: nobody → Stanislaw Pitucha (stanislaw-pitucha)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/41453
Committed: http://github.com/openstack/nova/commit/8c169aa41b9fe68c1f5b426d656a283bd982099b
Submitter: Jenkins
Branch: master

commit 8c169aa41b9fe68c1f5b426d656a283bd982099b
Author: Stanisław Pitucha <email address hidden>
Date: Mon Aug 12 15:38:02 2013 +0000

    Fix the multi-instance quota message

    Make sure that when spawning multiple instance, the quota exceeded
    error still makes sense. Instead of reporting min_count (1) as the
    requested number, report "between min_count and max_count".

    Fixes bug 1211347

    Change-Id: I5a562253788f93b932ccd99bd1dc6630444bd430

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