Activity log for bug #1326958

Date Who What changed Old value New value Message
2014-06-05 20:35:13 Matt Fischer bug added bug
2014-06-05 20:35:49 Matt Fischer description Neutron does not seem to implement the default security groups calls, so when neutron is managing security groups, nova tries to pass the call off to it (I think) and fails. I think this bug is really against neutron and nova, but I'm not sure where to start. I'm not sure if anyone else is trying to use this call or not and maybe it should just be dropped. The API doesn't support it and the docs on it are wrong. curl -i 'http://1.2.3.4:8774/v2/f5ad8f41cd8540ca83b6998b83bf9bba/os-security-group-default-rules' -X GET -H "X-Auth-Project-Id: admin" -H "Accept: application/json" -H "X-Auth-Token: 487b898af056401b806786623e3c2656" 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack Traceback (most recent call last): 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return req.get_response(self.application) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack application, catch_exc_info=False) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 582, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return self.app(env, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack response = self.app(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return self.func(req, *args, **kwargs) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 917, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack content_type, body, accept) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 983, in _process_stack 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return method(req=request, **action_args) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_group_default_rules.py", line 181, in index 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack for rule in self.security_group_api.get_all_default_rules(context): 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack AttributeError: 'NativeNeutronSecurityGroupAPI' object has no attribute 'get_all_default_rules' Neutron does not seem to implement the default security groups calls, so when neutron is managing security groups, nova tries to pass the call off to it (I think) and fails. I think this bug is really against neutron and nova, but I'm not sure where to start. I'm not sure if anyone else is trying to use this call or not and maybe it should just be dropped. The API doesn't support it and the docs on it are wrong. http://docs.openstack.org/api/openstack-compute/2/content/ext-os-security-group-default-rules.html (note that the example URLs in that doc are missing the word "default") curl -i 'http://1.2.3.4:8774/v2/f5ad8f41cd8540ca83b6998b83bf9bba/os-security-group-default-rules' -X GET -H "X-Auth-Project-Id: admin" -H "Accept: application/json" -H "X-Auth-Token: 487b898af056401b806786623e3c2656" 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack Traceback (most recent call last): 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return req.get_response(self.application) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack application, catch_exc_info=False) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 582, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return self.app(env, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack response = self.app(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return resp(environ, start_response) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return self.func(req, *args, **kwargs) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 917, in __call__ 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack content_type, body, accept) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 983, in _process_stack 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack return method(req=request, **action_args) 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_group_default_rules.py", line 181, in index 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack for rule in self.security_group_api.get_all_default_rules(context): 2014-06-05 20:31:24.643 9148 TRACE nova.api.openstack AttributeError: 'NativeNeutronSecurityGroupAPI' object has no attribute 'get_all_default_rules'
2014-06-06 00:11:58 Matt Fischer bug task added neutron
2014-06-06 01:42:15 Aaron Rosen bug task deleted neutron
2014-06-06 01:42:20 Aaron Rosen nova: status New Confirmed
2014-06-06 01:49:22 Aaron Rosen tags network
2014-06-11 18:08:59 Aaron Rosen nova: assignee Aaron Rosen (arosen)
2014-06-11 18:09:02 Aaron Rosen nova: importance Undecided Medium
2014-06-11 18:54:40 Aaron Rosen tags network icehouse-backport-potential network
2014-06-11 18:56:19 OpenStack Infra nova: status Confirmed In Progress
2014-06-18 23:29:15 Evan Petrie bug added subscriber Evan Petrie
2014-07-24 06:27:00 OpenStack Infra nova: status In Progress Fix Committed
2014-08-11 20:33:23 Brent Eagles tags icehouse-backport-potential network icehouse-backport-potential network neutron
2014-09-05 09:52:37 Thierry Carrez nova: status Fix Committed Fix Released
2014-09-05 09:52:37 Thierry Carrez nova: milestone juno-3
2014-10-16 08:47:55 Thierry Carrez nova: milestone juno-3 2014.2
2014-10-16 16:42:07 Evan Petrie removed subscriber Evan Petrie