From c0d1a4a5845a92219f9c4c98fbacf72067f89f3e Mon Sep 17 00:00:00 2001 From: Phan Le Date: Wed, 27 Dec 2023 18:20:50 -0800 Subject: [PATCH] Fix error log "Found unknown instance manager" When we found an instance manager with correct type but not in the running state, don't print out the log "Found unknown instance manager" because it is misleading The function wait_for_instance_manager_desire_state() below it already taking care of waiting for the instance manager to be running. longhorn-7413 Signed-off-by: Phan Le --- manager/integration/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/integration/tests/common.py b/manager/integration/tests/common.py index 69b3958400..58f2316490 100644 --- a/manager/integration/tests/common.py +++ b/manager/integration/tests/common.py @@ -3556,7 +3556,7 @@ def wait_for_all_instance_manager_running(client): node_to_instance_manager_map = {} try: for im in instance_managers: - if im.managerType == "aio" and im.currentState == "running": + if im.managerType == "aio": node_to_instance_manager_map[im.nodeID] = im else: print("\nFound unknown instance manager:", im)