creating a token in keystone takes more time

asked 2019-06-28 08:15:07 -0500

I have configured keystone server with following configurations: CPUs: 6 RAM: 16GB keystone Debug logs when creating a token are:

2019-06-28 12:39:26.939 17821 DEBUG keystone.server.flask.application [req-3fc703c5-1f1a-4a5b-8c48-543f30798e0a - - - - -] SCRIPT_NAME: /v3, PATH_INFO: /auth/tokens__call__ /usr/lib/python2.7/site-packages/keystone/server/flask/application.py:156 2019-06-28 12:39:26.939 17821 INFO keystone.common.wsgi [req-3fc703c5-1f1a-4a5b-8c48-543f30798e0a - - - - -] POST http://10.255.252.20:5000/v3/auth/tokens 2019-06-28 12:39:27.231 17821 DEBUG keystone.auth.core [req-3fc703c5-1f1a-4a5b-8c48-543f30798e0a - - - - -] MFA Rules not processed for user 15286d5d48b24b24a1d577be74ace549. Rule list: [] (Enabled: True). check_auth_methods_against_rules /usr/lib/python2.7/site-packages/keystone/auth/core.py:437 2019-06-28 12:39:27.253 17823 DEBUG keystone.server.flask.application [req-8af32706-30ff-440b-92c2-373b379e5a91 - - - - -] Dispatching request to legacy mapper: /v3/auth __call__ /usr/lib/python2.7/site-packages/keystone/server/flask/application.py:113 2019-06-28 12:39:27.254 17823 DEBUG keystone.server.flask.application [req-8af32706-30ff-440b-92c2-373b379e5a91 - - - - -] SCRIPT_NAME: /v3, PATH_INFO: /auth/tokens__call__ /usr/lib/python2.7/site-packages/keystone/server/flask/application.py:156 2019-06-28 12:39:27.254 17823 INFO keystone.common.wsgi [req-8af32706-30ff-440b-92c2-373b379e5a91 - - - - -] POST http://10.255.252.20:5000/v3/auth/tokens 2019-06-28 12:39:27.544 17823 DEBUG keystone.auth.core [req-8af32706-30ff-440b-92c2-373b379e5a91 - - - - -] MFA Rules not processed for user 15286d5d48b24b24a1d577be74ace549. Rule list: [] (Enabled: True). check_auth_methods_against_rules /usr/lib/python2.7/site-packages/keystone/auth/core.py:437

It takes more than 300ms to create a token here. Whereas in Rackspace, creating a token takes less than 100ms. Can anyone please help if I need to change my configuration or any hardware upgradation is required. Any kind of help is welcome.

edit retag flag offensive close merge delete