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 9a08b529a7)
This commit is contained in:
Tobias Urdin 2022-03-29 07:56:45 +00:00 committed by Tobias Urdin
parent bed18e58e5
commit cc22c4d6e8
1 changed files with 2 additions and 2 deletions

View File

@ -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):