summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-02-09 14:34:13 -0500
committerEmilien Macchi <emilien@redhat.com>2017-02-09 23:00:42 -0500
commitbb63f514d22ea82d17947a5972b4da16e66b5a36 (patch)
tree14d38fb79d44fb331d1affc470fb17d6fbc43da0 /spec
parent3b00ffc728b47e132b3ed8bc460f8697ddb32047 (diff)
Run nova-cell_v2-discover_hosts at step 5
We need to run nova-cell_v2-discover_hosts at the very end of the deployment because nova database needs to be aware of all registred compute hosts. 1. Move keystone resources management at step 3. 2. Move nova-compute service at step 4. 3. Move nova-placement-api at step 3. 5. Run nova-cell_v2-discover_hosts at step 5 on one nova-api node. 6. Run neutron-ovs-agent at step 5 to avoid racy deployments where it starts before neutron-server when doing HA deployments. With that change, we expect Nova aware of all compute services deployed in TripleO during an initial deployment. Depends-On: If943157b2b4afeb640919e77ef0214518e13ee15 Change-Id: I6f2df2a83a248fb5dc21c2bd56029eb45b66ceae Related-Bug: #1663273 Related-Bug: #1663458
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/tripleo_profile_base_nova_compute_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/classes/tripleo_profile_base_nova_compute_spec.rb b/spec/classes/tripleo_profile_base_nova_compute_spec.rb
index d9433be..a6fdbd6 100644
--- a/spec/classes/tripleo_profile_base_nova_compute_spec.rb
+++ b/spec/classes/tripleo_profile_base_nova_compute_spec.rb
@@ -43,7 +43,7 @@ eos
end
context 'default params' do
- let(:params) { { :step => 5, } }
+ let(:params) { { :step => 4, } }
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 => 5, :cinder_nfs_backend => true } }
+ let(:params) { { :step => 4, :cinder_nfs_backend => true } }
it {
is_expected.to contain_class('tripleo::profile::base::nova::compute')