Merge "Deprecate the glance-cache-{cleaner,prefetcher,pruner} commands"
This commit is contained in:
@@ -51,6 +51,10 @@ CONF.set_default(name='use_stderr', default=True)
|
||||
|
||||
|
||||
def main():
|
||||
print('The Glance cache cleaner has been deprecated since the Epoxy '
|
||||
'(2025.1) release. It will be removed in the G (2026.1) release. '
|
||||
'The Cache API should be used instead.',
|
||||
file=sys.stderr)
|
||||
try:
|
||||
config.parse_cache_args()
|
||||
logging.setup(CONF, 'glance')
|
||||
|
||||
@@ -46,6 +46,10 @@ CONF.set_default(name='use_stderr', default=True)
|
||||
|
||||
|
||||
def main():
|
||||
print('The Glance cache prefetcher has been deprecated since the Epoxy '
|
||||
'(2025.1) release. It will be removed in the G (2026.1) release. '
|
||||
'The Cache API should be used instead.',
|
||||
file=sys.stderr)
|
||||
try:
|
||||
config.parse_cache_args()
|
||||
logging.setup(CONF, 'glance')
|
||||
|
||||
@@ -43,6 +43,10 @@ CONF.set_default(name='use_stderr', default=True)
|
||||
|
||||
|
||||
def main():
|
||||
print('The Glance cache pruner has been deprecated since the Epoxy '
|
||||
'(2025.1) release. It will be removed in the G (2026.1) release. '
|
||||
'The Cache API should be used instead.',
|
||||
file=sys.stderr)
|
||||
try:
|
||||
config.parse_cache_args()
|
||||
logging.setup(CONF, 'glance')
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The glance-cache-cleaner, glance-cache-prefetcher and glance-cache-pruner
|
||||
commands are deprecated in the 2025.1 release (Epoxy) and are subject to
|
||||
removal at the beginning of the 2026.1 (G) development cycle, following
|
||||
the `OpenStack standard deprecation policy
|
||||
<https://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html>`_.
|
||||
The Cache API should be used instead.
|
||||
Reference in New Issue
Block a user