yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03815
[Bug 1182859] Re: stacktrace when security groups quote exceeded
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1182859
Title:
stacktrace when security groups quote exceeded
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
A stacktrace gets generated in the log files when the security group
quota limit is exceeded. Should handle the exception so the error is
handled more gracefully
24427316-tenant[00;32m] [01;35m[00;32mCalling method <bound method SecurityGroupController.create of <nova.api.openstack.compute.contrib.security_groups.SecurityGroupController object at 0x4a49790>>[00m [00;33mfrom (pid=10209) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:922[00m
2013-05-22 17:07:06.675 [01;31mERROR nova.api.openstack [[01;36mreq-492b7222-87cf-4329-9ebf-6944eb931a94 [00;36mQuotasAdminTestJSON1938133381-user QuotasAdminTestJSON24427316-tenant[01;31m] [01;35m[01;31mCaught error: Quota exceeded, too many security groups.[00m
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00mTraceback (most recent call last):
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/__init__.py", line 83, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return req.get_response(self.application)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m application, catch_exc_info=False)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m app_iter = application(self.environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return resp(environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 456, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return self.app(env, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return resp(environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return resp(environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m response = self.app(environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return resp(environ, start_response)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m resp = self.call_func(req, *args, **self.kwargs)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return self.func(req, *args, **kwargs)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 899, in __call__
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m content_type, body, accept)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 953, in _process_stack
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m action_result = self.dispatch(meth, request, action_args)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1032, in dispatch
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m return method(req=request, **action_args)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/compute/contrib/security_groups.py", line 293, in create
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m context, group_name, group_description)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/compute/api.py", line 2879, in create_security_group
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m self.raise_over_quota(msg)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m File "/opt/stack/nova/nova/api/openstack/compute/contrib/security_groups.py", line 620, in raise_over_quota
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m raise exception.SecurityGroupLimitExceeded(msg)
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00mSecurityGroupLimitExceeded: Quota exceeded, too many security groups.
[01;31m2013-05-22 17:07:06.675 TRACE nova.api.openstack [01;35m[00m
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1182859/+subscriptions