From e0fc4cb3bd944ff9b7363dadded85e14de027405 Mon Sep 17 00:00:00 2001 From: SamYaple Date: Wed, 6 Jan 2016 22:43:44 +0000 Subject: [PATCH] Fix missing mountpoint in glance bootstrap Change-Id: I637eef710c0c4964a440e21e3ac15f8fca4b1830 Closes-Bug: #1519965 --- ansible/roles/glance/tasks/bootstrap.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/glance/tasks/bootstrap.yml b/ansible/roles/glance/tasks/bootstrap.yml index bb1b30a6df..e06014ba42 100644 --- a/ansible/roles/glance/tasks/bootstrap.yml +++ b/ansible/roles/glance/tasks/bootstrap.yml @@ -47,7 +47,9 @@ image: "{{ glance_api_image_full }}" name: "bootstrap_glance" restart_policy: "never" - volumes: "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro" + volumes: + - "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro" + - "glance:/var/lib/glance/" run_once: True delegate_to: "{{ groups['glance-api'][0] }}" when: database_created