From ac31371459ffe23448f1bc25706b4ada238b7818 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 2 Feb 2016 12:29:53 -0500 Subject: [PATCH] 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 --- neutron/notifiers/nova.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/notifiers/nova.py b/neutron/notifiers/nova.py index 9abe6bcc90d..c444c19afc6 100644 --- a/neutron/notifiers/nova.py +++ b/neutron/notifiers/nova.py @@ -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)