diff options
author | Emilien Macchi <emilien@redhat.com> | 2016-07-05 15:26:30 -0400 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2016-07-06 22:47:30 -0400 |
commit | de735343165f0a7b3d0f63eb952b4b1756621d3e (patch) | |
tree | abc2ac7db51d30a3a0a7b34ccd75c1164489cad0 /manifests/profile/base/nova | |
parent | 9f0ab60383509548e91740ec6559ab9af0f04199 (diff) |
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
Diffstat (limited to 'manifests/profile/base/nova')
-rw-r--r-- | manifests/profile/base/nova/compute.pp | 3 |
1 files changed, 3 insertions, 0 deletions
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 |