Add managers to ceph cluster
Deploys Ceph manager services on given hosts.
Request body
Object with a list of Ceph manager configurations.
managers array of objects (CephManager) List of Ceph manager configurations.
List of Ceph manager configurations.
Host on which given manager should be deployed.
Manager identifier. Equal to the hostname.
Request Examples
echo '{"managers": [{"host": "n1.op.example.com"}]}' | onepanel-rest-cli -u onepanel:$PASSPHRASE addCephManagers --host https://$HOST:9443
Responses
Invalid request.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
error object Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}