Merge "make sure we start nova-compute after nova-conductor"
This commit is contained in:
commit
e121f195c8
@ -38,6 +38,9 @@ class tripleo::profile::base::nova::compute (
|
|||||||
|
|
||||||
# deploy basic bits for nova-compute
|
# deploy basic bits for nova-compute
|
||||||
include ::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
|
# deploy bits to connect nova compute to neutron
|
||||||
include ::nova::network::neutron
|
include ::nova::network::neutron
|
||||||
|
@ -47,6 +47,11 @@ class tripleo::profile::pacemaker::nova::conductor (
|
|||||||
pacemaker::resource::service { $::nova::params::conductor_service_name:
|
pacemaker::resource::service { $::nova::params::conductor_service_name:
|
||||||
clone_params => 'interleave=true',
|
clone_params => 'interleave=true',
|
||||||
}
|
}
|
||||||
|
# If Service['nova-compute'] is in catalog, make sure we start it after
|
||||||
|
# nova-conductor pcmk resource.
|
||||||
|
# Also make sure to restart nova-compute if nova-conductor pcmk resource changed
|
||||||
|
# the state, since nova-compute is deployed at a previous step.
|
||||||
|
Pacemaker::Resource::Service[$::nova::params::conductor_service_name] ~> Service<| title == 'nova-compute' |>
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user