Get details of a Ceph pool
Returns object describng single Ceph pool specified by name.
Path parameters
| Parameter | Type & Description |
|---|---|
| name required | string The name of the pool to describe. |
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getCephPool name=$POOL_NAME --host https://$HOST:9443Responses
The pool details.
Name of the pool.
Desired number of object replicas in the pool. When below this number the pool still may be used in 'degraded' mode. Defaults to 2 if there are at least 2 OSDs, 1 otherwise.
Minimum number of object replicas in the pool. Below this threshold any I/O for the pool is disabled. Must be lower or equal to 'copiesNumber'. Defaults to min(2, copiesNumber) if there are at least 2 OSDs, 1 otherwise.
Unauthorized request.
Forbidden request.
Pool with given name does not exist.
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."
}
}