summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Moats <rmoats@us.ibm.com>2016-06-29 09:24:14 -0500
committerIhar Hrachyshka <ihrachys@redhat.com>2016-07-25 22:29:21 +0000
commitf5edd006ce196f284dbe50240dd2aaed3170f018 (patch)
treeb42bdd7a0830a31675ecb8e24d0da785b59249a2
parent67c34607f29ba39bb0709bd31f31e784fa5d1af6 (diff)
downloadneutron-f5edd006ce196f284dbe50240dd2aaed3170f018.tar.gz
Lower ML2 message severity.
Logging that a network has no segments as an error message when it doesn't impact execution pollutes logs. Lower the message severity to debug. Change-Id: I7d88581b4703e7c287cec9406dd093089db8595c Closes-Bug: #1597362 Signed-off-by: Ryan Moats <rmoats@us.ibm.com> (cherry picked from commit 00f3ab1f132de6b701c7832626457ad51dd265b6)
-rw-r--r--neutron/plugins/ml2/managers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py
index 3c9e1c2b75..d1e18f06fb 100644
--- a/neutron/plugins/ml2/managers.py
+++ b/neutron/plugins/ml2/managers.py
@@ -161,7 +161,7 @@ class TypeManager(stevedore.named.NamedExtensionManager):
def _extend_network_dict_provider(self, network, segments):
if not segments:
- LOG.error(_LE("Network %s has no segments"), network['id'])
+ LOG.debug("Network %s has no segments", network['id'])
for attr in provider.ATTRIBUTES:
network[attr] = None
elif len(segments) > 1: