summaryrefslogtreecommitdiff
path: root/doc/source/cli
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2023-02-01 15:04:43 +0530
committerwhoami-rajat <rajatdhasmana@gmail.com>2023-02-17 10:02:22 +0000
commit2be359677908b81d9985917fd78f9c6897759fb9 (patch)
tree0f85d1e21234a6101988993bbcafd754eace0622 /doc/source/cli
parenta9e3049e9ce8a6e2d46152ef85ad6679b8cb8f1d (diff)
downloadpython-openstackclient-2be359677908b81d9985917fd78f9c6897759fb9.tar.gz
Add block storage cleanup command
This patch adds the ``block storage cleanup`` command that allow operators to cleanup resources (volumes and snapshots) with failed operations by requesting services in other hosts in the same cluster to cleanup resources of a failed service. Change-Id: I1375223f525021db5201fa0a9f9a647d17dd01f7
Diffstat (limited to 'doc/source/cli')
-rw-r--r--doc/source/cli/command-objects/block-storage-cleanup.rst8
-rw-r--r--doc/source/cli/data/cinder.csv2
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/source/cli/command-objects/block-storage-cleanup.rst b/doc/source/cli/command-objects/block-storage-cleanup.rst
new file mode 100644
index 00000000..6a593c11
--- /dev/null
+++ b/doc/source/cli/command-objects/block-storage-cleanup.rst
@@ -0,0 +1,8 @@
+=============
+block storage
+=============
+
+Block Storage v3
+
+.. autoprogram-cliff:: openstack.volume.v3
+ :command: block storage cleanup
diff --git a/doc/source/cli/data/cinder.csv b/doc/source/cli/data/cinder.csv
index 55055bfa..ebf57221 100644
--- a/doc/source/cli/data/cinder.csv
+++ b/doc/source/cli/data/cinder.csv
@@ -140,7 +140,7 @@ type-update,volume type set,"Updates volume type name description and/or is_publ
unmanage,volume delete --remote,Stop managing a volume.
upload-to-image,image create --volume,Uploads volume to Image Service as an image.
version-list,versions show --service block-storage,List all API versions. (Supported by API versions 3.0 - 3.latest)
-work-cleanup,,Request cleanup of services with optional filtering. (Supported by API versions 3.24 - 3.latest)
+work-cleanup,block storage cleanup,Request cleanup of services with optional filtering. (Supported by API versions 3.24 - 3.latest)
bash-completion,complete,Prints arguments for bash_completion.
help,help,Shows help about this program or one of its subcommands.
list-extensions,extension list --volume,Lists all available os-api extensions.