nova-notifier: Change warning to debug.

The NotFound response from Nova happens under normal circumstances, so
it should be a debug message, not a warning.  In particular, if nova
itself deletes the port, when we then notify about it, it's going to say
not found.

Change-Id: I782a0fb9f39c2533bcf62b4e7ceb655f067c0282
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant 2016-02-02 12:29:53 -05:00
parent 9546ee7d92
commit ac31371459
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ class Notifier(object):
response = self.nclient.server_external_events.create(
batched_events)
except nova_exceptions.NotFound:
LOG.warning(_LW("Nova returned NotFound for event: %s"),
batched_events)
LOG.debug("Nova returned NotFound for event: %s",
batched_events)
except Exception:
LOG.exception(_LE("Failed to notify nova on events: %s"),
batched_events)