From afa0ed8122a95aba44c6d23e3a7307c579f36e98 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 24 Aug 2015 21:55:37 -0400 Subject: [PATCH] Make sure Glance_image is executed after Keystone_endpoint When running Keystone in WSGI, Glance_image is not run in the right moment. This patch aims to make sure Glance_image is run after creating Glance endpoint Keystone resource by using the Puppet chain arrow. Keystone_endpoint is actually the latest resource created by Keystone providers to make Glance working. If Glance_image resource is in the catalog, it will be executed when keystone & glance are actually ready and not before. Closes-Bug: #1488277 Change-Id: I97d1a77c5f4a67914738514d773ecbd4bfb2196c --- manifests/keystone/auth.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index 68bc2a0b..52028c84 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -183,6 +183,7 @@ class glance::keystone::auth( if $configure_endpoint { Keystone_endpoint["${region}/${real_service_name}"] ~> Service <| name == 'glance-api' |> + Keystone_endpoint["${region}/${real_service_name}"] -> Glance_image<||> } keystone::resource::service_identity { $auth_name: