Commit b31b0940 authored by Sebastien Robin's avatar Sebastien Robin

svcbackend: raise exception if supervisord is failing

errors will be much more visible
parent 36d4dbda
......@@ -174,7 +174,7 @@ def launchSupervisord(instance_root, logger,
result = supervisord_popen.communicate()[0]
if supervisord_popen.returncode:
logger.warning('Supervisord unknown problem: %s' % result)
return
raise RuntimeError('Failed to launch supervisord : %s' % result)
try:
default_timeout = socketlib.getdefaulttimeout()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment