← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368055] [NEW] NoneType not iterable with None in bulk body

 

Public bug reported:

2014-09-11 01:38:57.752 22667 ERROR neutron.api.v2.base [req-91733c92-6d15-4fd1-97b6-edcd704280d3 None] Request body: {u'subnets': None}
2014-09-11 01:38:57.752 22667 ERROR neutron.api.v2.resource [req-91733c92-6d15-4fd1-97b6-edcd704280d3 None] create failed
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 357, in create
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     allow_bulk=self._allow_bulk)
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 573, in prepare_request_body
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     bulk_body = [prep_req_body(item) for item in body[collection]]
2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource TypeError: 'NoneType' object is not iterable

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  NoneType not iterable with None in bulk body

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  2014-09-11 01:38:57.752 22667 ERROR neutron.api.v2.base [req-91733c92-6d15-4fd1-97b6-edcd704280d3 None] Request body: {u'subnets': None}
  2014-09-11 01:38:57.752 22667 ERROR neutron.api.v2.resource [req-91733c92-6d15-4fd1-97b6-edcd704280d3 None] create failed
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 87, in resource
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 357, in create
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     allow_bulk=self._allow_bulk)
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 573, in prepare_request_body
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource     bulk_body = [prep_req_body(item) for item in body[collection]]
  2014-09-11 01:38:57.752 22667 TRACE neutron.api.v2.resource TypeError: 'NoneType' object is not iterable

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


Follow ups

References