summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2017-03-27 10:32:20 +0800
committerQiLiang <liangqi1@huawei.com>2017-03-28 19:14:26 +0800
commit5dfa77861d3d5d561dfa19edcc71363a2b91e96b (patch)
treeb60590be6829088d290ade1139c28ec55f31de72 /deploy/adapters/ansible/openstack
parentd52a11770689f4fd4d2bc4b9bf8dc09d4dd62ebf (diff)
Fix memcached doesn't start issue
JIRA: - Sometimes memcached does not start after installation finished, which will cause issues like openstack dashboard open instance console failure. This patch add memcached restart notify during package installation and add memcached to cron service-status-check task's config file: /opt/service Change-Id: I625899348fb447875fcca7beedb619b5490ce567 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack')
-rw-r--r--deploy/adapters/ansible/openstack/templates/nova.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/openstack/templates/nova.conf b/deploy/adapters/ansible/openstack/templates/nova.conf
index eb7ec053..114453ee 100644
--- a/deploy/adapters/ansible/openstack/templates/nova.conf
+++ b/deploy/adapters/ansible/openstack/templates/nova.conf
@@ -37,7 +37,6 @@ instance_usage_audit_period = hour
notify_on_state_change = vm_and_task_state
notification_driver = nova.openstack.common.notifier.rpc_notifier
notification_driver = ceilometer.compute.nova_notifier
-memcached_servers = {{ memcached_servers }}
osapi_compute_workers = {{ api_workers }}
metadata_workers = {{ api_workers }}
@@ -119,3 +118,7 @@ rabbit_password = {{ RABBIT_PASS }}
rabbit_port = 5672
rabbit_userid = {{ RABBIT_USER }}
+[cache]
+backend = dogpile.cache.memcached
+enabled = True
+memcache_servers = {{ memcached_servers }}