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

acm_certificate - allow for a retry on the _info call after uploading a cert #1405

Merged

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Aug 10, 2022

SUMMARY

We're sometimes hitting a race condition where we call _info before the APIs are ready to return details of the cert.
In a perfect world we'd add some waiters, but let's prevent unrelated failures when modifying amazon.aws module_utils first

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

acm_certificate

ADDITIONAL INFORMATION

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 4m 08s
✔️ build-ansible-collection SUCCESS in 5m 03s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 10s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 11s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 23s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 16s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 6m 02s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 5m 51s
✔️ ansible-test-splitter SUCCESS in 2m 32s
✔️ integration-community.aws-1 SUCCESS in 9m 08s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review integration tests/integration needs_triage plugins plugin (any type) small_patch Hopefully easy to review tests tests labels Aug 10, 2022
@tremble tremble added mergeit Merge the PR (SoftwareFactory) backport-4 PR should be backported to the stable-4 branch labels Aug 11, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 4m 13s
✔️ build-ansible-collection SUCCESS in 4m 50s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 42s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 10s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 27s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 48s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 7m 22s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 6m 45s
✔️ ansible-test-splitter SUCCESS in 3m 01s
✔️ integration-community.aws-1 SUCCESS in 13m 20s
⚠️ integration-community.aws-2 SKIPPED
⚠️ integration-community.aws-3 SKIPPED
⚠️ integration-community.aws-4 SKIPPED
⚠️ integration-community.aws-5 SKIPPED
⚠️ integration-community.aws-6 SKIPPED
⚠️ integration-community.aws-7 SKIPPED
⚠️ integration-community.aws-8 SKIPPED
⚠️ integration-community.aws-9 SKIPPED
⚠️ integration-community.aws-10 SKIPPED
⚠️ integration-community.aws-11 SKIPPED
⚠️ integration-community.aws-12 SKIPPED
⚠️ integration-community.aws-13 SKIPPED

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit e265ece into ansible-collections:main Aug 11, 2022
@patchback
Copy link

patchback bot commented Aug 11, 2022

Backport to stable-4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4/e265ece597eb6a48269a7f5169f2a7561e9412d7/pr-1405

Backported as #1407

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Aug 11, 2022
… a cert (#1405)

acm_certificate - allow for a retry on the _info call after uploading a cert

SUMMARY
We're sometimes hitting a race condition where we call _info before the APIs are ready to return details of the cert.
In a perfect world we'd add some waiters, but let's prevent unrelated failures when modifying amazon.aws module_utils first
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
acm_certificate
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
(cherry picked from commit e265ece)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Aug 11, 2022
… a cert (#1405) (#1407)

[PR #1405/e265ece5 backport][stable-4] acm_certificate - allow for a retry on the _info call after uploading a cert

This is a backport of PR #1405 as merged into main (e265ece).
SUMMARY
We're sometimes hitting a race condition where we call _info before the APIs are ready to return details of the cert.
In a perfect world we'd add some waiters, but let's prevent unrelated failures when modifying amazon.aws module_utils first
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
acm_certificate
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
@tremble tremble deleted the tests/acm branch September 9, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4 PR should be backported to the stable-4 branch bug This issue/PR relates to a bug community_review integration tests/integration mergeit Merge the PR (SoftwareFactory) needs_triage plugins plugin (any type) small_patch Hopefully easy to review tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants