Add OSDs to Ceph cluster
Deploys Ceph OSD services in the cluster.
Request body
List of OSD specifications.
| Property | Type & Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
osds array of objects (CephOsd) List of Ceph OSD specifications.
| |||||||||||||||||
Request Examples
echo '{"osds": [{"host": "n1.op.example.com", "type": "loopdevice"}]}' | onepanel-rest-cli -u onepanel:$PASSPHRASE addCephOsds --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."
}
}