From de735343165f0a7b3d0f63eb952b4b1756621d3e Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 5 Jul 2016 15:26:30 -0400 Subject: make sure we start nova-compute after nova-conductor When nova-compute and nova-conductor are collocated, we need to make sure nova-conductor starts before nova-compute otherwise nova-compute will just fail to start. Change-Id: Icc3ed768af2a08e2db78d9c9278d309a62d26850 --- manifests/profile/base/nova/compute.pp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'manifests/profile/base') diff --git a/manifests/profile/base/nova/compute.pp b/manifests/profile/base/nova/compute.pp index 16b61df..c73d2b1 100644 --- a/manifests/profile/base/nova/compute.pp +++ b/manifests/profile/base/nova/compute.pp @@ -38,6 +38,9 @@ class tripleo::profile::base::nova::compute ( # deploy basic bits for nova-compute include ::nova::compute + # If Service['nova-conductor'] is in catalog, make sure we start it + # before nova-compute. + Service<| title == 'nova-conductor' |> -> Service['nova-compute'] # deploy bits to connect nova compute to neutron include ::nova::network::neutron -- cgit 1.2.3-korg