List storage pools (operator-only).
curl --request GET \ --url https://stratum.example.com/v1/storage-pools \ --header 'Authorization: Bearer <token>'. Returns every known pool with its driver, owning node, capacity, health state, and the physical devices (PVs) backing it.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Storage pools.
object
A storage pool. For lvm-thin this is the install’s VG + thin pool on one node; capacity is refreshed by the 60s poller.
object
Stable surrogate id (pool-…)..
missing: the backend no longer has the pool; see
stateReason. Volumes cannot be placed in it. The next successful poll
restores the real state.
Why the pool is missing. Absent otherwise.
Physical devices (PVs) backing the pool’s VG.
The LVM volume group the pool lives in (lvm-thin only). The install’s
default pool is named after its thin LV but lives in the configured
VG, so read the VG from here, never from name. Absent for Ceph and
until the pool’s node has polled it..
Example
{ "items": [ { "driver": "lvm-thin", "state": "healthy" } ]}