summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Ciabrini <dciabrin@redhat.com>2017-07-27 14:41:16 +0000
committerDamien Ciabrini <dciabrin@redhat.com>2017-07-27 14:48:35 +0000
commit090b33ed3b28a79eae25e4da02bb3201dba9bbf0 (patch)
tree736ff531eeae01136a55c9249e709b94d0eacf25
parentbf906d75a920103011feb01fe953c43aca52d40c (diff)
Do not run clustercheck on the host after O->P upgrade
Once an Ocata overcloud is upgraded to Pike, clustercheck should only be running in a dedicated container, and xinetd should no longer manage it on the host. Fix the mysql upgrade_task accordingly. Change-Id: I01acacc2ff7bcc867760b298fad6ff11742a2afb Closes-Bug: #1706612
-rw-r--r--docker/services/pacemaker/database/mysql.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/services/pacemaker/database/mysql.yaml b/docker/services/pacemaker/database/mysql.yaml
index f12852f8..624e4caf 100644
--- a/docker/services/pacemaker/database/mysql.yaml
+++ b/docker/services/pacemaker/database/mysql.yaml
@@ -199,3 +199,9 @@ outputs:
- name: Disable mysql service
tags: step2
service: name=mariadb enabled=no
+ - name: Remove clustercheck service from xinetd
+ tags: step2
+ file: state=absent path=/etc/xinetd.d/galera-monitor
+ - name: Restart xinetd service after clustercheck removal
+ tags: step2
+ service: name=xinetd state=restarted