commit 32f61400c7d68804df46593f5bd392c364958f91
Author: Aleksandr Didenko <email address hidden>
Date: Thu Aug 14 13:19:12 2014 +0300
Fix '/etc/init.d/supervisord status'
"service supervisord status" reports wrong status (servise is up)
even when supervisor is down. It uses "supervisorctl status" which
returns exit code "0" when supervisor is down. We're adding
additional check for status() function to fix this.
Reviewed: https:/ /review. openstack. org/114193 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=32f61400c7d 68804df46593f5b d392c364958f91
Committed: https:/
Submitter: Jenkins
Branch: master
commit 32f61400c7d6880 4df46593f5bd392 c364958f91
Author: Aleksandr Didenko <email address hidden>
Date: Thu Aug 14 13:19:12 2014 +0300
Fix '/etc/init. d/supervisord status'
"service supervisord status" reports wrong status (servise is up)
even when supervisor is down. It uses "supervisorctl status" which
returns exit code "0" when supervisor is down. We're adding
additional check for status() function to fix this.
Closes-bug: #1356805
Change-Id: I6979d9b54c1e9f ed2f1629ebc1edc 741f2136b56