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

Add retry to cleanup NSX resources #386

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

zhengxiexie
Copy link
Contributor

Add retry to Cleanup func, and summarize the errors returned to the upper.

  1. failed to validate config
  2. failed to get nsx client
  3. failed to initialize cleanup service
  4. failed to clean up specific resource We would retry 5 times if the 4th error occurs.

pkg/clean/clean.go Outdated Show resolved Hide resolved
@zhengxiexie zhengxiexie reopened this Nov 10, 2023
@zhengxiexie
Copy link
Contributor Author

e2e

@zhengxiexie
Copy link
Contributor Author

/e2e

1 similar comment
@zhengxiexie
Copy link
Contributor Author

/e2e

pkg/clean/clean.go Show resolved Hide resolved
pkg/clean/clean.go Show resolved Hide resolved
Add retry to Cleanup func, and summarize the errors returned to the upper.
 1. failed to validate config
 2. failed to get nsx client
 3. failed to initialize cleanup service
 4. failed to clean up specific resource
We would retry 5 times if the 4th error occurs.
@zhengxiexie zhengxiexie merged commit 6fc071c into vmware-tanzu:vpc_dev Dec 8, 2023
zhengxiexie added a commit that referenced this pull request Dec 9, 2023
Add retry to cleanup NSX resources(#386)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants