← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282366] Re: NVP FWaaS occurs error when creating firewall without policy

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
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 creating firewall without policy

Status in OpenStack Neutron (virtual network service):
  Fix Released

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


References