From e7135b889a8255d79d401acd56057304214510e9 Mon Sep 17 00:00:00 2001 From: PawelPlesniak Date: Wed, 8 Jul 2026 17:49:19 +0200 Subject: [PATCH] Investigation started --- src/drunc/unified_shell/shell.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/drunc/unified_shell/shell.py b/src/drunc/unified_shell/shell.py index eb8d67b5d..1b8d218bb 100644 --- a/src/drunc/unified_shell/shell.py +++ b/src/drunc/unified_shell/shell.py @@ -274,6 +274,9 @@ def unified_shell( f"{process_manager_address}[/green]" ) ctx.obj.reset(address_pm=process_manager_address) + ctx.obj.log.critical( + f"Investigating the session DAL's connectivity service: {session_dal.connectivity_service}" + ) # Run a simple command (describe) to check the connection with the process manager try: @@ -478,7 +481,10 @@ def cleanup(): # all the processes. During this time the non-terminated processes will continue # to publish to the connectivity service, and this stale information needs to be # cleaned up by retracting the session (again). - if session_dal.connectivity_service.host != "localhost": + if ( + session_dal.connectivity_service + and session_dal.connectivity_service.getattr("host") != "localhost" + ): connectivity_service_address: str = ( f"{session_dal.connectivity_service.host}:" f"{session_dal.connectivity_service.service.port}"