From 1683d847f088bd2e0d21167fcb62777dfd12c7f5 Mon Sep 17 00:00:00 2001 From: Maru Newby Date: Fri, 7 Sep 2012 13:57:04 -0700 Subject: [PATCH] Document memcached host system time configuration. * Addresses 1022614 Change-Id: I81617c4eecd6fdfdb3f01eb674f7308d9c93baaa --- doc/source/configuration.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index 917e865996..042b9fe9d9 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -45,6 +45,18 @@ Stop the process using ``Control-C``. If you have not already configured Keystone, it may not start as expected. +Memcached and System Time +========================= + +If using `memcached`_ with Keystone - e.g. using the memcache token +driver or the ``auth_token`` middleware - ensure that the system time +of memcached hosts is set to UTC. Memcached uses the host's system +time in determining whether a key has expired, whereas Keystone sets +key expiry in UTC. The timezone used by Keystone and memcached must +match if key expiry is to behave as expected. + +.. _`memcached`: http://memcached.org/ + Configuration Files ===================