Ask Your Question

ZDgdtc's profile - activity

2017-05-26 05:30:05 -0500 received badge  Famous Question (source)
2017-04-05 04:34:57 -0500 received badge  Popular Question (source)
2017-04-05 04:34:57 -0500 received badge  Notable Question (source)
2017-02-13 01:44:29 -0500 asked a question 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

[DEFAULT]
admin_token = 41a80ce6f0550cc93455
verbose = True
debug = True
[catalog]
driver = keystone.catalog.backends.sql.Catalog
[database]
connection = mysql://keystone:000000@controller/keystone
[eventlet_server]
public_bind_host = 192.168.10.110
admin_bind_host = 192.168.10.110
[identity]
driver = keystone.identity.backends.sql.Identity
[memcache]
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
[oslo_messaging_rabbit]
rabbit_hosts = controller1:5672,controller2:5672,controller3:5672
rabbit_retry_interval=1
rabbit_retry_backoff=2
rabbit_max_retries=0
rabbit_durable_queues=true
rabbit_ha_queues=true
[revoke]
driver = sql
caching = true
[token]
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?