From 54d96c4a70b29d9ff606291637db0d1728ee86f6 Mon Sep 17 00:00:00 2001 From: waleed mousa Date: Sun, 7 Jul 2019 03:18:42 -0400 Subject: [PATCH] Moving insignificant messages from error to warning in sriov_config.py As the messages from _wait_for_vf_creation() don't seem to be error messages so just moving them to be warning Change-Id: Ic573cab63c1168c2bc2bc50c1e20c87c88202692 Closes-Bug: #1833073 --- os_net_config/sriov_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/os_net_config/sriov_config.py b/os_net_config/sriov_config.py index 7e02e66f..0c99fc86 100644 --- a/os_net_config/sriov_config.py +++ b/os_net_config/sriov_config.py @@ -181,9 +181,10 @@ def _wait_for_vf_creation(pf_name, numvfs): % (vf_name, pf_name)) vf_count = vf_count + 1 else: - logger.error("Unable to parse event %s" % event["device"]) + logger.warning("Unable to parse event %s" + % event["device"]) else: - logger.error("%s is not a directory" % pf_path) + logger.warning("%s is not a directory" % pf_path) except Queue.Empty: logger.info("Timeout in the creation of VFs for PF %s" % pf_name) return