forked from TrueCloudLab/frostfs-testcases
Merged fix-logging-lelev-in-search into master
This commit is contained in:
commit
2809b56473
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ def _search_object(node:str, private_key: str, cid:str, oid: str):
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
|
|
||||||
if re.search(r'local node is outside of object placement', e.output):
|
if re.search(r'local node is outside of object placement', e.output):
|
||||||
logger.error("Server is not presented in container.")
|
logger.warn("Server is not presented in container.")
|
||||||
|
|
||||||
elif ( re.search(r'timed out after 30 seconds', e.output) or re.search(r'no route to host', e.output) ):
|
elif ( re.search(r'timed out after 30 seconds', e.output) or re.search(r'no route to host', e.output) ):
|
||||||
logger.warn("Node is unavailable")
|
logger.warn("Node is unavailable")
|
||||||
|
|
Loading…
Reference in a new issue