Skip to content

DO NOT MERGE: hostagent: add a timeout to requirement check attempts - #5383

Draft
jandubois wants to merge 1 commit into
lima-vm:masterfrom
jandubois:requirement-probe-timeout
Draft

DO NOT MERGE: hostagent: add a timeout to requirement check attempts#5383
jandubois wants to merge 1 commit into
lima-vm:masterfrom
jandubois:requirement-probe-timeout

Conversation

@jandubois

@jandubois jandubois commented Aug 3, 2026

Copy link
Copy Markdown
Member

A requirement check gets 200 retries, but each attempt waits on its ssh probe forever, so one connection that never returns blocks startup until limactl's watchdog expires. This happened on a macOS host where security software withheld data from the first ssh connection while a second connection succeeded instantly (rancher-sandbox/rancher-desktop#10761).

Kill the probe after 3 seconds and let the loop retry; the connection is local, so a slow probe is a wedged probe.

Assisted-by: Fable 5


This should not be merged as-is; part of the change should go into sshocker instead.

A requirement check gets 200 retries, but each attempt waits on its
ssh probe forever, so one connection that never returns blocks
startup until limactl's watchdog expires. This happened on a macOS
host where security software withheld data from the first ssh
connection while a second connection succeeded instantly
(rancher-sandbox/rancher-desktop#10761).

Kill the probe after 3 seconds and let the loop retry; the
connection is local, so a slow probe is a wedged probe.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
@jandubois jandubois changed the title hostagent: add a timeout to requirement check attempts DO NOT MERGE: hostagent: add a timeout to requirement check attempts Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant