From 2ddfb1360144f8f002b3300004914a7540efa867 Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Wed, 12 Aug 2015 16:47:42 +0300 Subject: [PATCH] Glance cannot store images due to incomplete configuration Glance api refuses to store images with error "Error in store configuration. Adding images to store is disabled. (HTTP N/A)" This happens due to missing configuration of store in glance-api.conf Change-Id: I50696671d10ffc56189d3aa08c1e73bb307bc800 Closes-Bug: #1484123 --- ansible/roles/glance/templates/glance-api.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2 index ed1a981275..0a11b97e64 100644 --- a/ansible/roles/glance/templates/glance-api.conf.j2 +++ b/ansible/roles/glance/templates/glance-api.conf.j2 @@ -28,3 +28,7 @@ password = {{ glance_keystone_password }} [paste_deploy] flavor = keystone + +[glance_store] +default_store = file +filesystem_store_datadir = /var/lib/glance/images/