On centos71, service status command for cassandra does not return
'running' in output after moving cassandra out of supervisord and
hence the verify_database task fails during setup_all.
Add option to instead check whether the command succeeded
or failed to determine whether the service is running or not.
Partial-Bug: #1484297
Change-Id: I0b204142da04fb50d3c106da5701e5d8eb866903
(cherry picked from commit a037f303d82f3003bccb6072a0c8a8890f0acc41)
Reviewed: https:/ /review. opencontrail. org/13891 github. org/Juniper/ contrail- fabric- utils/commit/ aa718f55c568979 b0755df99e51a8e 9f45b22568
Committed: http://
Submitter: Zuul
Branch: master
commit aa718f55c568979 b0755df99e51a8e 9f45b22568
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 16 18:59:00 2015 -0700
On centos71, service status command for cassandra does not return
'running' in output after moving cassandra out of supervisord and
hence the verify_database task fails during setup_all.
Add option to instead check whether the command succeeded
or failed to determine whether the service is running or not.
Partial-Bug: #1484297
Change-Id: I0b204142da04fb 50d3c106da5701e 5d8eb866903 3bccb6072a0c8a8 890f0acc41)
(cherry picked from commit a037f303d82f300