services

Manage services, this includes both Ceph services and croit-specific services running on both the ceph servers and management node.

post /services/{type}/{id}/start

Start a service.

Arguments
  • typerequiredstring

    -

  • idrequiredinteger

    -

Definition
post /services/{type}/{id}/start

post /services/{type}/{id}/stop

Stop a service.

Arguments
  • typerequiredstring

    -

  • idrequiredinteger

    -

Definition
post /services/{type}/{id}/stop

get /services

List of all services across all servers.

Arguments
  • No arguments...

Definition
get /services
Attributes
  • idstring

    -

  • typestring

    [osd, mon, mgr, radosgw, mds, nfs_gateway, iscsi, smb, unknown]

  • statestring

    [creating, enabled, disabled, creation_failed]

  • serverinteger

    -

  • ipstring

    -

  • runningboolean

    -

Example response
[ { "id": "string", "type": "osd", "state": "creating", "server": 0, "ip": "string", "running": true } ]

delete /services/{serviceId}

Delete a service.

Arguments
  • serviceIdrequiredinteger

    -

Definition
delete /services/{serviceId}

post /services/{type}/{id}/restart

Restart a service.

Arguments
  • typerequiredstring

    -

  • idrequiredinteger

    -

Definition
post /services/{type}/{id}/restart