Comment 0 for bug 1032633

Revision history for this message
Andrew Glen-Young (aglenyoung) wrote : Keystone's token table grows unconditionally.

Keystone's `token` table grows unconditionally with expired tokens.

Keystone should provide a backend-agnostic method to find and delete these tokens. This could be run via a periodic task or supplied as a script to run as a cron job.

An example SQL statement (if you're using a SQL backend) to workaround this problem:

    sql> DELETE FROM token WHERE expired <= NOW();

It may be ideal to allow a date smear to allow older tokens to persist if needed.