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-chaos-resources not executed #4489

Open
smitthakkar96 opened this issue Mar 6, 2024 · 2 comments
Open

cleanup-chaos-resources not executed #4489

smitthakkar96 opened this issue Mar 6, 2024 · 2 comments
Labels

Comments

@smitthakkar96
Copy link
Contributor

What happened:

If a fault fails (see the screenshot), the cleanup step is not executed

Screenshot 2024-03-06 at 09 55 12

When the UI shows that the cleanup wasn't done, it creates ambiguity among our users if the fault injection has actually stopped and required resources that were to be removed were actually deleted or not.

What you expected to happen:

The cleanup step should execute irrespective of the fault status to ensure removal of any lingering resources.

Where can this issue be corrected? (optional)

Consider using Exit Handlers in Argo Workflows for such cleanup use-cases

@SarthakJain26
Copy link
Contributor

SarthakJain26 commented Mar 7, 2024

@smitthakkar96 Ideally the cleanup step should work even if the fault fails.Sometimes the resources gets cleaned up but the status is not reflected in the UI. Can you try to reproduce this and share the subscriber logs.
cc: @ispeakc0de

@smitthakkar96
Copy link
Contributor Author

@SarthakJain26 that wouldn't be the case if any step in workflow exits with a non-zero status code. I think it's default behaviour of Argo Workflows. Let me try to reproduce it and share you the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants