* If using service_id, perform the action on a single specific daemon
instance.
- :param action: one of "start", "stop", "reload", "restart", "redeploy"
+ :param action: one of "start", "stop", "restart", "redeploy"
:param service_type: e.g. "mds", "rgw", ...
:param service_name: name of logical service ("cephfs", "us-east", ...)
:param service_id: service daemon instance (usually a short hostname)
@orchestrator._cli_write_command(
'orchestrator service',
- "name=action,type=CephChoices,strings=start|stop|reload|restart|redeploy "
+ "name=action,type=CephChoices,strings=start|stop|restart|redeploy "
"name=svc_type,type=CephString "
"name=svc_name,type=CephString",
- 'Start, stop or reload an entire service (i.e. all daemons)')
+ 'Start, stop, restart, redeploy an entire service (i.e. all daemons)')
def _service_action(self, action, svc_type, svc_name):
completion = self.service_action(action, svc_type, service_name=svc_name)
self._orchestrator_wait([completion])
@orchestrator._cli_write_command(
'orchestrator service-instance',
- "name=action,type=CephChoices,strings=start|stop|reload|restart|redeploy "
+ "name=action,type=CephChoices,strings=start|stop|restart|redeploy "
"name=svc_type,type=CephString "
"name=svc_id,type=CephString",
- 'Start, stop or reload a specific service instance')
+ 'Start, stop, restart, or redeploy a specific service instance')
def _service_instance_action(self, action, svc_type, svc_id):
completion = self.service_action(action, svc_type, service_id=svc_id)
self._orchestrator_wait([completion])