Skip to content

Commit 4040d42

Browse files
committed
Clarify ControllerModifyVolume errors
Collapse the INVALID_ARGUMENTS error rows. For ControllerModifyVolume, clarify that INVALID_ARGUMENT is an infeasible error and that the SP has not made any changes, so the CO does not need to retry.
1 parent a539b4f commit 4040d42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,8 +1711,7 @@ message ControllerModifyVolumeResponse {
17111711

17121712
| Condition | gRPC Code | Description | Recovery Behavior |
17131713
|-----------|-----------|-------------|-------------------|
1714-
| Parameters not supported | 3 INVALID_ARGUMENT | Indicates that the CO has specified mutable parameters not supported by the volume. | Caller MAY verify mutable parameters. |
1715-
| Exceeds capabilities | 3 INVALID_ARGUMENT | Indicates that the CO has specified capabilities not supported by the volume. | Caller MAY verify volume capabilities by calling ValidateVolumeCapabilities and retry with matching capabilities. |
1714+
| Parameters not supported | 3 INVALID_ARGUMENT | Indicates that the CO has specified invalid mutable parameter keys or values, or the specified volume cannot support the specified parameters. The SP MUST NOT have applied any modification to the volume as part of this specific call. | A caller may verify volume capabilities by calling ValidateVolumeCapabilities and then retry the request with valid mutable parameters. |
17161715
| Volume does not exist | 5 NOT_FOUND | Indicates that a volume corresponding to the specified volume_id does not exist. | Caller MUST verify that the volume_id is correct and that the volume is accessible and has not been deleted before retrying with exponential back off. |
17171716

17181717
#### `GetCapacity`

0 commit comments

Comments
 (0)