api-ref: mention disk size limitations in resize flavor

In the resize API reference, mention that the specified flavor
must have a disk size greater than or equal to the current
instance flavor. This is something that doesn't get checked
in the API so it results in a failure on the compute service
which is not obvious to the API user since the instance goes
back into state 'ACTIVE'.

Change-Id: I33fc92ffa346b908a8e4f95da16a68040cfc678e
This commit is contained in:
Matt Riedemann 2017-07-15 18:08:26 -04:00
parent 81a153f382
commit a48f124caf
1 changed files with 4 additions and 1 deletions

View File

@ -2495,7 +2495,10 @@ flavorRef:
type: string
flavorRef_resize:
description: |
The flavor ID for resizing the server.
The flavor ID for resizing the server. The size of the disk in the flavor
being resized to must be greater than or equal to the size of the disk in
the current flavor.
If a specified flavor ID is the same as the current one of the server,
the request returns a ``Bad Request (400)`` response code.
in: body