updating allowed_address_pairs without any value or with action clear throws internal server
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.0 |
Won't Fix
|
High
|
Prakash Bailkeri | |||
R2.1 |
Won't Fix
|
High
|
Prakash Bailkeri | |||
R3.0 |
Won't Fix
|
High
|
Prakash Bailkeri | |||
Trunk |
Invalid
|
High
|
Sachin Bansal |
Bug Description
Build 1.10 2282
root@nodec22:
Request Failed: internal server error while processing your request.
root@nodec22:
neutron/server.log:
==================
2014-08-03 12:18:00.196 ERROR [neutron.
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
allow_
File "/usr/lib/
attr_
File "/usr/lib/
for address_pair in address_pairs:
TypeError: 'bool' object is not iterable
Changed in juniperopenstack: | |
assignee: | nobody → Prakash Bailkeri (prakashmb) |
Changed in juniperopenstack: | |
milestone: | r1.10-fcs → none |
Same error when updating to clear the allowed address pair
root@nodec22: /usr/lib/ python2. 7/dist- packages# neutron port-update 13c5ca47- ff5c-422e- beb5-7f68ae8d12 9b --allowed- address- pairs action=clear Request Failed: internal server error while processing your request. /usr/lib/ python2. 7/dist- packages#
root@nodec22:
2014-08-03 12:30:00.547 ERROR [neutron. api.v2. resource] update failed python2. 7/dist- packages/ neutron/ api/v2/ resource. py", line 84, in resource request= request, **args) python2. 7/dist- packages/ neutron/ api/v2/ base.py" , line 460, in update bulk=self. _allow_ bulk) python2. 7/dist- packages/ neutron/ api/v2/ base.py" , line 589, in prepare_ request_ body vals['validate' ][rule] ) python2. 7/dist- packages/ neutron/ extensions/ allowedaddressp airs.py" , line 45, in _validate_ allowed_ address_ pairs
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
allow_
File "/usr/lib/
attr_
File "/usr/lib/
for address_pair in address_pairs:
TypeError: 'NoneType' object is not iterable