empty ERROR message in novaclient when quota exceeded

Bug #981286 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Christian Berendt

Bug Description

trying to create a new instance with a tenant that has an exceeded quota gives me an empty error message. would be nice to have a hint as sysadmin what's wrong.

os0006:~ # nova --os_username berendt --os_password xxxxxx --os_tenant_name b1systems --os_auth_url http://xxx.b1-systems.de:5000/v2.0 boot --flavor 23 --image 8b25b72c-1cd9-4641-911e-d69a1e57ed9e testing100
ERROR:

in /var/log/nova/api.log I can see this error:

2012-04-14 02:25:49 WARNING nova.compute.api [req-b59c8fdd-19f6-44f9-96c4-0529d69d1421 181fa4bf5a244420a48e2fbb28118dde b845890ccdc44640a97ff486a961858a] Quota exceeded for b845890ccdc44640a97ff486a961858a, tried to run 1 instances. Cannot run any more instances of this type.

Revision history for this message
Yaguang Tang (heut2008) wrote :

which version of openstack and novaclient you are use

Revision history for this message
Christian Berendt (berendt) wrote :

Tested with the released tarballs of Essex (2012.1).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in nova:
assignee: nobody → Christian Berendt (berendt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/6838
Committed: http://github.com/openstack/python-novaclient/commit/c36ac8b3d7361e24b3157c72622477227dd77248
Submitter: Jenkins
Branch: master

commit c36ac8b3d7361e24b3157c72622477227dd77248
Author: Christian Berendt <email address hidden>
Date: Thu Apr 26 18:02:39 2012 +0200

    really output the description of an exception

    example without patch:

    nova [...] flavor-delete 123
    ERROR:

    example with this patch:

    nova [...] flavor-delete 123
    ERROR: Flavor 123 could not be found. (HTTP 404)

    fixes bug 981286

    Change-Id: I9c5cead521e48b4970850262fb9af279ec5a7753

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
importance: Undecided → Low
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.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.