From 6b3583ab06459dad8c2aa1b762538516047b8b41 Mon Sep 17 00:00:00 2001 From: xiexs Date: Tue, 26 Jan 2016 00:22:56 -0500 Subject: Add support for triggering an crash dump The triggering crash dump feature is supported by nova [1] and novaclient [2] now, it's time to introduce this feature into OSC correspondingly. [1]The change id is: I6ed777ff637254b4b79417008f9055dd19fc7405 [2]The change id is: If03b1864bbe7074c720b946fc2700bd5d07debc3 Change-Id: I5a411f283fdf0fc3c00380d069848a332c799cdd Closes-Bug: #1538372 Co-Authored-By: Tang Chen --- doc/source/command-objects/server.rst | 19 +++++++++++++++++++ doc/source/commands.rst | 1 + 2 files changed, 20 insertions(+) (limited to 'doc/source') diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index fc275971..d50ad37e 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -168,6 +168,25 @@ Delete server(s) Server(s) to delete (name or ID) +server dump create +------------------ +Create a dump file in server(s) + +Trigger crash dump in server(s) with features like kdump in Linux. 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. + +.. program:: server dump create +.. code:: bash + + os server dump create + [ ...] + +.. describe:: + + Server(s) to create dump file (name or ID) + server list ----------- diff --git a/doc/source/commands.rst b/doc/source/commands.rst index 1c4f84b2..bf5d7035 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -112,6 +112,7 @@ referring to both Compute and Volume quotas. * ``security group``: (**Compute**, **Network**) - groups of network access rules * ``security group rule``: (**Compute**, **Network**) - the individual rules that define protocol/IP/port access * ``server``: (**Compute**) virtual machine instance +* ``server dump``: (**Compute**) a dump file of a server created by features like kdump * ``server image``: (**Compute**) saved server disk image * ``service``: (**Identity**) a cloud service * ``service provider``: (**Identity**) a resource that consumes assertions from an ``identity provider`` -- cgit v1.2.1