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

complete refactor to resource manager terminology #5

Merged
merged 7 commits into from
Mar 11, 2020

Conversation

aidenkeating
Copy link
Contributor

remove references to action engines completely in all aws logic.

from this point on these concepts should be refered to as resource
managers as it's slightly less vague.

verification:

  • run 'make test/unit'
  • ensure tests pass successfully

Aiden Keating added 7 commits March 11, 2020 12:07
remove references to action engines completely in all aws logic.

from this point on these concepts should be refered to as resource
managers as it's slightly less vague.

verification:
- run 'make test/unit'
- ensure tests pass successfully
allow ec2 subnets associated with a cluster to be deleted.

this includes support for deleting subnets via the cli.

verification:
- run 'make build/cli'
- run './hack/aws-ec2-create-subnet.sh'
- run './cli cleanup cluster-service --verbose --region=us-east-1 --dry-run=false -t ec2:subnet -w'
- wait for the subnet status to be 'complete'
- ensure the subnet has been removed from aws ec2
ensure logging is consistent among the main fields added to each
logger in resource manager logic.
this commit prevents an error from occuring in the case where a
subnet has an associated resource with it. for example an rds
instance.

verification:
- create a subnet using the hack script in this repo
- create a subnet group in aws containing this new subnet
- create an rds instance with the subnet group associated with it
- run the cli using the cluster id 'cluster-service' in region
  us-east-1 with the '-w' flag set
- ensure the subnet is marked as skipped
- delete the rds instance
- ensure after a number of reconciles that the cli marks the
  subnet as completed
@aidenkeating
Copy link
Contributor Author

@aidenkeating aidenkeating merged commit 7d5c3b3 into integr8ly:master Mar 11, 2020
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.

1 participant