maintenance
Cluster maintenance and recovery APIs.
List ceph mgr modules.
{
"enabledModules": [
"string"
],
"disabledModules": [
{
"name": "string",
"canRun": true,
"errorString": "string",
"moduleOptions": {
"additionalProp1": {
"max": "string",
"min": "string",
"desc": "string",
"name": "string",
"tags": [
"string"
],
"type": "string",
"flags": 0,
"level": "string",
"seeAlso": [
"string"
],
"longDesc": "string",
"enumAllowed": [
"string"
],
"defaultValue": "string"
},
"additionalProp2": {
"max": "string",
"min": "string",
"desc": "string",
"name": "string",
"tags": [
"string"
],
"type": "string",
"flags": 0,
"level": "string",
"seeAlso": [
"string"
],
"longDesc": "string",
"enumAllowed": [
"string"
],
"defaultValue": "string"
},
"additionalProp3": {
"max": "string",
"min": "string",
"desc": "string",
"name": "string",
"tags": [
"string"
],
"type": "string",
"flags": 0,
"level": "string",
"seeAlso": [
"string"
],
"longDesc": "string",
"enumAllowed": [
"string"
],
"defaultValue": "string"
}
}
}
]
}
Ping hosts.
Parameters{
"count": 0,
"toIds": [
0
],
"fromId": 0,
"period": 0,
"network": 0
}
{
"additionalProp1": {
"avg": 0,
"max": 0,
"min": 0,
"rcv": 0,
"xmt": 0,
"results": [
0
],
"lossPercent": 0
},
"additionalProp2": {
"avg": 0,
"max": 0,
"min": 0,
"rcv": 0,
"xmt": 0,
"results": [
0
],
"lossPercent": 0
},
"additionalProp3": {
"avg": 0,
"max": 0,
"min": 0,
"rcv": 0,
"xmt": 0,
"results": [
0
],
"lossPercent": 0
}
}
List crashes of Ceph daemons collected by the mgr crash module.
Parameters{
"crashes": [
{
"id": "string",
"process": "string",
"archived": true,
"hostname": "string",
"timestamp": 0
}
]
}
Get ping metrics configuration.
{
"enable": true,
"network": 0
}
Configure ping metrics.
Parameters{
"enable": true,
"network": 0
}
List live ceph mgr module services.
{
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
Ceph cluster flag overview.
[
{
"name": "string",
"description": "string",
"currentState": true,
"recommendedState": true
}
]
Download an unencrypted configuration backup.
Get the maximum number of active MDS (max_mds).
{
"maxMds": 0
}
Set the maximum number of active MDS (max_mds).
Parameters{
"maxMds": 0
}
Check which Ceph upgrades or container switches can be performed.
{
"reef": true,
"mimic": true,
"quincy": true,
"octopus": true,
"pacific": true,
"nautilus": true,
"switchTarget": "string"
}
Check for updates now.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Toggle balancer module on.
List ceph mgr dashboard roles.
[
{
"name": "string",
"description": "string",
"scopesPermissions": {
"additionalProp1": [
"read"
],
"additionalProp2": [
"read"
],
"additionalProp3": [
"read"
]
}
}
]
List ceph mgr dashboard users.
[
{
"name": "string",
"email": "string",
"roles": [
"string"
],
"password": "string",
"username": "string",
"lastUpdate": 0,
"croitImport": true
}
]
Get ping metrics summary.
Parameters[
{
"toId": 0,
"fromId": 0,
"median": 0,
"dropPercent": 0
}
]
Toggle balancer module off.
Toggle ceph mgr dashboard module on.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Restart the croit container. Will only work if the restart policy in docker has been configured correctly.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
List crashes of Ceph daemons collected by the mgr crash module.
The return value is the raw json as reported by Ceph and may change with minor Ceph releases.
Parameters{}
Toggle ceph mgr dashboard module off.
Check if cloud configuration backups are enabled and working.
{
"enabled": true,
"cephFsid": "string",
"clusterId": "string",
"lastBackupSize": 0,
"lastBackupChecksum": "string",
"backupEncryptionKey": "string",
"lastBackupTimestamp": 0
}
Configure cloud configuration backups.
Parameters{
"enabled": true
}
Get the recovery speed.
{
"speed": 0
}
Set the recovery speed.
This can be used to fine-tune the balance between client IOPS and data rebalancing.
Parameters{
"speed": 0
}
Perform a cluster upgrade to Ceph Reef.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Get OSD full ratios.
{
"full": 0,
"nearfull": 0,
"backfillfull": 0
}
Update OSD full ratios.
Parameters{
"full": 0,
"nearfull": 0,
"backfillfull": 0
}
Archive all recent crash reports, clearing all warnings.
Set a Ceph cluster flag.
ParametersPerform a cluster upgrade to Ceph Mimic.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Download an unencrypted configuration backup.
Get croit auto-update parameters.
{
"cron": "string",
"custom": true,
"enabled": true,
"croitTag": "string",
"registry": "string",
"imageName": "string",
"registryPassword": "string",
"registryUsername": "string"
}
Change croit auto-update parameters.
Parameters{
"cron": "string",
"custom": true,
"enabled": true,
"croitTag": "string",
"registry": "string",
"imageName": "string",
"registryPassword": "string",
"registryUsername": "string"
}
Perform a cluster upgrade to Ceph Quincy.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Get the minimum ceph version clients need to be compatible with the cluster (min-compat-client).
"LUMINOUS"
Set the minimum ceph version clients need to be compatible with the cluster (min-compat-client).
Parameters{
"release": "LUMINOUS"
}
Instruct an OSD to scrub all its PGs.
ParametersUnset a Ceph cluster flag.
ParametersPerform a cluster upgrade to Ceph Octopus.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Perform a cluster upgrade to Ceph Pacific.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Reboot all servers not running their configured image.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Get the timezone applied to the schedule.
{
"options": [
"string"
],
"timezone": "string"
}
Update the timezone applied to the schedule.
Parameters{
"timezone": "string"
}
Perform a cluster upgrade to Ceph Nautilus.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Get the standby-replay setting (false if there is no cephfs)
{
"cephFsName": "string",
"allowStandbyReplay": true
}
Enable or disable standby replay.
Parameters{
"cephFsName": "string",
"allowStandbyReplay": true
}
Perform a cloud backup now.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Archive a crash report, clearing the Ceph health warning related to it.
ParametersInstruct an OSD to deep-scrub all its PGs.
ParametersAdd ceph mgr dashboard role.
Parameters{
"description": "string",
"permissions": {
"additionalProp1": [
"read"
],
"additionalProp2": [
"read"
],
"additionalProp3": [
"read"
]
}
}
Update ceph mgr dashboard role.
Parameters{
"addPerms": {
"additionalProp1": [
"read"
],
"additionalProp2": [
"read"
],
"additionalProp3": [
"read"
]
},
"delPerms": [
"string"
]
}
Delete ceph mgr dashboard role.
ParametersAdd ceph mgr dashboard user.
Parameters{
"password": "string"
}
Update ceph mgr dashboard user.
Parameters{
"addRoles": [
"string"
],
"delRoles": [
"string"
],
"password": "string",
"setRoles": [
"string"
],
"passwordHash": "string"
}
Delete ceph mgr dashboard user.
ParametersCheck if CPU idle states are disabled.
0
Disable CPU idle states above set limit.
Parameters0
Switch to the correct croit container.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Generates a new crypto key used for all future backups.
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}