-
Notifications
You must be signed in to change notification settings - Fork 114
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
Problem deleting chef server with attached orgs #3294
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There is a problem deleting a chef server that has one or more organizations attached. I am not sure what is supposed to happen, but a fix is needed either way.
To Reproduce
Create a server:
Grab the
id
value from above and plug in here to add an organization:Attempt to delete the server and it fails with, at a minimum, the wrong error message:
Delete org first:
Now try to delete the server again and it works:
The same incorrect error occurs in the UI:

Expected behavior
I am not sure what is supposed to happen, but a fix is needed either way.
Scenario 1: User should NOT be allowed to delete a chef server if it has orgs
Fix needed: Error message should say
instead of
Scenario 2: User should be allowed to delete a chef server if it has orgs
Fix needed: process the delete of the server (and presumably its associated orgs)
and present a success message instead of the incorrect error message.
The text was updated successfully, but these errors were encountered: