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

Cleanup ACK add try/except for detaching policy #577

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

ryansteakley
Copy link
Contributor

Description of your changes:
Cleanup may fail in edge-case where the policy was already deleted/detached before the clean-up was run. In this case the role will never be deleted. Then in future runs of ACK creation in that same account it would not create the role again, thus the role would have a missing policy and be unable to run SM jobs

Testing:

  • Unit tests pass
  • e2e tests pass
  • Details about new tests (If this PR adds a new feature)
  • Details about any manual tests performed

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ryansteakley ryansteakley merged commit 20bebda into awslabs:main Feb 27, 2023
ryansteakley added a commit to ryansteakley/kubeflow-manifests that referenced this pull request Mar 16, 2023
**Description of your changes:**
Cleanup may fail in edge-case where the policy was already
deleted/detached before the clean-up was run. In this case the role will
never be deleted. Then in future runs of ACK creation in that same
account it would not create the role again, thus the role would have a
missing policy and be unable to run SM jobs

**Testing:**
- [ ] Unit tests pass
- [ ] e2e tests pass
- Details about new tests (If this PR adds a new feature)
- Details about any manual tests performed

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
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