aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Belogrudov <vladislav.belogrudov@oracle.com>2015-08-11 13:55:17 +0300
committerVladislav Belogrudov <vladislav.belogrudov@oracle.com>2015-08-11 13:55:17 +0300
commit91df6940d9b332c4b38250b970e23b7de21945bd (patch)
tree7a535c10b30a6286ad6a7e18429aa41554dacd47
parent0f2c67d92945ae2bb8852bb3fdf42d108de6be64 (diff)
downloadkolla-91df6940d9b332c4b38250b970e23b7de21945bd.tar.gz
kolla-91df6940d9b332c4b38250b970e23b7de21945bd.zip
Glance bootstrap container does not create tables and runs forever
Due to typo in ansible/roles/glance/tasks/bootstrap.yml container misses database initialization block and starts service instead. Ansible hangs on waiting for bootstrap container exit. Change-Id: Icf5ba68b47d65b22d6869e4b7b2d93e7edb8ed3b Closes-Bug: #1483647
-rw-r--r--ansible/roles/glance/tasks/bootstrap.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml
index 374e3c7f1..84ae445d2 100644
--- a/ansible/roles/glance/tasks/bootstrap.yml
+++ b/ansible/roles/glance/tasks/bootstrap.yml
@@ -61,7 +61,7 @@
volumes: "{{ node_config_directory }}/glance/:/opt/kolla/glance/:ro"
volumes_from: glance_data
env:
- KOLLA_BOOSTRAP:
+ KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
run_once: True
when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed