Comment 3Prasanth Anbalagan
2017-08-31 12:43:51 UTC
Verified as follows - Token database gets flushed as expected.
*************
VERSION
*************
[root@lynx13 ~]# yum list installed | grep openstack-puppet
openstack-puppet-modules.noarch 2015.1.8-56.el7ost @rhelosp-7.0-puddle
*********
LOGS
*********
[root@lynx13 ~]# sudo crontab -u keystone -l
# HEADER: This file was autogenerated at 2017-08-31 04:04:03 +0300 by puppet.
# HEADER: While it can still be managed manually, it is definitely not recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: token-flush
*/1 * * * * /usr/bin/keystone-manage token_flush >/dev/null 2>&1
MariaDB [keystone]> select count(*) from token;
+----------+
| count(*) |
+----------+
| 1813 |
+----------+
1 row in set (0.00 sec)
MariaDB [keystone]> select count(*) from token;
+----------+
| count(*) |
+----------+
| 1814 |
+----------+
1 row in set (0.00 sec)
Database changed
+----------+
| count(*) |
+----------+
| 8725 |
+----------+
1 row in set (0.00 sec)
MariaDB [keystone]> Bye
[root@lynx13 ~]# date
Thu Aug 31 07:26:56 IDT 2017
[root@lynx13 ~]#
MariaDB [(none)]> use keystone; select count(*) from token;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
+----------+
| count(*) |
+----------+
| 42 |
+----------+
1 row in set (0.00 sec)
MariaDB [keystone]> Bye
[root@lynx13 ~]# date
Thu Aug 31 15:41:49 IDT 2017
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:2697