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>
This commit is contained in:
parent
0176877cb5
commit
00f3ab1f13
|
@ -162,7 +162,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:
|
||||
|
|
Loading…
Reference in New Issue