Add managers to ceph cluster
Deploys Ceph manager services on given hosts.
Request body
Object with a list of Ceph manager configurations.
| Property | Type & Description | ||||
|---|---|---|---|---|---|
managers array of objects (CephManager) List of Ceph manager configurations.
| |||||
Request Examples
echo '{"managers": [{"host": "n1.op.example.com"}]}' | onepanel-rest-cli -u onepanel:$PASSPHRASE addCephManagers --host https://$HOST:9443
Responses
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}