diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2017-02-01 11:48:30 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril@redhat.com> | 2022-07-05 03:45:53 +0200 |
commit | b17f770b5fee3d52cece8451b7adb3f944270404 (patch) | |
tree | 2357b70e520f301d552246cb6875630cb2ab8045 | |
parent | 331ce59a50524e65630aed2d888af30f4494563d (diff) | |
download | glance-b17f770b5fee3d52cece8451b7adb3f944270404.tar.gz |
Adds purge command to glancemanage man page
Closes-Bug: #1647491
Change-Id: I92ec228ebe9ac8eadb56dfe152535d3d6eedd62f
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | doc/source/cli/glancemanage.rst | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/source/cli/glancemanage.rst b/doc/source/cli/glancemanage.rst index 628de96a5..03d47f931 100644 --- a/doc/source/cli/glancemanage.rst +++ b/doc/source/cli/glancemanage.rst @@ -82,6 +82,38 @@ COMMANDS metadef_objects, metadef_resource_types, metadef_namespaces and metadef_properties. +``db_purge`` + Purge deleted rows older than a given age from glance db tables. + + This command interprets the following options when it is invoked: + + --max_rows Purge deleted rows older than age in days (default + value if not specified: 100) + --age_in_days Limit number of records to delete (default value if + not specified: 30 days) + + WARNING: This function is useful primarily in test systems. We do not + recommend its use in production systems unless you have reviewed + OpenStack Security Note `OSSN-0075`_ and understand the risk involved. + + .. _`OSSN-0075`: https://wiki.openstack.org/wiki/OSSN/OSSN-0075 + +``db_purge_images_table`` + Purge deleted rows older than a given age from images db tables. + + This command interprets the following options when it is invoked: + + --max_rows Purge deleted rows older than age in days (default + value if not specified: 100) + --age_in_days Limit number of records to delete (default value if + not specified: 30 days) + + WARNING: This function is useful primarily in test systems. We do not + recommend its use in production systems unless you have reviewed + OpenStack Security Note `OSSN-0075`_ and understand the risk involved. + + .. _`OSSN-0075`: https://wiki.openstack.org/wiki/OSSN/OSSN-0075 + OPTIONS ======= |