Skip to content

Commit febc1d2

Browse files
committed
Add logging for cluster readiness check in SCSClusterStatusChecker
1 parent 59ca6f3 commit febc1d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/modules/get_cluster_status_scs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Python script to get and validate the status of an SCS cluster.
66
"""
77

8+
import logging
89
import xml.etree.ElementTree as ET
910
from typing import Dict, Any
1011
from ansible.module_utils.basic import AnsibleModule
@@ -57,6 +58,9 @@ def _is_cluster_ready(self) -> bool:
5758
:return: True if the cluster is ready, False otherwise.
5859
:rtype: bool
5960
"""
61+
self.log(
62+
logging.INFO, f"Checking if the cluster is ready, ASCS NODE {self.result['ascs_node']}"
63+
)
6064
return self.result["ascs_node"] != ""
6165

6266
def _is_cluster_stable(self) -> bool:

0 commit comments

Comments
 (0)