summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ci/PR_revision.log1
-rwxr-xr-xlib/post-install-functions.sh7
2 files changed, 8 insertions, 0 deletions
diff --git a/ci/PR_revision.log b/ci/PR_revision.log
index 95d64aaf..10daeaee 100644
--- a/ci/PR_revision.log
+++ b/ci/PR_revision.log
@@ -17,3 +17,4 @@
42, congress typo
44,Fixes nova host/ip bug
43,Add support for live migration and resize
+41,Add pcs cleanup exec
diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh
index af72d8f9..1d18b95d 100755
--- a/lib/post-install-functions.sh
+++ b/lib/post-install-functions.sh
@@ -174,4 +174,11 @@ source stackrc
echo "Undercloud IP: $UNDERCLOUD, please connect by doing 'opnfv-util undercloud'"
echo "Overcloud dashboard available at http://\$(heat output-show overcloud PublicVip | sed 's/"//g')/dashboard"
EOI
+
+if [[ "$ha_enabled" == 'True' ]]; then
+ if [ "$debug" == "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"
+fi
}