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

Revise teardown strategy to handle 200+ instances #1589

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

heatmiser
Copy link
Contributor

SUMMARY

For workshop deployments that provision 200 or more instances, when the teardown_lab playbook is called the following error is observed:

botocore.exceptions.ClientError: An error occurred (FilterLimitExceeded) when calling the DescribeInstances operation: The maximum number of filter values specified on a single call is 200
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • provisioner
ADDITIONAL INFORMATION

To reproduce, deploy enough student workbench environments to populate 200 or more instances and then attempt a teardown run.

NOTE: I have tested the changes in this PR against a 45 student smart_mgmt workshop (~360 instances), please test with other workshop types to confirm proper workshop teardown behavior.

@IPvSean
Copy link
Contributor

IPvSean commented Mar 16, 2022

I am a bit worried about this method... its sorta gross.... (not your fault). I opened a doc bug to figure out if there is a more clean way: ansible-collections/amazon.aws#713

@abenokraitis
Copy link
Collaborator

abenokraitis commented Jul 11, 2023

Can we cancel/close this PR?

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.

3 participants