[Rdo-list] fail to modify quota's with nova error

Dafna Ron dron at redhat.com
Wed Oct 1 16:08:35 UTC 2014


Hi,

I tried to modify admin's quota and failing with errors from nova.
Bug opened: https://bugzilla.redhat.com/show_bug.cgi?id=1148526

2014-10-01 18:56:01.676 29330 ERROR nova.api.openstack 
[req-788ef675-d8a1-40bb-8353-1c79bec7470a None] Caught error: 
(DataError) (1264, "Out of range value for column 'hard_limit' at row 
1") 'INSERT INTO quotas (created_at, updated_at,
deleted_at, deleted, project_id, resource, hard_limit) VALUES (%s, %s, 
%s, %s, %s, %s, %s)' (datetime.datetime(2014, 10, 1, 15, 56, 1, 672909), 
None, None, 0, 'a2a577cbc9a142b69ecaaed20b99a165', 'metadata_items', 
12800000000000000)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack Traceback (most 
recent call last):
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 
124, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
req.get_response(self.application)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack application, 
catch_exc_info=False)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in 
call_application
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     app_iter = 
application(self.environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
resp(environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", 
line 661, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
self._app(env, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
resp(environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
resp(environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in 
__call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     response = 
self.app(environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
resp(environ, start_response)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     resp = 
self.call_func(req, *args, **self.kwargs)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
self.func(req, *args, **kwargs)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 908, 
in __call__
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack content_type, 
body, accept)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 974, 
in _process_stack
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack action_result = 
self.dispatch(meth, request, action_args)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 
1058, in dispatch
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
method(req=request, **action_args)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/quotas.py", 
line 200, in update
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     key, value, 
user_id=user_id)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in 
wrapper
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     result = 
fn(cls, context, *args, **kwargs)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/objects/quotas.py", line 119, in 
create_limit
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack 
db.quota_create(context, project_id, resource, limit, user_id=user_id)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/db/api.py", line 1073, in 
quota_create
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack user_id=user_id)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 149, 
in wrapper
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     return 
f(*args, **kwargs)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2933, 
in quota_create
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack quota_ref.save()
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/models.py", line 
52, in save
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack super(NovaBase, 
self).save(session=session)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/openstack/common/db/sqlalchemy/models.py", 
line 49, in save
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack session.flush()
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack   File 
"/usr/lib/python2.7/site-packages/nova/openstack/common/db/sqlalchemy/session.py", 
line 461, in _wrap
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack     raise 
exception.DBError(e)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack DBError: 
(DataError) (1264, "Out of range value for column 'hard_limit' at row 
1") 'INSERT INTO quotas (created_at, updated_at, deleted_at, deleted, 
project_id, resource, hard_limit
) VALUES (%s, %s, %s, %s, %s, %s, %s)' (datetime.datetime(2014, 10, 1, 
15, 56, 1, 672909), None, None, 0, 'a2a577cbc9a142b69ecaaed20b99a165', 
'metadata_items', 12800000000000000)
2014-10-01 18:56:01.676 29330 TRACE nova.api.openstack
2014-10-01 18:56:01.679 29330 INFO nova.api.openstack 
[req-788ef675-d8a1-40bb-8353-1c79bec7470a None] 
http://10.35.117.32:8774/v2/a2a577cbc9a142b69ecaaed20b99a165/os-quota-sets/a2a577cbc9a142b69ecaaed20b99a165 
returned with HTTP 500
:





More information about the dev mailing list