diff options
author | baigk <baiguoku@huawei.com> | 2015-11-17 10:29:26 -0800 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-11-17 10:29:26 -0800 |
commit | a6baefba912112cfb226575fd79245baaa4c1219 (patch) | |
tree | dd0ad99414840def21f0c73ea0a3745bd51c50ce | |
parent | b2c43e6309342b450cbd895d28ae2da2ad0847e8 (diff) |
excute glance db sync error
JIRA: COMPASS-154
Change-Id: Ie2d2ff189e10eaac904c47b34777965fe763fa18
Signed-off-by: baigk <baiguoku@huawei.com>
-rw-r--r-- | deploy/adapters/ansible/roles/glance/tasks/glance_config.yml | 2 |
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 |