2026-01-12 02:09:44,235 ERROR: (v1.41) Checker check_zk_mode_and_node_count: Exception, AttributeError Python 3.9.21: /usr/bin/python3 Mon Jan 12 02:09:44 2026 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py in wrapper(*args=(,), **kwargs={}) 1541 self = args[0] 1542 try: 1543 errors = func(*args, **kwargs) 1544 if not errors: 1545 self._logger.info('(v%s) Checker %s: Success', __version__, errors undefined func = args = (,) kwargs = {} /usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py in check_zk_mode_and_node_count(self=) 1591 # Check mode 1592 for stat_out in list(stats.values()): 1593 mode = re.search('Mode:(.*)\n', stat_out).group(1).strip() 1594 modes[mode] += 1 1595 n_zk_servers = len(self._api_args.zk_server_ip.split(',')) mode = 'follower' global re = re.search = stat_out = 'Zookeeper version: 3.7.1-a2fb57c55f8e59cdd76c34b...Connections: 25\nOutstanding: 0\nZxid: 0x100000ac8\n' ).group undefined AttributeError: 'NoneType' object has no attribute 'group' __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Attribute not found.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ("'NoneType' object has no attribute 'group'",) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py", line 1543, in wrapper errors = func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py", line 1593, in check_zk_mode_and_node_count mode = re.search('Mode:(.*)\n', stat_out).group(1).strip() AttributeError: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py", line 1543, in wrapper errors = func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/vnc_cfg_api_server/db_manage.py", line 1593, in check_zk_mode_and_node_count mode = re.search('Mode:(.*)\n', stat_out).group(1).strip() AttributeError: 'NoneType' object has no attribute 'group'