Add pcs cleanup exec 07/17107/5
authorMichael Chapman <michapma@redhat.com>
Mon, 18 Jul 2016 20:50:56 +0000 (16:50 -0400)
committerMichael Chapman <michapma@redhat.com>
Tue, 26 Jul 2016 19:25:17 +0000 (15:25 -0400)
commit72c2c090143d29be9c152bf189324277921f2b90
tree2f00b5087aa792d64488cbf235f476f2de9cae3a
parentfdece1a118282d19cce0eb9e586cc0c07b0bd01a
Add pcs cleanup exec

Run a pcs cleanup before db sync and also at the end of the deployment.
This will give processes a chance to recover in case there has been
any kind of error that would lead to a process being scored -INFINITY
due to repeated failed startup that may have been caused by load during
the deployment, or another latent issue.

Print out any services that are failed in pcs at the end of deployments.

opnfv-tht-pr: 41

Change-Id: Idf4f03cd0463a3facd0726483091ac6f1b3bf000
Signed-off-by: Michael Chapman <michapma@redhat.com>
ci/PR_revision.log
lib/post-install-functions.sh