aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-controller/tasks
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-12-24 08:57:32 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-24 08:57:32 +0000
commitdc9d4399c9e68b8fc873387e4d4bc3499e21e304 (patch)
tree6cefe967c5d609db413c01d5269a19bd9123e69a /deploy/adapters/ansible/roles/cinder-controller/tasks
parent8143bfe61f0f6739818fa92c2646859faea813ec (diff)
parentbc54b7f9a4c740cdccc3197686ac921ee8a2cc53 (diff)
Merge "add retry when rabbitmq join failed"
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-controller/tasks')
-rw-r--r--deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml b/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
index b06aac50..c01ad4f6 100644
--- a/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
+++ b/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_config.yml
@@ -5,5 +5,7 @@
- name: sync cinder db
#cinder_manage: action=dbsync
shell: su -s /bin/sh -c 'cinder-manage db sync' cinder
+ ignore_errors: true
+ changed_when: true
notify:
- restart cinder control serveice