From 91df6940d9b332c4b38250b970e23b7de21945bd Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Tue, 11 Aug 2015 13:55:17 +0300 Subject: [PATCH] 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 --- ansible/roles/glance/tasks/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml index 374e3c7f15..84ae445d28 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