From 3b00ffc728b47e132b3ed8bc460f8697ddb32047 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 9 Feb 2017 10:30:54 -0500 Subject: start nova-compute when keystone resources are created 1. Move keystone resources management at step 4. 2. Move nova-compute startup at step 5. That way, we make sure nova-compute will start when all Keystone resources are ready. Change-Id: I6e153e11b8519254d2a67b9142bf774a25bce69d Closes-Bug: #1663273 --- spec/classes/tripleo_profile_base_nova_compute_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/classes') diff --git a/spec/classes/tripleo_profile_base_nova_compute_spec.rb b/spec/classes/tripleo_profile_base_nova_compute_spec.rb index a0b2387..d9433be 100644 --- a/spec/classes/tripleo_profile_base_nova_compute_spec.rb +++ b/spec/classes/tripleo_profile_base_nova_compute_spec.rb @@ -19,7 +19,7 @@ require 'spec_helper' describe 'tripleo::profile::base::nova::compute' do shared_examples_for 'tripleo::profile::base::nova::compute' do - context 'with step less than 4' do + context 'with step less than 5' do let(:params) { { :step => 1, } } it { @@ -32,7 +32,7 @@ describe 'tripleo::profile::base::nova::compute' do } end - context 'with step 4' do + context 'with step 5' do let(:pre_condition) do <<-eos class { '::tripleo::profile::base::nova': @@ -43,7 +43,7 @@ eos end context 'default params' do - let(:params) { { :step => 4, } } + let(:params) { { :step => 5, } } it { is_expected.to contain_class('tripleo::profile::base::nova::compute') @@ -58,7 +58,7 @@ eos end context 'cinder nfs backend' do - let(:params) { { :step => 4, :cinder_nfs_backend => true } } + let(:params) { { :step => 5, :cinder_nfs_backend => true } } it { is_expected.to contain_class('tripleo::profile::base::nova::compute') -- cgit 1.2.3-korg