1f2f23ddef
Resolves: bz#1350745 bz#1362129 bz#1541568 bz#1597252 bz#1599220 Resolves: bz#1633177 bz#1637564 bz#1639476 bz#1639568 bz#1643370 Resolves: bz#1645480 bz#1648296 bz#1648893 bz#1651040 bz#1651460 Resolves: bz#1652466 bz#1652537 bz#1653224 bz#1653613 bz#1654103 Resolves: bz#1654161 bz#1655385 bz#1655578 bz#1656357 bz#1659439 Signed-off-by: Milind Changire <mchangir@redhat.com>
52 lines
2.2 KiB
Diff
52 lines
2.2 KiB
Diff
From e42fcda7ca4becd4e14b36c6318ed6c3a3068783 Mon Sep 17 00:00:00 2001
|
|
From: "Kaleb S. KEITHLEY" <kkeithle@redhat.com>
|
|
Date: Tue, 11 Dec 2018 10:09:42 -0500
|
|
Subject: [PATCH 479/493] ganesha-ha: ensure pacemaker is enabled after setup
|
|
|
|
There appears to be a race between `pcs cluster setup ...` early
|
|
in the setup and the `systemctl enable pacemaker` at the end. The
|
|
`pcs cluster setup ...` disables pacemaker and corosync. (Now, in
|
|
pacemaker-1.1.18. Was it always the case?)
|
|
|
|
I am not able to reproduce this on my devel system. I speculate that
|
|
on a busy system that the `pcs cluster setup ...` disable may, under
|
|
the right conditions, not run until after the setup script enables
|
|
it. It must require the right alignment of the Sun, Moon, and all
|
|
the planets.
|
|
|
|
Regardless, we'll use the --enable option to `pcs cluster setup ...`
|
|
to ensure that the cluster (re)starts pacemaker.
|
|
|
|
Label: DOWNSTREAM ONLY
|
|
|
|
Change-Id: I771ff62c37426438b80e61651a8b4ecaf2d549c3
|
|
BUG: 1637564
|
|
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
|
|
Reviewed-on: https://code.engineering.redhat.com/gerrit/158294
|
|
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
|
|
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
---
|
|
extras/ganesha/scripts/ganesha-ha.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
|
|
index 5cdafad..5a7f5ae 100644
|
|
--- a/extras/ganesha/scripts/ganesha-ha.sh
|
|
+++ b/extras/ganesha/scripts/ganesha-ha.sh
|
|
@@ -195,9 +195,9 @@ setup_cluster()
|
|
|
|
pcs cluster auth ${servers}
|
|
# pcs cluster setup --name ${name} ${servers}
|
|
- pcs cluster setup ${RHEL6_PCS_CNAME_OPTION} ${name} --transport udpu ${servers}
|
|
+ pcs cluster setup ${RHEL6_PCS_CNAME_OPTION} ${name} --enable --transport udpu ${servers}
|
|
if [ $? -ne 0 ]; then
|
|
- logger "pcs cluster setup ${RHEL6_PCS_CNAME_OPTION} ${name} ${servers} failed"
|
|
+ logger "pcs cluster setup ${RHEL6_PCS_CNAME_OPTION} ${name} --enable --transport udpu ${servers} failed"
|
|
#set up failed stop all ganesha process and clean up symlinks in cluster
|
|
stop_ganesha_all "${servers}"
|
|
exit 1;
|
|
--
|
|
1.8.3.1
|
|
|