Skip to content

Commit 2a68244

Browse files
committed
revert(node_operation): debug messages
1 parent 56bb06f commit 2a68244

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sdcm/utils/nemesis_utils/node_operations.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,11 @@ def is_node_removed_from_cluster(removed_node: BaseNode, verification_node: Base
4747

4848

4949
def is_node_seen_as_down(down_node: BaseNode, verification_node: BaseNode) -> bool:
50-
LOGGER.debug("Verification node %s", verification_node.name)
51-
return down_node not in verification_node.parent_cluster.get_nodes_up_and_normal(verification_node)
50+
LOGGER.debug(">>>>>>>>>>>>>>>>>>Verification node %s", verification_node.name)
51+
un_nodes = verification_node.parent_cluster.get_nodes_up_and_normal(verification_node)
52+
LOGGER.debug(">>>>>>>>>>>>>>>>>>Current un nodes %s", [(node.name, node.ipaddress) for node in un_nodes])
53+
LOGGER.debug("Down node: %s", (down_node.name, down_node.ip_address))
54+
is_down = down_node in un_nodes
55+
LOGGER.debug(">>>>>>>>>>>>>>>>>>Node Down is : %s", is_down)
56+
57+
return is_down

0 commit comments

Comments
 (0)