← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817219] [NEW] Failed to list security group tags

 

Public bug reported:

branch: master
environment: devstack
error log: http://paste.openstack.org/show/745657/
```
Feb 22 10:40:15 lingxiankong-pc neutron-server[3164]: DEBUG neutron.wsgi [-] (3195) accepted ('192.168.206.8', 41556) {{(pid=3195) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:956}}
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation [None req-acd651ef-cef2-4b36-9d46-7b81e4d18793 demo demo] GET failed.: TypeError: argument of type 'NoneType' is not iterable
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation Traceback (most recent call last):
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 682, in __call__
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     controller, args, kwargs = self.find_controller(state)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 858, in find_controller
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     controller, args, kw = super(Pecan, self).find_controller(_state)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 550, in find_controller
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     self.handle_hooks(self.determine_hooks(controller), 'before', state)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 865, in handle_hooks
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     return super(Pecan, self).handle_hooks(hooks, *args, **kw)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 342, in handle_hooks
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     result = getattr(hook, hook_type)(*args)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/pecan_wsgi/hooks/query_parameters.py", line 101, in before
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     filters = _set_filters(state, controller)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/pecan_wsgi/hooks/query_parameters.py", line 81, in _set_filters
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     is_filter_validation_supported=controller.filter_validation)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/api/api_common.py", line 87, in get_filters_from_dict
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     attributes.populate_project_info(attr_info)
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/neutron_lib/api/attributes.py", line 49, in populate_project_info
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     if 'tenant_id' in attributes and 'project_id' not in attributes:
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation TypeError: argument of type 'NoneType' is not iterable
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation
Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: INFO neutron.wsgi [None req-acd651ef-cef2-4b36-9d46-7b81e4d18793 demo demo] 192.168.206.8 "GET /v2.0/security_groups/c63a2657-300b-4ab0-9201-65b49e3ba815/tags HTTP/1.1" status: 500  len: 368 time: 0.4839101
```

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1817219

Title:
  Failed to list security group tags

Status in neutron:
  New

Bug description:
  branch: master
  environment: devstack
  error log: http://paste.openstack.org/show/745657/
  ```
  Feb 22 10:40:15 lingxiankong-pc neutron-server[3164]: DEBUG neutron.wsgi [-] (3195) accepted ('192.168.206.8', 41556) {{(pid=3195) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:956}}
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation [None req-acd651ef-cef2-4b36-9d46-7b81e4d18793 demo demo] GET failed.: TypeError: argument of type 'NoneType' is not iterable
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation Traceback (most recent call last):
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 682, in __call__
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     controller, args, kwargs = self.find_controller(state)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 858, in find_controller
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     controller, args, kw = super(Pecan, self).find_controller(_state)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 550, in find_controller
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     self.handle_hooks(self.determine_hooks(controller), 'before', state)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 865, in handle_hooks
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     return super(Pecan, self).handle_hooks(hooks, *args, **kw)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 342, in handle_hooks
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     result = getattr(hook, hook_type)(*args)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/pecan_wsgi/hooks/query_parameters.py", line 101, in before
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     filters = _set_filters(state, controller)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/pecan_wsgi/hooks/query_parameters.py", line 81, in _set_filters
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     is_filter_validation_supported=controller.filter_validation)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/opt/stack/neutron/neutron/api/api_common.py", line 87, in get_filters_from_dict
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     attributes.populate_project_info(attr_info)
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation   File "/usr/local/lib/python2.7/dist-packages/neutron_lib/api/attributes.py", line 49, in populate_project_info
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation     if 'tenant_id' in attributes and 'project_id' not in attributes:
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation TypeError: argument of type 'NoneType' is not iterable
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: ERROR neutron.pecan_wsgi.hooks.translation
  Feb 22 10:40:16 lingxiankong-pc neutron-server[3164]: INFO neutron.wsgi [None req-acd651ef-cef2-4b36-9d46-7b81e4d18793 demo demo] 192.168.206.8 "GET /v2.0/security_groups/c63a2657-300b-4ab0-9201-65b49e3ba815/tags HTTP/1.1" status: 500  len: 368 time: 0.4839101
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1817219/+subscriptions


Follow ups