except RuntimeError as e:
raise Error('Failed to add host <%s>: %s' % (host, e))
- if not ctx.orphan_initial_daemons:
- for t in ['mon', 'mgr', 'crash']:
+ for t in ['mon', 'mgr', 'crash']:
+ if ctx.orphan_initial_daemons:
logger.info('Deploying %s service with default placement...' % t)
- cli(['orch', 'apply', t])
+ cli(['orch', 'apply', t, '--unmanaged'])
+ else:
+ logger.info('Deploying unmanaged %s service...' % t)
+ cli(['orch', 'apply', t, '--unmanaged'])
+
+ if not ctx.orphan_initial_daemons:
+ logger.info('Deploying crash service with default placement...')
+ cli(['orch', 'apply', 'crash'])
if not ctx.skip_monitoring_stack:
logger.info('Enabling mgr prometheus module...')
parser_bootstrap.add_argument(
'--orphan-initial-daemons',
action='store_true',
- help='Do not create initial mon, mgr, and crash service specs')
+ help='Set mon and mgr service to `unmanaged`, Do not create the crash service')
parser_bootstrap.add_argument(
'--skip-monitoring-stack',
action='store_true',