Commit 7b59f9a4 authored by Sebastien Robin's avatar Sebastien Robin Committed by Rafael Monnerat

svcbackend: raise exception if supervisord is failing

errors will be much more visible
parent 14979297
Pipeline #2718 skipped
......@@ -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