excute glance db sync error 63/3363/1
authorbaigk <baiguoku@huawei.com>
Tue, 17 Nov 2015 18:29:26 +0000 (10:29 -0800)
committerbaigk <baiguoku@huawei.com>
Tue, 17 Nov 2015 18:29:26 +0000 (10:29 -0800)
JIRA: COMPASS-154

Change-Id: Ie2d2ff189e10eaac904c47b34777965fe763fa18
Signed-off-by: baigk <baiguoku@huawei.com>
deploy/adapters/ansible/roles/glance/tasks/glance_config.yml

index 2e02467..0370ddc 100644 (file)
@@ -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