Skip to content

Commit e183eb4

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Adds purge command to glancemanage man page"
2 parents 199722a + b17f770 commit e183eb4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/source/cli/glancemanage.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,38 @@ COMMANDS
8282
metadef_objects, metadef_resource_types, metadef_namespaces and
8383
metadef_properties.
8484

85+
``db_purge``
86+
Purge deleted rows older than a given age from glance db tables.
87+
88+
This command interprets the following options when it is invoked:
89+
90+
--max_rows Purge deleted rows older than age in days (default
91+
value if not specified: 100)
92+
--age_in_days Limit number of records to delete (default value if
93+
not specified: 30 days)
94+
95+
WARNING: This function is useful primarily in test systems. We do not
96+
recommend its use in production systems unless you have reviewed
97+
OpenStack Security Note `OSSN-0075`_ and understand the risk involved.
98+
99+
.. _`OSSN-0075`: https://wiki.openstack.org/wiki/OSSN/OSSN-0075
100+
101+
``db_purge_images_table``
102+
Purge deleted rows older than a given age from images db tables.
103+
104+
This command interprets the following options when it is invoked:
105+
106+
--max_rows Purge deleted rows older than age in days (default
107+
value if not specified: 100)
108+
--age_in_days Limit number of records to delete (default value if
109+
not specified: 30 days)
110+
111+
WARNING: This function is useful primarily in test systems. We do not
112+
recommend its use in production systems unless you have reviewed
113+
OpenStack Security Note `OSSN-0075`_ and understand the risk involved.
114+
115+
.. _`OSSN-0075`: https://wiki.openstack.org/wiki/OSSN/OSSN-0075
116+
85117
OPTIONS
86118
=======
87119

0 commit comments

Comments
 (0)