update quota with invalid value(not integer) raise 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Zhou ShaoYu |
Bug Description
Update the quota with a string cause ValueError.
http put http://
2013-01-31 18:45:59.711 ERROR nova.api.openstack [req-c2bb64d1-
2013-01-31 18:45:59.711 TRACE nova.api.openstack Traceback (most recent call last):
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/opt/stack/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return req.get_
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack application, catch_exc_
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack app_iter = application(
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return resp(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return self.app(env, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return resp(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return resp(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return resp(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return resp(environ, start_response)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/usr/local/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/opt/stack/
2013-01-31 18:45:59.711 TRACE nova.api.openstack content_type, body, accept)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/opt/stack/
2013-01-31 18:45:59.711 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/opt/stack/
2013-01-31 18:45:59.711 TRACE nova.api.openstack return method(req=request, **action_args)
2013-01-31 18:45:59.711 TRACE nova.api.openstack File "/opt/stack/
2013-01-31 18:45:59.711 TRACE nova.api.openstack for key in body['quota_
2013-01-31 18:45:59.711 TRACE nova.api.openstack ValueError: invalid literal for int() with base 10: ''
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/20890
Review: https:/