diagnostic run command fails to clean up project and token data. #3332
Labels
auth-team
anything that needs to be on the auth team board
bug 🐛
Something isn't working
customer-reported
issues reported by customers
Epic
Milestone
Describe the bug
When running
chef-automate diagnostic run
project data is left behind and shows up in the UI. The user will then have to delete any rules in the project before they can delete the project itself. In addition, it will create an API token that doesn't get cleaned up.To Reproduce
Steps to reproduce the behavior:
chef-automate diagnostics run
and wait for it to complete.Settings
->Projects
and you will see one or more projects with a name similar toiam-projects-integration-diagnostic-20200409190229 test project
Settings
->Tokens
and you will see one or more tokens with a name similar toThis token was generated by the chef-automate diagnostic tool. It has admin level access on the entire Automate API.
Expected behavior
After running the
chef-automate diagnostics run
any data that was created should be removed during the clean up.Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: