From 2e027b13dd7ee442b85da086541dc497c3012c59 Mon Sep 17 00:00:00 2001 From: Pawan Pinjarkar Date: Mon, 19 Jan 2026 12:18:16 -0500 Subject: [PATCH] AGENT-1425: TUI does not show local web UI URL The agent-ui service was previously updated to 'Type=notify' to improve startup ordering and reliability. However, the lack of container monitor '--sdnotify=conmon' flag, resulted in UI URL to be not displayed on the TUI. Without this flag, agent-ui systemd waits for a readiness signal which never comes and the service remains in 'activating' state. This causes the TUI availability check to fail, making the user only see "Waiting for services" instead of UI URL ( even though the UI is already avaialble via the usual URL) This commit adds the missing flag, ensuring the notification handshake between the container running UI and the agent-ui systemd completes successfully and unblocking the TUI. This commit also fixes the stale dependency in agent-register-infraenv related to agent-ui systemd naming. --- .../systemd/units/agent-register-infraenv.service.template | 2 +- data/data/agent/systemd/units/agent-ui.service.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/data/agent/systemd/units/agent-register-infraenv.service.template b/data/data/agent/systemd/units/agent-register-infraenv.service.template index 027aff4a58..c24a8da866 100644 --- a/data/data/agent/systemd/units/agent-register-infraenv.service.template +++ b/data/data/agent/systemd/units/agent-register-infraenv.service.template @@ -23,4 +23,4 @@ RestartSec=30 RemainAfterExit=true [Install] -WantedBy=start-cluster-installation.service agent-add-node.service agent-start-ui.service +WantedBy=start-cluster-installation.service agent-add-node.service agent-ui.service diff --git a/data/data/agent/systemd/units/agent-ui.service.template b/data/data/agent/systemd/units/agent-ui.service.template index 325418132c..9e51ff14a7 100644 --- a/data/data/agent/systemd/units/agent-ui.service.template +++ b/data/data/agent/systemd/units/agent-ui.service.template @@ -13,7 +13,7 @@ EnvironmentFile=/etc/assisted/rendezvous-host.env Restart=on-failure ExecStartPre=/bin/rm -f %t/%n.ctr-id ExecStartPre=/usr/local/bin/wait-for-assisted-service.sh -ExecStart=/usr/bin/podman run --net host --cidfile=%t/%n.ctr-id --cgroups=no-conmon --log-driver=journald --rm --pod-id-file=%t/assisted-service-pod.pod-id --replace -d --name=agent-installer-ui --env AIUI_APP_API_URL $INSTALLER_UI_IMAGE +ExecStart=/usr/bin/podman run --sdnotify=conmon --net host --cidfile=%t/%n.ctr-id --cgroups=no-conmon --log-driver=journald --rm --pod-id-file=%t/assisted-service-pod.pod-id --replace -d --name=agent-installer-ui --env AIUI_APP_API_URL $INSTALLER_UI_IMAGE ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id