disk_type_not_available
HTTP 422 Error
What happened
The storage you asked for does not exist on this server type. Two cases give this code: a Ceph system disk asked for on a type whose disks are local only, and a data disk asked for on such a type - data disks live on shared storage, so a type without it has none.
What to do
For a system disk, send disk_type local or choose a type that offers Ceph. For extra space on a local-only type, take a server with a larger system disk: that type does not add data disks at all.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/disk_type_not_available",
"title": "Error",
"status": 422,
"code": "disk_type_not_available",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.