yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10032
[Bug 1282366] [NEW] NVP FWaaS occurs error when create a firewall with no policy
Public bug reported:
VCNS related error should VcnsBadRequest other than BadRequest.
When creating a firewall without policy, it would report the following error:
Traceback (most recent call last):
File "neutron/api/v2/resource.py", line 84, in resource
result = method(request=request, **args)
File "neutron/api/v2/base.py", line 411, in create
obj = obj_creator(request.context, **kwargs)
File "neutron/plugins/nicira/NeutronServicePlugin.py", line 893, in create_firewall
self._vcns_update_firewall(context, fw, router_id)
File "neutron/plugins/nicira/NeutronServicePlugin.py", line 842, in _vcns_update_firewall
self.vcns_driver.update_firewall(context, edge_id, fw_with_rules)
File "neutron/plugins/nicira/vshield/edge_firewall_driver.py", line 231, in update_firewall
fw_req = self._convert_firewall(context, firewall)
File "neutron/plugins/nicira/vshield/edge_firewall_driver.py", line 131, in _convert_firewall
for rule in firewall['firewall_rule_list']:
TypeError: 'NoneType' object is not iterable
}}}
** Affects: neutron
Importance: Undecided
Assignee: berlin (linb)
Status: Confirmed
** Tags: fwaas nicira
** Changed in: neutron
Status: New => Confirmed
** Changed in: neutron
Assignee: (unassigned) => berlin (linb)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1282366
Title:
NVP FWaaS occurs error when create a firewall with no policy
Status in OpenStack Neutron (virtual network service):
Confirmed
Bug description:
VCNS related error should VcnsBadRequest other than BadRequest.
When creating a firewall without policy, it would report the following error:
Traceback (most recent call last):
File "neutron/api/v2/resource.py", line 84, in resource
result = method(request=request, **args)
File "neutron/api/v2/base.py", line 411, in create
obj = obj_creator(request.context, **kwargs)
File "neutron/plugins/nicira/NeutronServicePlugin.py", line 893, in create_firewall
self._vcns_update_firewall(context, fw, router_id)
File "neutron/plugins/nicira/NeutronServicePlugin.py", line 842, in _vcns_update_firewall
self.vcns_driver.update_firewall(context, edge_id, fw_with_rules)
File "neutron/plugins/nicira/vshield/edge_firewall_driver.py", line 231, in update_firewall
fw_req = self._convert_firewall(context, firewall)
File "neutron/plugins/nicira/vshield/edge_firewall_driver.py", line 131, in _convert_firewall
for rule in firewall['firewall_rule_list']:
TypeError: 'NoneType' object is not iterable
}}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1282366/+subscriptions
Follow ups
References