From a48f124cafb93b8294e37009008e4cfd9e9bdd2e Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Sat, 15 Jul 2017 18:08:26 -0400 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 11c26e91cb1e..03c1eb066138 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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