Fix colocation order to match ref-arch

Fixes the colocation order between glance-api and glance-registry to
match the ref-arch[1]

[1]
https://github.com/beekhof/osp-ha-deploy/blob/master/pcmk/glance.scenario#L108

Change-Id: I40f35afedb3333d97c8b689538bb80a90a66afe8
This commit is contained in:
Yanis Guenane 2015-05-27 16:04:10 +02:00
parent 2c73a7b6ac
commit 62eeedbd6b
1 changed files with 3 additions and 3 deletions

View File

@ -756,9 +756,9 @@ if hiera('step') >= 4 {
require => [Pacemaker::Resource::Service[$::glance::params::registry_service_name],
Pacemaker::Resource::Service[$::glance::params::api_service_name]],
}
pacemaker::constraint::colocation { 'glance-registry-with-glance-api-colocation':
source => "${::glance::params::registry_service_name}-clone",
target => "${::glance::params::api_service_name}-clone",
pacemaker::constraint::colocation { 'glance-api-with-glance-registry-colocation':
source => "${::glance::params::api_service_name}-clone",
target => "${::glance::params::registry_service_name}-clone",
score => "INFINITY",
require => [Pacemaker::Resource::Service[$::glance::params::registry_service_name],
Pacemaker::Resource::Service[$::glance::params::api_service_name]],