From 305192152dd9141aff827927f7e45d1648b46798 Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Tue, 11 Aug 2015 17:07:01 +0300 Subject: [PATCH] Glance bootstrap container mounts wrong config folder Glance bootstrap container is based on glance-api. Ansible playbook incorrectly mounts "{{ node_config_directory }}/glance" to "/opt/kolla/glance" where it should mount "{{ node_config_directory }}/glance-api" to "/opt/kolla/glance-api". After start bootstrap container fails to find configuration and exits. Change-Id: Id2e5ddb2191cfee7db57dd0aec2f06fc617aa9d6 Closes-Bug: #1483757 --- 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 84ae445d28..1125315183 100644 --- a/ansible/roles/glance/tasks/bootstrap.yml +++ b/ansible/roles/glance/tasks/bootstrap.yml @@ -58,7 +58,7 @@ insecure_registry: "{{ docker_insecure_registry }}" name: bootstrap_glance image: "{{ glance_api_image_full }}" - volumes: "{{ node_config_directory }}/glance/:/opt/kolla/glance/:ro" + volumes: "{{ node_config_directory }}/glance-api/:/opt/kolla/glance-api/:ro" volumes_from: glance_data env: KOLLA_BOOTSTRAP: