From 7a4ac41ec499867a38a9078eea356b9912fbf3c0 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 26 Jul 2016 18:16:26 +0200 Subject: Remove global openstack-core resource The openstack-core resource is not needed by the NG Pacemaker architecture. It was moved into an isolated role by [1] so that it could optionally be enabled when wanting the older architecture. This submission removes the old openstack-core global resource. 1. I74a62973146c0261385ecf5fd3d06db51e079caa Change-Id: I16a786ce167c57848551c7245f4344c382c55b3d --- manifests/profile/pacemaker/database/mysql.pp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'manifests/profile/pacemaker/database/mysql.pp') diff --git a/manifests/profile/pacemaker/database/mysql.pp b/manifests/profile/pacemaker/database/mysql.pp index 80015d0..cc95092 100644 --- a/manifests/profile/pacemaker/database/mysql.pp +++ b/manifests/profile/pacemaker/database/mysql.pp @@ -168,17 +168,6 @@ MYSQL_HOST=localhost\n", password=\"${mysql_root_password}\"", require => Exec['galera-set-root-password'], } - if $pacemaker_master { - pacemaker::constraint::base { 'galera-then-openstack-core-constraint': - constraint_type => 'order', - first_resource => 'galera-master', - second_resource => 'openstack-core-clone', - first_action => 'promote', - second_action => 'start', - require => [Pacemaker::Resource::Ocf['galera'], - Pacemaker::Resource::Ocf['openstack-core']], - } - } } } -- cgit 1.2.3-korg