-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Secret engine not being disabled #28682
Comments
Hi, was the endpoint that you used to remove leases sys/leases/revoke-force/[:prefix]? If so, did you receive any errors from that endpoint? Are there any server logs with error messages? You may be able to get help faster by asking on the discuss forum |
Hi @miagilepner, no I ran that slice differently using the vault lease revoke command: |
Hi @samuelvgo I suggest then looking at the server logs to see if there is an error log from either the revoke command or the disable command. |
Hi @miagilepner Sorry for taking longer on this, the revoke command was successfull, but the disable command show this error:
Vault audit: delete failed - reason: 1 error occurred: Is there any other way to force that deletion? We are looking of deleting and re-creating it properly |
@samuelvgo it looks like that is an audit log of the response to the mount deletion operation. What I would check is if there are vault server logs (see https://support.hashicorp.com/hc/en-us/articles/360002046068-Where-are-My-Vault-Logs-and-How-do-I-Share-Them-with-HashiCorp-Support for more details) that show errors when you attempt to do a lease revoke. |
@miagilepner So we didn't have any errors while trying to do the lease revoke, the logs suggest that everything worked:
Vault audit: update succesfull The following two commands were issued, and both returned as successful:
and
|
Describe the bug
Vault is unable to disable completely a secret engine, which is now stuck in the middle of not being usable anymore and not completely disabled.
To Reproduce
Steps to reproduce the behavior:
vault secrets disable /path/to/secret/engine
Expected behavior
It was expected that secret engine would be completely disabled.
Environment:
vault status
): Version 1.15.6vault version
): Vault v1.15.6 (615cf6f), built 2024-02-28T17:07:34ZVault server configuration file(s):
Additional context
The vault server was version 1.14.10, and recently updated to version 1.15.6.
The disable initially was triggered via UI, and the secret engine had a significant number of records, with around 21499 pages in the search via UI.
Nothing with that secret engine works anymore, and the vault disable is failing constantly with:
Vault audit: delete failed - reason: 1 error occurred:
* invalid request
And when trying to create a secret it says:
route entry is tainted.
We have tried the leases force removal but it also didn't work
The text was updated successfully, but these errors were encountered: