updated start proto to return exception strings, updated grpc start session to exist early when a failure is found, updated coretk ui to not switch ui to running when start fails and display error dialog
This commit is contained in:
parent
5639aeab75
commit
6d68034177
8 changed files with 70 additions and 36 deletions
|
@ -458,7 +458,7 @@ class CoreServices:
|
|||
"""
|
||||
Start all services on a node.
|
||||
|
||||
:param core.netns.vnode.LxcNode node: node to start services on
|
||||
:param core.nodes.base.CoreNode node: node to start services on
|
||||
:return: nothing
|
||||
"""
|
||||
boot_paths = ServiceDependencies(node.services).boot_paths()
|
||||
|
@ -468,7 +468,7 @@ class CoreServices:
|
|||
funcs.append((self._start_boot_paths, args, {}))
|
||||
result, exceptions = utils.threadpool(funcs)
|
||||
if exceptions:
|
||||
raise ServiceBootError(exceptions)
|
||||
raise ServiceBootError(*exceptions)
|
||||
|
||||
def _start_boot_paths(self, node, boot_path):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue