]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't log a warning if an iptables chain doesn't exist
authorBrian Haley <brian.haley@hp.com>
Thu, 18 Dec 2014 21:02:10 +0000 (16:02 -0500)
committerBrian Haley <brian.haley@hp.com>
Thu, 15 Jan 2015 21:30:57 +0000 (21:30 +0000)
commitb63755abd905f7e01c6e7d65887e5e0c7c01a45c
tree41c9524d8d79722b4dc6d2f5c7194bcc9895c0dc
parent150f5fbdcaa62f14477588db734aafedc265e46b
Don't log a warning if an iptables chain doesn't exist

The iptables_manager remove_chain() function calls LOG.warn()
if asked to remove a chain that it doesn't know about.  This
is spamming the neutron-full gate job pretty bad.  Change to
LOG.debug() since reverting the change that caused it is
difficult since the FWaaS code has been split-out from the
tree.

Introduced in change 6eee93a98c67

Change-Id: Ieb20ae01137223110abf3c933e4981ff39055398
Closes-bug: #1404016
neutron/agent/linux/iptables_manager.py
neutron/tests/unit/test_iptables_manager.py