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 wait for Tower API in config-ansible-tower-ocp-ldap-ca role #653

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

MAHDTech
Copy link
Contributor

@MAHDTech MAHDTech commented Oct 7, 2021

What does this PR do?

Adds a check that the Tower API is available before ending the role to ensure that any following roles that depend on the API being available will work.

How should this be tested?

Run the role

Is there a relevant Issue open for this?

N/A

Other Relevant info, PRs, etc.

On slower environments there is a race condition where the Deployment reports as being Ready due to passing healthcheck but the API is not ready to serve requests.

People to notify

cc: @redhat-cop/infra-ansible

@MAHDTech MAHDTech force-pushed the feature/tower-api-wait branch from 0a2c496 to c3bb4eb Compare October 7, 2021 02:10
@MAHDTech MAHDTech force-pushed the feature/tower-api-wait branch from e934b11 to f66e7c3 Compare October 7, 2021 02:35
@MAHDTech MAHDTech marked this pull request as ready for review October 7, 2021 02:37
@MAHDTech MAHDTech requested a review from oybed October 13, 2021 09:38
Copy link
Contributor

@oybed oybed left a comment

Choose a reason for hiding this comment

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

LGTM

@oybed oybed merged commit 5e51dd3 into redhat-cop:main Oct 13, 2021
jfilipcz pushed a commit to jfilipcz/infra-ansible that referenced this pull request Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants