You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Vault Server unable to revoke old tokens (27 bytes) non SSCT.
2022-12-05T20:27:51.825Z [ERROR] expiration: failed to revoke lease: lease_id=auth/cert/login/h6d0772972fd1601be0b77048fb70dd7bb217982fefd4f0eb41c2fba8b49bc188 error="failed to revoke token: failed to revoke entry: missing cubbyhole ID while destroying"
To Reproduce
Run Vault server and set VAULT_DISABLE_SERVER_SIDE_CONSISTENT_TOKENS to true
[ERROR] expiration: failed to revoke lease: lease_id=auth/cert/login *****
Expected behavior
token revoked, without any error
For example
2022-12-11T20:22:27.714Z [INFO] expiration: revoked lease: lease_id=auth/cert/login/h2e1b24fb284004483ea5110449916305107dd93387a5edeec7b5e141d10802cf
Environment:
Vault Server Version (retrieve with vault status):
Key Value
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.12.2
Storage Type postgresql
Vault CLI Version (retrieve with vault version):
Vault v1.12.2
Server Operating System/Architecture:
docker ubuntu image
I have been hitting the exact same bug. I also have SSCT disabled and initially noticed the bug due to an increase in memory consumption for the Consul storage backend. consul snapshot inspect showed about 500k old Vault leases. The number of leases was confirmed via the Vault web UI.
@hsimon-hashicorp Neither revoke nor force revoke work as both complain about the missing cubbyhole ID. Any pointers how to delete the old leases and free up memory/storage despite the errors?
Describe the bug
Vault Server unable to revoke old tokens (27 bytes) non SSCT.
2022-12-05T20:27:51.825Z [ERROR] expiration: failed to revoke lease: lease_id=auth/cert/login/h6d0772972fd1601be0b77048fb70dd7bb217982fefd4f0eb41c2fba8b49bc188 error="failed to revoke token: failed to revoke entry: missing cubbyhole ID while destroying"
To Reproduce
display_name=web
policies=web,prod
[email protected]
ttl=60
Expected behavior
token revoked, without any error
For example
2022-12-11T20:22:27.714Z [INFO] expiration: revoked lease: lease_id=auth/cert/login/h2e1b24fb284004483ea5110449916305107dd93387a5edeec7b5e141d10802cf
Environment:
vault status
):Key Value
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.12.2
Storage Type postgresql
vault version
):Vault v1.12.2
docker ubuntu image
/etc/os-release
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Vault server configuration file(s):
The text was updated successfully, but these errors were encountered: