Add monitors to Ceph cluster
Deploys Ceph monitor services on given hosts.
Request body
List of Ceph monitor specifications.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
monitors array of objects (CephMonitor) List of Ceph monitor specifications.
| |||||||
Request Examples
echo '{"monitors": [{"host": "n1.op.example.com"}]}' | onepanel-rest-cli -u onepanel:$PASSPHRASE addCephMonitors --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."
}
}