Add monitors to Ceph cluster
Deploys Ceph monitor services on given hosts.
Request body
List of Ceph monitor specifications.
monitors array of objects (CephMonitor) List of Ceph monitor specifications.
List of Ceph monitor specifications.
Host on which given monitor should be deployed. There may be only one monitor per host. Attempts at creating additional monitors at the same host will be ignored.
Local IP to be used for communication between Ceph nodes. If not specified it will be autodetected.
Monitor identifier. Equal to the hostname of the node where monitor is deployed.
Request Examples
echo '{"monitors": [{"host": "n1.op.example.com"}]}' | onepanel-rest-cli -u onepanel:$PASSPHRASE addCephMonitors --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."
}
}