Code missing from error message when quota-breaching instance launched via OS API
Bug #950768 reported by
Eoghan Glynn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Eoghan Glynn |
Bug Description
When an instance launch is attempted via the OpenStack API, but the instances quota is already fully utilized, the error message in the 413 overLimit response is not correctly marshalled:
{u'overLimit': {u'message': u'Quota exceeded: code=%(code)s', u'code': 413, u'retryAfter': 0}}
The 'code=%(code)s' string lacks parameter subsititution so is unclear as to the actual quota that has been breached (e.g. it could be floating IP as opposed to instance stravation).
Whereas when attempting the instance launch via the EC2 API, the correct code is included in the 413 response:
Quota exceeded: code=InstanceLi
Changed in nova: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
Changed in nova: | |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
milestone: | none → essex-rc1 |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/5151
Review: https:/