Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use timeout to kill vrnetlab readiness check SSH sessions #1734

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

ipspace
Copy link
Owner

@ipspace ipspace commented Jan 3, 2025

The SSH client used to check vrnetlab readiness can be stuck for an awfully long when the VM is in just the right phase of getting ready. This change uses the 'timeout' command (when available) to kill the check after 5 seconds, allowing the Ansible retry mechanism to work as expected.

The SSH client used to check vrnetlab readiness can be stuck for
an awfully long when the VM is in just the right phase of getting
ready. This change uses the 'timeout' command (when available) to
kill the check after 5 seconds, allowing the Ansible retry mechanism
to work as expected.
@ipspace ipspace requested a review from ssasso January 3, 2025 11:56
@ipspace ipspace merged commit b3ae80e into dev Jan 3, 2025
12 checks passed
@ipspace ipspace deleted the ssh-timeout branch January 3, 2025 12:39
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