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
This commit is contained in:
waleed mousa 2019-07-07 03:18:42 -04:00
parent 5d44b582b5
commit 54d96c4a70
1 changed files with 3 additions and 2 deletions

View File

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