Merge "[api-ref] Correct response code in Cinder API v2"
This commit is contained in:
commit
0f29ca0450
@ -61,7 +61,7 @@ Create consistency group
|
|||||||
|
|
||||||
Creates a consistency group.
|
Creates a consistency group.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -144,7 +144,7 @@ Create consistency group from source
|
|||||||
|
|
||||||
Creates a consistency group from source.
|
Creates a consistency group from source.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -175,7 +175,7 @@ Delete consistency group
|
|||||||
|
|
||||||
Deletes a consistency group.
|
Deletes a consistency group.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -245,7 +245,7 @@ Update consistency group
|
|||||||
|
|
||||||
Updates a consistency group.
|
Updates a consistency group.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -19,7 +19,9 @@ This operations deletes the backup and any backup data.
|
|||||||
The backup driver returns the ``405`` status code if it does not
|
The backup driver returns the ``405`` status code if it does not
|
||||||
support this operation.
|
support this operation.
|
||||||
|
|
||||||
Error response codes:404,405,202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
Error response codes:404,405,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -148,7 +148,7 @@ Delete backup
|
|||||||
|
|
||||||
Deletes a backup.
|
Deletes a backup.
|
||||||
|
|
||||||
Error response codes:204,
|
Normal response codes: 204,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -170,7 +170,7 @@ Restores a Block Storage backup to an existing or new Block Storage volume.
|
|||||||
You must specify either the UUID or name of the volume. If you
|
You must specify either the UUID or name of the volume. If you
|
||||||
specify both the UUID and name, the UUID takes priority.
|
specify both the UUID and name, the UUID takes priority.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -206,7 +206,7 @@ Create backup
|
|||||||
|
|
||||||
Creates a Block Storage backup from a volume.
|
Creates a Block Storage backup from a volume.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
Request
|
Request
|
||||||
-------
|
-------
|
||||||
|
@ -15,7 +15,7 @@ Delete consistency group snapshot
|
|||||||
|
|
||||||
Deletes a consistency group snapshot.
|
Deletes a consistency group snapshot.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -150,7 +150,7 @@ Create consistency group snapshot
|
|||||||
|
|
||||||
Creates a consistency group snapshot.
|
Creates a consistency group snapshot.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
Request
|
Request
|
||||||
-------
|
-------
|
||||||
|
@ -20,7 +20,7 @@ may interpret the existing storage volume reference differently but
|
|||||||
should accept a reference structure containing either a ``source-
|
should accept a reference structure containing either a ``source-
|
||||||
volume-id`` or ``source-volume-name`` element, if possible.
|
volume-id`` or ``source-volume-name`` element, if possible.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -14,7 +14,7 @@ Accept volume transfer
|
|||||||
|
|
||||||
Accepts a volume transfer.
|
Accepts a volume transfer.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -52,7 +52,7 @@ Create volume transfer
|
|||||||
|
|
||||||
Creates a volume transfer.
|
Creates a volume transfer.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -169,7 +169,7 @@ Delete volume transfer
|
|||||||
|
|
||||||
Deletes a volume transfer.
|
Deletes a volume transfer.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -18,7 +18,7 @@ Disassociate QoS specification from all associations
|
|||||||
|
|
||||||
Disassociates a QoS specification from all associations.
|
Disassociates a QoS specification from all associations.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -101,7 +101,7 @@ Associate QoS specification with volume type
|
|||||||
|
|
||||||
Associates a QoS specification with a volume type.
|
Associates a QoS specification with a volume type.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -120,7 +120,7 @@ Disassociate QoS specification from volume type
|
|||||||
|
|
||||||
Disassociates a QoS specification from a volume type.
|
Disassociates a QoS specification from a volume type.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -216,7 +216,7 @@ Delete QoS specification
|
|||||||
|
|
||||||
Deletes a QoS specification.
|
Deletes a QoS specification.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -238,7 +238,7 @@ Creates a QoS specification.
|
|||||||
|
|
||||||
Specify one or more key and value pairs in the request body.
|
Specify one or more key and value pairs in the request body.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -280,8 +280,7 @@ List QoS specs
|
|||||||
Lists quality of service (QoS) specifications.
|
Lists quality of service (QoS) specifications.
|
||||||
|
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200, 300,
|
||||||
Error response codes:300,
|
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -24,7 +24,7 @@ or source-name element, if possible.
|
|||||||
The API chooses the size of the volume by rounding up the size of
|
The API chooses the size of the volume by rounding up the size of
|
||||||
the existing storage volume to the next gibibyte (GiB).
|
the existing storage volume to the next gibibyte (GiB).
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -21,7 +21,7 @@ Add private volume type access
|
|||||||
|
|
||||||
Adds private volume type access to a project.
|
Adds private volume type access to a project.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -47,7 +47,7 @@ Remove private volume type access
|
|||||||
|
|
||||||
Removes private volume type access from a project.
|
Removes private volume type access from a project.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -15,8 +15,7 @@ List API extensions
|
|||||||
Lists Block Storage API extensions.
|
Lists Block Storage API extensions.
|
||||||
|
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200, 300
|
||||||
Error response codes:300,
|
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -77,7 +77,7 @@ Create snapshot
|
|||||||
|
|
||||||
Creates a volume snapshot, which is a point-in-time, complete copy of a volume. You can create a volume from a snapshot.
|
Creates a volume snapshot, which is a point-in-time, complete copy of a volume. You can create a volume from a snapshot.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -347,7 +347,7 @@ Delete snapshot
|
|||||||
|
|
||||||
Deletes a snapshot.
|
Deletes a snapshot.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -160,7 +160,7 @@ Delete volume type
|
|||||||
|
|
||||||
Deletes a volume type.
|
Deletes a volume type.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -15,8 +15,7 @@ List API versions
|
|||||||
Lists information for all Block Storage API versions.
|
Lists information for all Block Storage API versions.
|
||||||
|
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200, 300
|
||||||
Error response codes:300,
|
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -41,7 +40,6 @@ Shows details for Block Storage API v2.
|
|||||||
|
|
||||||
|
|
||||||
Normal response codes: 200
|
Normal response codes: 200
|
||||||
Error response codes:203,
|
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -33,7 +33,7 @@ Troubleshooting
|
|||||||
request. If the request fails again, investigate the storage back
|
request. If the request fails again, investigate the storage back
|
||||||
end.
|
end.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -65,7 +65,7 @@ Reset volume statuses
|
|||||||
|
|
||||||
Resets the status, attach status, and migration status for a volume. Specify the ``os-reset_status`` action in the request body.
|
Resets the status, attach status, and migration status for a volume. Specify the ``os-reset_status`` action in the request body.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -99,7 +99,7 @@ Set image metadata for volume
|
|||||||
|
|
||||||
Sets the image metadata for a volume. Specify the ``os-set_image_metadata`` action in the request body.
|
Sets the image metadata for a volume. Specify the ``os-set_image_metadata`` action in the request body.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -131,7 +131,7 @@ Remove image metadata from volume
|
|||||||
|
|
||||||
Removes image metadata, by key, from a volume. Specify the ``os-unset_image_metadata`` action in the request body and the ``key`` for the metadata key and value pair that you want to remove.
|
Removes image metadata, by key, from a volume. Specify the ``os-unset_image_metadata`` action in the request body and the ``key`` for the metadata key and value pair that you want to remove.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -169,7 +169,7 @@ Preconditions
|
|||||||
|
|
||||||
- You should set ``instance_uuid`` or ``host_name``.
|
- You should set ``instance_uuid`` or ``host_name``.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -246,7 +246,7 @@ Preconditions
|
|||||||
|
|
||||||
- Volume status must be ``available``.
|
- Volume status must be ``available``.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -280,7 +280,7 @@ Forces a volume to detach. Specify the ``os-force_detach`` action in the request
|
|||||||
Rolls back an unsuccessful detach operation after you disconnect
|
Rolls back an unsuccessful detach operation after you disconnect
|
||||||
the volume.
|
the volume.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -148,7 +148,7 @@ Troubleshooting
|
|||||||
- The storage node needs enough free storage space to match the size
|
- The storage node needs enough free storage space to match the size
|
||||||
of the volume creation request.
|
of the volume creation request.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -429,7 +429,7 @@ Troubleshooting
|
|||||||
- The volume managed by OpenStack Block Storage is not deleted from
|
- The volume managed by OpenStack Block Storage is not deleted from
|
||||||
the storage system.
|
the storage system.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
@ -452,7 +452,7 @@ Create volume metadata
|
|||||||
|
|
||||||
Creates metadata for a volume.
|
Creates metadata for a volume.
|
||||||
|
|
||||||
Error response codes:202,
|
Normal response codes: 202,
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
Loading…
Reference in New Issue
Block a user