From 858cdda3ec89b17544ee1a205f8c8ed107ce32e2 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 19 Mar 2015 09:20:40 -0700 Subject: [PATCH] Use keystone authentication with Glance Previously glance was not using keystone for authentication. This resulted in --is-public true failing when doing image-create. Co-Authored-By: Lars Stedman (larsks@redhat.com) Change-Id: I54273115242ee169201643fe0ad559392650c883 --- docker/glance/glance-base/config-glance.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/glance/glance-base/config-glance.sh b/docker/glance/glance-base/config-glance.sh index a6380e5c8d..137815e709 100644 --- a/docker/glance/glance-base/config-glance.sh +++ b/docker/glance/glance-base/config-glance.sh @@ -50,6 +50,11 @@ for cfg in /etc/glance/glance-api.conf /etc/glance/glance-registry.conf; do admin_password \ "${GLANCE_KEYSTONE_PASSWORD}" + crudini --set $cfg \ + paste_deploy \ + flavor \ + keystone + crudini --set $cfg \ database \ connection \