-
Notifications
You must be signed in to change notification settings - Fork 397
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 #1209/cff148f0 backport][stable-4] ecs_* - add waiters #1274
Merged
softwarefactory-project-zuul
merged 1 commit into
stable-4
from
patchback/backports/stable-4/cff148f0da99600f707387fe6e9943c442b1132a/pr-1209
Jun 29, 2022
Merged
[PR #1209/cff148f0 backport][stable-4] ecs_* - add waiters #1274
softwarefactory-project-zuul
merged 1 commit into
stable-4
from
patchback/backports/stable-4/cff148f0da99600f707387fe6e9943c442b1132a/pr-1209
Jun 29, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMMARY Add wait parameter to utilize boto3 waiters in ecs_service and ecs_task (ServicesInactive, TasksStopped, TasksRunning). There's an additional waiter for ServicesStable but idempotence checked never failed locally so it seems redundant when creating a service. ISSUE TYPE Feature Pull Request COMPONENT NAME ecs_service ecs_task ADDITIONAL INFORMATION When testing the waiter for TasksRunning, tests failed on waiter error due to the container instance not being able to be created, not because of the waiter, so I commented out those tests for now. In the ECS console: Stopped reason CannotPullContainerError: inspect image has been retried 5 time(s): failed to resolve ref "docker.io/library/nginx:latest": failed to do request: Head https://registry-1.docker.io/v2/library/nginx/manifests/latest: dial tcp 34.237.244.67:443: i/o timeout * add waiters and fix some bugs * add changelog * move bugfixes to different PR for backporting purposes * update wait description * catch WaiterError * Bump version_added (cherry picked from commit cff148f)
Merged
tremble
approved these changes
Jun 29, 2022
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
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
Jun 29, 2022
softwarefactory-project-zuul
bot
deleted the
patchback/backports/stable-4/cff148f0da99600f707387fe6e9943c442b1132a/pr-1209
branch
June 29, 2022 09:23
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #1209 as merged into main (cff148f).
Originally-Depends-On: #1212
SUMMARY
wait
parameter to utilize boto3 waiters inecs_service
andecs_task
(ServicesInactive, TasksStopped, TasksRunning).Ref #1142
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
When testing the waiter for
TasksRunning
, tests failed on waiter error due to the container instance not being able to be created, not because of the waiter, so I commented out those tests for now.In the ECS console: