From cc22c4d6e8e21f9d142ba0d66c75a3d994924a1e Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Tue, 29 Mar 2022 07:56:45 +0000 Subject: [PATCH] Debug log libvirt metadata version fails We don't need to log this as a warning or info. If you have upgraded from an older version it just outputs that line times the amount of instances on the compute node every minute. Change-Id: Ic0f4ca41d2e4114800aba9d02309f2e04e313752 (cherry picked from commit 9a08b529a781eb787f17a52e2dfbe503069e0ad5) --- ceilometer/compute/virt/libvirt/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceilometer/compute/virt/libvirt/utils.py b/ceilometer/compute/virt/libvirt/utils.py index b7d62fb56a..e30b440f9b 100644 --- a/ceilometer/compute/virt/libvirt/utils.py +++ b/ceilometer/compute/virt/libvirt/utils.py @@ -144,8 +144,8 @@ def instance_metadata(domain): break except libvirt.libvirtError as exc: if exc.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN_METADATA: - LOG.warning("Failed to find metadata %s in domain %s", - meta_version, domain.UUIDString()) + LOG.debug("Failed to find metadata %s in domain %s", + meta_version, domain.UUIDString()) last_error = exc continue elif is_disconnection_exception(exc):