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
This commit is contained in:
Vladislav Belogrudov 2015-08-11 13:55:17 +03:00
parent 0f2c67d929
commit 91df6940d9

View File

@ -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