Bug 1267952

Summary: Keystone token not flush on the undercloud
Product: Red Hat OpenStack Reporter: gaelL <glambert>
Component: instack-undercloudAssignee: Yanis Guenane <yguenane>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jslagle, mburns, rhel-osp-director-maint, srevivo
Target Milestone: ---   
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-02 16:11:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gaelL 2015-10-01 12:49:13 UTC
Most of the undercloud disk space is used :

[root@instack ~]# df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sda1           50G     49G  1,1G  99% /

After quick search, it seems to be from the keystone database.

MariaDB [keystone]> SELECT table_name AS "Tables", round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" FROM information_schema.TABLES WHERE table_schema = "keystone";
+------------------------+------------+
| Tables | Size in MB |
+------------------------+------------+
| access_token | 0.05 |
| sensitive_config | 0.02 |
...
| token | 2400.45 |
| trust | 0.02 |
+------------------------+------------+


[root@instack ~]# mysql -NB keystone -e "SELECT COUNT(*) FROM token"
268057

Comment 2 James Slagle 2015-10-02 16:11:17 UTC

*** This bug has been marked as a duplicate of bug 1173970 ***