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

fix: add timeout for registrar service - use 30 second timeout for registrar and verifier #34

Merged

Conversation

richm
Copy link
Contributor

@richm richm commented Jan 16, 2024

Cause: The registrar service can fail, but the Ansible service reports success.

Consequence: The user does not know that the registrar was mis-configured.

Fix: Check the registrar ip and port to ensure they become available. Use a 30
second timeout for both the verifier and registrar as the default 300 seconds for
the wait_for module is too long.

Result: Users are notified in a timely manner if the services failed to start.

Signed-off-by: Rich Megginson rmeggins@redhat.com

…gistrar and verifier

Cause: The registrar service can fail, but the Ansible service reports success.

Consequence: The user does not know that the registrar was mis-configured.

Fix: Check the registrar ip and port to ensure they become available.  Use a 30
second timeout for both the verifier and registrar as the default 300 seconds for
the `wait_for` module is too long.

Result: Users are notified in a timely manner if the services failed to start.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
@richm richm requested a review from spetrosi as a code owner January 16, 2024 19:16
@richm richm merged commit 2ea10e8 into linux-system-roles:main Jan 17, 2024
10 checks passed
@richm richm deleted the fix-wait_for-registrar-improve-timeout branch January 17, 2024 20:20
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.

None yet

1 participant