Fix missing keystone user in cron job.
When use_syslog = False, the keystone-token-flush cronjob omits the keystone username in the cron tab file, which causes cron to skip the entry and report errors into the cron job. This change fixes the problem. Change-Id: I2e96eba9e55d9a7e3b9ade2090f88a74467ba334 Closes-Bug: 1578914
This commit is contained in:
parent
8d535b56f6
commit
ce7949805f
@ -3,7 +3,7 @@
|
||||
{% if use_syslog -%}
|
||||
0 * * * * keystone /usr/bin/keystone-manage token_flush 2>&1 | logger -t keystone-token-flush
|
||||
{% else -%}
|
||||
0 * * * * /usr/bin/keystone-manage token_flush >> /var/log/keystone/keystone-token-flush.log 2>&1
|
||||
0 * * * * keystone /usr/bin/keystone-manage token_flush >> /var/log/keystone/keystone-token-flush.log 2>&1
|
||||
{% endif -%}
|
||||
{% else -%}
|
||||
# Current unit is not the leader unit. Token flush will be managed by the leader unit.
|
||||
|
Loading…
Reference in New Issue
Block a user