Deprecate the "glance-cache-manage" command

Change-Id: I5fe40f1ebd6acd25d4ed2e05d20a409511be08af
This commit is contained in:
Cyril Roelandt 2024-01-23 17:55:12 +01:00
parent f429b53e04
commit 71e3c036d7
2 changed files with 10 additions and 0 deletions

View File

@ -499,6 +499,9 @@ def user_confirm(prompt, default=False):
def main():
print('In the Caracal development cycle, the glance-cache-manage command '
'has been deprecated in favor of the new Cache API. It is scheduled '
'to be removed in the Dalmatian development cycle.', file=sys.stderr)
parser = argparse.ArgumentParser(
description=_format_command_help(),
formatter_class=argparse.RawDescriptionHelpFormatter)

View File

@ -0,0 +1,7 @@
deprecations:
- |
The ``glance-cache-manage`` command is deprecated in this release in favor
of the new Cache API. It is subject to removal at the beginning of the
Dalmatian development cycle, following the `OpenStack standard deprecation
policy
<https://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html>`_.