Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to configure memcache in OpenStack HA ?

To simulate OpenStack HA environment, I have configured mariadb-galera, RabbitMQ cluster and HAProxy on controller1, controller2 and controller3. After I configured /etc/keystone/keystone.conf, some mistakes occured. When I tried to get token through admin with password, it said:

An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-00e4b4d6-cccb-4aa9-be3d-62ee41f907d6)

Here is the configuration in /etc/keystone/keystone.conf

admin_token = 41a80ce6f0550cc93455
verbose = True
debug = True
driver = keystone.catalog.backends.sql.Catalog
connection = mysql://keystone:000000@controller/keystone
public_bind_host =
admin_bind_host =
driver = keystone.identity.backends.sql.Identity
servers = controller1:11211,controller2:11211,controller3:11211
dead_retry = 300
socket_timeout = 3
pool_maxsize = 10
pool_unused_timeout = 60
pool_connection_get_timeout = 10
rabbit_hosts = controller1:5672,controller2:5672,controller3:5672
driver = sql
caching = true
provider = uuid
driver = memcache
caching = true

After I changed servers = controller1:11211,controller2:11211,controller3:11211 to servers:localhost:11211, it worked. So I want to know how to configure keystone.conf if I want to construct a memcache cluster?