From 172412c0638107db538f1a491513de0836fdc311 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Wed, 4 May 2016 15:16:54 +0200 Subject: Create dbs in step 3 for the roles Before the roles we could make the create db operation depend on a 'galera-ready' resource [1]. We can't do it anymore from the role so we need to do create in step 3, when we do sync as well. 1. https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/manifests/overcloud_controller_pacemaker.pp#L382 Change-Id: Id065a9180f1f1a41ab225ec5f755498ec7d9a827 --- manifests/profile/base/glance/registry.pp | 2 +- manifests/profile/base/keystone.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/profile') diff --git a/manifests/profile/base/glance/registry.pp b/manifests/profile/base/glance/registry.pp index c114c53..b77b356 100644 --- a/manifests/profile/base/glance/registry.pp +++ b/manifests/profile/base/glance/registry.pp @@ -47,7 +47,7 @@ class tripleo::profile::base::glance::registry ( $glance_backend = downcase(hiera('glance_backend', 'swift')), ) { - if $step >= 2 and $sync_db { + if $step >= 3 and $sync_db { include ::glance::db::mysql } diff --git a/manifests/profile/base/keystone.pp b/manifests/profile/base/keystone.pp index f7674df..2f7a27a 100644 --- a/manifests/profile/base/keystone.pp +++ b/manifests/profile/base/keystone.pp @@ -62,7 +62,7 @@ class tripleo::profile::base::keystone ( $step = hiera('step'), ) { - if $step >= 2 and $sync_db { + if $step >= 3 and $sync_db { include ::keystone::db::mysql } -- cgit 1.2.3-korg