From 42cd4b2e40455591de42439352ad1516bc1fa788 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 1 May 2019 17:59:16 -0400 Subject: [PATCH] Document that server dump create requires 2.17 There is no indication to the user in the command help that they have to use 2.17 or greater [1] to run the "openstack server dump create" command. This mentions that requirement in the help of the command. [1] https://developer.openstack.org/api-ref/compute/#trigger-crash-dump-in-server Change-Id: I02c06e10a26eb38ddecb70f970cfcbfad962201c --- openstackclient/compute/v2/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index a040e4f088..cb9f8d43eb 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -947,6 +947,8 @@ class CreateServerDump(command.Command): It will create a dump file in the server(s) dumping the server(s)' memory, and also crash the server(s). OSC sees the dump file (server dump) as a kind of resource. + + This command requires ``--os-compute-api-version`` 2.17 or greater. """ def get_parser(self, prog_name):