summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-09-03 14:52:22 -0400
committerTim Rozet <trozet@redhat.com>2016-09-03 18:57:01 +0000
commit22016161ae3e8491ee57e17dd3385dc854c037d6 (patch)
treed93548366b504ac799dd58e279925f9c5d9a742a
parentae26e2717c408225534033726614a25e16fe18ca (diff)
Disables Congress HA due to congress bugs
JIRA: APEX-257 Change-Id: I21913a6e41a2fd1565b1950345d15d0b5d47cb9c Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 28f239b761c4b1bbe3d96c9eb2801e93db14dc7d)
-rwxr-xr-xlib/post-install-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh
index 6e9859a8..a23e0877 100755
--- a/lib/post-install-functions.sh
+++ b/lib/post-install-functions.sh
@@ -209,5 +209,7 @@ if [[ "$ha_enabled" == 'True' ]]; then
echo "${blue}\nChecking pacemaker service status\n${reset}"
fi
overcloud_connect "controller0" "for i in \$(sudo pcs status | grep '^* ' | cut -d ' ' -f 2 | cut -d '_' -f 1 | uniq); do echo \"WARNING: Service: \$i not running\"; done"
+ # trozet disable congress in HA until congress bugs are fixed
+ overcloud_connect "controller0" "sudo pcs resource ban openstack-congress overcloud-controller-1; sudo pcs resource ban openstack-congress overcloud-controller-2; sudo systemctl restart openstack-congress"
fi
}