From 8e8834cd47d1855e820c6729c3f869cfdf2b02e0 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 7 Feb 2019 08:31:36 -0500 Subject: [PATCH] doc: specify --os-compute-api-version when setting flavor description This is a follow up to change I0f206d9db70465d8ce6b1404f546f3e00eeb6e23 where we changed the docs from using "nova flavor-update" to "openstack flavor set --description" but unlike nova CLI which negotiates the highest available microversion by default, OSC does not and defaults to 2.1 which won't work when trying to set a flavor description. This change adds the --os-compute-api-version option to the command line example to make that command work. Change-Id: I7eacc30b4cf3a5ef89f90ec599f21eaa12bf2a10 --- doc/source/admin/flavors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/admin/flavors.rst b/doc/source/admin/flavors.rst index cb3d92f5fe..3066498c68 100644 --- a/doc/source/admin/flavors.rst +++ b/doc/source/admin/flavors.rst @@ -111,7 +111,7 @@ and a new description as follows: .. code-block:: console - $ openstack flavor set --description + $ openstack --os-compute-api-version 2.55 flavor set --description .. note::