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
This commit is contained in:
Vladislav Belogrudov 2015-08-11 17:07:01 +03:00
parent 6bca976500
commit 305192152d

View File

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