yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07730
[Bug 1263877] Re: ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4 in iptables_fwaas.py
** Project changed: openstack-manuals => neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1263877
Title:
ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4 in iptables_fwaas.py
Status in OpenStack Neutron (virtual network service):
New
Bug description:
In method _enable_policy_chain in
neutron/services/firewall/drivers/linux/iptables_fwaas.py, the ipv6
should use ipt_mgr.ipv6, but it written in the wrong ipt_mgr.ipv4. The
code likes:
def _enable_policy_chain(self, fwid, ipt_mgr):
bname = iptables_manager.binary_name
for (ver, tbl) in [(IPV4, ipt_mgr.ipv4['filter']),
(IPV6, ipt_mgr.ipv4['filter'])]: # here should use ipt_mgr.ipv6
for direction in [INGRESS_DIRECTION, EGRESS_DIRECTION]:
chain_name = self._get_chain_name(fwid, ver, direction)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1263877/+subscriptions