ceph.ceph_admin.daemon module

CephADM orchestration Daemon operations.

class ceph.ceph_admin.daemon.Daemon(cluster, **config)

Bases: AddMixin, Orch

op(op, config)

Execute the command ceph orch daemon <start|stop|restart|reconfigure|redeploy> <service>.

Parameters
  • config (Dict) – command and service are passed from the test case.

  • op (Str) – operation parameters

Returns

output (Str), error (Str) returned by the command.

Example:

config:
    command: start   # (restart | start | stop | reconfigure | redeploy)
    base_cmd_args:
        verbose: true
    pos_args:
        - service_name