summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-controller
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-17 17:11:24 +0800
committercarey xu <carey.xuhan@huawei.com>2015-12-24 02:09:47 +0000
commitbc54b7f9a4c740cdccc3197686ac921ee8a2cc53 (patch)
treea1bb01b1bda2d039b5b0c9ff26bdb74a327ee11d /deploy/adapters/ansible/roles/cinder-controller
parent6447ed5fe06bba5b973ba673780235d33c909302 (diff)
add retry when rabbitmq join failed
JIRA: COMPASS-206 Change-Id: I0cf7b2dd1414f3270ff894a6cf17aba5841e6848 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-controller')
-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