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

[PR #1330/40984a40 backport][stable-4] s3_sync - Improve error handling when testing for existing files #1335

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 9, 2022

This is a backport of PR #1330 as merged into main (40984a4).

SUMMARY

fixes: #58

  • Simplifies handling of '404' codes (use is_boto3_error_code)
  • Assume 403 files need updating (it's the best we can do, and mimics aws cli)
  • Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception()
ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

s3_sync

ADDITIONAL INFORMATION

s3_sync - Improve error handling when testing for existing files

SUMMARY
fixes: #58

Simplifies handling of '404' codes (use is_boto3_error_code)
Assume 403 files need updating (it's the best we can do, and mimics aws cli)
Allows Boto3 exceptions to fall through to the outer try/except clause and cleanly fail rather than rethrowing it as an Exception()

ISSUE TYPE

Feature Pull Request

COMPONENT NAME
s3_sync
ADDITIONAL INFORMATION

Reviewed-by: Joseph Torcasso <None>
(cherry picked from commit 40984a4)
@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request integration tests/integration module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Jul 9, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

✔️ ansible-galaxy-importer SUCCESS in 3m 47s
✔️ build-ansible-collection SUCCESS in 5m 18s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 15s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 55s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 28s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 7m 38s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 5m 58s
✔️ ansible-test-splitter SUCCESS in 3m 28s
✔️ integration-community.aws-1 SUCCESS in 7m 35s
⚠️ 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

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Jul 10, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

✔️ ansible-galaxy-importer SUCCESS in 4m 06s
✔️ build-ansible-collection SUCCESS in 5m 29s
✔️ ansible-test-sanity-docker-devel SUCCESS in 22m 03s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 38s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 10s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 23m 28s
✔️ ansible-test-units-community-aws-python38 SUCCESS in 5m 28s
✔️ ansible-test-units-community-aws-python39 SUCCESS in 13m 25s
✔️ ansible-test-splitter SUCCESS in 2m 40s
✔️ integration-community.aws-1 SUCCESS in 6m 32s
⚠️ 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 b02c322 into stable-4 Jul 10, 2022
@softwarefactory-project-zuul softwarefactory-project-zuul bot deleted the patchback/backports/stable-4/40984a403c150b31cd58236028ae0d0945c161f0/pr-1330 branch July 10, 2022 07:30
@github-actions
Copy link

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…ame` (ansible-collections#1335)

route53_health_check: rescind deprecation message for `health_check_name`

SUMMARY

Rescind deprecation message as nonessential due to below reasons

health_check_id and health_check_name being mutually exclusive
module currently provides functionality to update/delete by name and id both, which would not be the case if the deprecation changes are made.
can update by ID / delete by ID
can update by name+use_unique_names / delete by name+use_unique_names
can create single health check without name and use_unique_names
can create multiple health checks with name+use_unique_names


COMPONENT NAME

route53_health_check

Reviewed-by: Markus Bergholz <git@osuv.de>
Reviewed-by: Jill R <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_review feature This issue/PR relates to a feature request integration tests/integration mergeit Merge the PR (SoftwareFactory) module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants