aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-11-17 10:29:26 -0800
committerbaigk <baiguoku@huawei.com>2015-11-17 10:29:26 -0800
commita6baefba912112cfb226575fd79245baaa4c1219 (patch)
treedd0ad99414840def21f0c73ea0a3745bd51c50ce /deploy/adapters/ansible/roles
parentb2c43e6309342b450cbd895d28ae2da2ad0847e8 (diff)
excute glance db sync error
JIRA: COMPASS-154 Change-Id: Ie2d2ff189e10eaac904c47b34777965fe763fa18 Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r--deploy/adapters/ansible/roles/glance/tasks/glance_config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/glance/tasks/glance_config.yml b/deploy/adapters/ansible/roles/glance/tasks/glance_config.yml
index 2e024675..0370ddca 100644
--- a/deploy/adapters/ansible/roles/glance/tasks/glance_config.yml
+++ b/deploy/adapters/ansible/roles/glance/tasks/glance_config.yml
@@ -1,7 +1,7 @@
---
- name: sync glance db
#glance_manage: action=dbsync
- shell: su -s /bin/sh 'glance-manage db sync' glance
+ shell: su -s /bin/sh -c 'glance-manage db sync' glance
ignore_errors: True
notify:
- restart glance services