summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Karpin <mkarpin@mirantis.com>2016-07-12 13:21:52 +0300
committerMykyta Karpin <mkarpin@mirantis.com>2016-07-14 17:49:42 +0300
commit71437adf5ec88802a5599b93530a8cf9847047f3 (patch)
tree56b160b9eafa2f499cd1dc260fb0d11158a495e1
parent6e4d9213d24d14b06ac6dc65084e46b3b7ed837e (diff)
Fix redis setup during redeploy
After deletion and addition of controller to cluster, redis server is stopped in pacemaker on the added controller. This is related to that fact that OCF script for redis was added to controller after cluster services (corosync, pacemaker) are started, this commit fixes this issue. Closes-Bug: #1602185 Change-Id: I1e11cb1ca805c1862fd2527b2e0d51075e2de1af
Notes
Notes (review): Code-Review+2: Nadya Shakhat <nprivalova@mirantis.com> Workflow+1: Nadya Shakhat <nprivalova@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 14 Jul 2016 15:01:10 +0000 Reviewed-on: https://review.openstack.org/342214 Project: openstack/fuel-plugin-ceilometer-redis Branch: refs/heads/master
-rw-r--r--deployment_tasks.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/deployment_tasks.yaml b/deployment_tasks.yaml
index 5d5c407..a6a7ccb 100644
--- a/deployment_tasks.yaml
+++ b/deployment_tasks.yaml
@@ -1,10 +1,10 @@
1## we must upload ocf scripts on all controllers before 1## we must upload ocf scripts on all controllers before
2## create clone resources. 2## start pacemaker and create clone resources.
3- id: primary_create_redis_ocf 3- id: primary_create_redis_ocf
4 type: puppet 4 type: puppet
5 groups: [primary-controller] 5 groups: [primary-controller]
6 required_for: [deploy_end] 6 required_for: [primary-cluster]
7 requires: [ceilometer-controller] 7 requires: [fuel_pkgs]
8 parameters: 8 parameters:
9 puppet_manifest: "puppet/manifests/create_redis_ocf.pp" 9 puppet_manifest: "puppet/manifests/create_redis_ocf.pp"
10 puppet_modules: "puppet/modules:/etc/puppet/modules" 10 puppet_modules: "puppet/modules:/etc/puppet/modules"
@@ -13,8 +13,8 @@
13- id: create_redis_ocf 13- id: create_redis_ocf
14 type: puppet 14 type: puppet
15 groups: [controller] 15 groups: [controller]
16 required_for: [deploy_end] 16 required_for: [cluster]
17 requires: [ceilometer-controller] 17 requires: [fuel_pkgs]
18 cross-depends: 18 cross-depends:
19 - name: primary_create_redis_ocf 19 - name: primary_create_redis_ocf
20 parameters: 20 parameters: