Repository navigation
Configurable timeout for the lab status file lock - #3944
Closed
sdargoeuves wants to merge 1 commit into
Closed
sdargoeuves wants to merge 1 commit into
sdargoeuves wants to merge 1 commit into
Conversation
sdargoeuves
marked this pull request as draft
October 13, 2026 15:36
Collaborator
Author
|
this might be useless... I had some problems when starting 20 or more labs at the same time, for which I thought changing this value could help, but it doesn't seem to be the case. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configurable timeout for the lab status file lock
When running many lab instances in parallel with the multilab plugin (20 at the same time in my case), some
netlab upcommands fail because they can't get the lab status file lock within the hard-coded 3-second timeout:This PR adds the
defaults.lab_status_lock_timeoutparameter (in seconds) to change that timeout. Without it, the timeout stays at 3 seconds:The parameter is documented in the multilab plugin documentation, next to
defaults.lab_status_file. I haven't got any validation on this value, not sure if it's worth it (I had it initially, but it seemed a bit of an overkill).Context: I'm working on a way of running several integration tests at the same time using the multilab plugin. I'll open a discussion on this topic.