configurable keystone-token-flush cronjob schedules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
By default, keystone-
In the past, we have had trouble with long transactions locking the keystone.token table, degrading the service due to token timeouts and restoring normal operation by killing such transaction in mysql.
I would like to suggest a new config parameter to be able to run the cronjob every N minutes (ie. 10 minutes). Although token-expiration would be configured to 3600 or more, there would be tokens to delete within the hour, reducing the workload on larger clouds.
Sample:
juju config keystone token-cron-
token-
default: true
description: |
Cron schedule used to run keystone-manage token_flush.
If unset, it will run once an hour
type: string
value: '0 * * * *'
Changed in charm-keystone: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in charm-keystone: | |
assignee: | nobody → Yamen Hatahet (yhatahet) |
Changed in charm-keystone: | |
assignee: | Yamen Hatahet (yhatahet) → nobody |