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

Add new controller variable to enable / disable the catch timeout mes… #1465

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

maximenoel8
Copy link
Contributor

What does this PR

During build validation, we have server instability when bootstrapping the clients in parallel but also when running the smoke tests in parallel.
To manage this situation and avoid having to run those stages manually, we added a mechanism in the testsuite to catch those timeouts and reload the page when possible.
This mechanism is now optional and is disable by default

This PR add the possibility to enable the catch timeout mechanism during CI deployment.

It creates a new variable used in the controller bashrc to enable the catch timeout mechanism.

@@ -762,6 +762,11 @@ variable "no_mirror" {
default = false
}

variable "catch_timeout_message" {
description = "Specify to controller, enable the mechanism to catch timeout message we have during BV"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would avoid mentioning anything in regard BV, as sumaform should not know about this concept.

Maybe something like:
"Enable the mechanism to catch the timeout message shown by a server overloaded"

Copy link
Member

@srbarrios srbarrios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but please consider to address my suggestion.

Copy link
Contributor

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@maximenoel8 maximenoel8 merged commit f67f002 into uyuni-project:master Jan 18, 2024
2 checks passed
@maximenoel8 maximenoel8 deleted the catch_timeout_message branch January 18, 2024 22:04
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.

4 participants