Skip to content

fix(preflight): configurable l2ping ssh_timeout (Helios-R 180s abort) - #383

Open
speriaswamy-amd wants to merge 2 commits into
mainfrom
fix/preflight-l2ping-timeout
Open

fix(preflight): configurable l2ping ssh_timeout (Helios-R 180s abort)#383
speriaswamy-amd wants to merge 2 commits into
mainfrom
fix/preflight-l2ping-timeout

Conversation

@speriaswamy-amd

Copy link
Copy Markdown
Contributor

Summary

  • IFoE L2 ping hardcoded ssh_timeout=180 and loss_threshold_pct=0.0. Schema only allowed enabled + pings_per_port, so operators could not override.
  • On Helios-R (k19-1), afmctl test ping -c 3 often runs ~2–4 min per invocation (half-cabled / failing dst accelerators). That exceeds 180s, so PSSH killed the sweep and pruned the node even when the fabric was still producing tables. afmctl -t itself defaults to 5 minutes.
  • This PR makes ssh_timeout (default 600s) and loss_threshold_pct first-class connectivity_check.ifoe.l2ping keys, wires them through IfoeL2ConnectivityCheck, and shows the timeout on the preflight HTML report.

Test plan

  • Unit tests in test_ifoe_l2_connectivity.py (schema accept/reject, config wiring, default 600s)
  • Hardware: k19-1 with ssh_timeout=600 — slow invocations completed (~4 min); pytest-html recorded 600s. Remaining FAIL is fabric (port 33 + ~50% full-mesh loss), not the timeout.

Made with Cursor

Half-cabled afmctl sweeps exceed the hardcoded 180s cap and prune healthy nodes; expose ssh_timeout (default 600s) and loss_threshold_pct so operators can override.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread cvs/input/config_file/preflight/README_preflight_config.md Outdated
Customer JSON should name the PSSH read_timeout, not DEFAULT_SSH_TIMEOUT_SEC. The checker still takes ssh_timeout internally.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants