We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Per the documentation, deleting a session is an idempotent operation and returns 200.
When ACLs are enabled, destroying a session that doesn't exist returns 500.
See the attached script for a detailed example to reproduce the correct behavior when ACLs are disabled and the incorrect behavior with ACLs enabled:
create_and_destroy.txt
curl -I -s -X PUT localhost:8500/v1/session/destroy/cb30618e-800f-9e3e-cd31-9a062d670928
Sample configuration used:
{ "primary_datacenter": "dc1", "acl" : { "enabled": true, "default_policy": "allow", "down_policy": "extend-cache" } }
Running locally in development mode consul version 1.6.1
macOS locally, but also happens on our cluster running on RHEL7.
The text was updated successfully, but these errors were encountered:
fix: Destroying a session that doesn't exist returns status code 500 …
5d8389e
…if ACLs are enabled fix hashicorp#6840
fix: Destroying a session that doesn't exist returns status cod… (#6905)
2630a94
fix #6840
Successfully merging a pull request may close this issue.
Overview of the Issue
Per the documentation,
deleting a session is an idempotent operation and returns 200.
When ACLs are enabled, destroying a session that doesn't exist returns 500.
Reproduction Steps
See the attached script for a detailed example to reproduce
the correct behavior when ACLs are disabled
and the incorrect behavior with ACLs enabled:
create_and_destroy.txt
curl -I -s -X PUT localhost:8500/v1/session/destroy/cb30618e-800f-9e3e-cd31-9a062d670928
Sample configuration used:
Consul info for both Client and Server
Running locally in development mode
consul version 1.6.1
Operating system and Environment details
macOS locally, but also happens on our cluster running on RHEL7.
The text was updated successfully, but these errors were encountered: