Deprecate owner_is_tenant

Mark the owner_is_tenant configuration option as deprecated.
Includes a release note and regenerated configuration file.

Change-Id: I10c354aa82d269136eb743195d07411da231bfda
Implements: blueprint spec-lite-deprecate-owner-is-tenant
This commit is contained in:
Brian Rosmaita 2018-03-13 13:32:18 -04:00
parent 3914fefd50
commit 1f3d56fdcc
3 changed files with 33 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# From glance.api
#
#
# DEPRECATED:
# Set the image owner to tenant or the authenticated user.
#
# Assign a boolean value to determine the owner of an image. When set to
@ -22,6 +22,15 @@
# * None
#
# (boolean value)
# This option is deprecated for removal since Rocky.
# Its value may be silently ignored in the future.
# Reason:
# The non-default setting for this option misaligns Glance with other
# OpenStack services with respect to resource ownership. Further, surveys
# indicate that this option is not used by operators. The option will be
# removed early in the 'S' development cycle following the standard OpenStack
# deprecation policy. As the option is not in wide use, no migration path is
# proposed.
#owner_is_tenant = true
#
@ -795,7 +804,10 @@
#
# Provide a non-negative integer value to set the number of child
# process workers to service requests. By default, the number of CPUs
# available is set as the value for ``workers``.
# available is set as the value for ``workers`` limited to 8. For
# example if the processor count is 6, 6 workers will be used, if the
# processor count is 24 only 8 workers will be used. The limit will only
# apply to the default value, if 24 workers is configured, 24 is used.
#
# Each worker process is made to listen on the port set in the
# configuration file and contains a greenthread pool of size 1000.

View File

@ -25,7 +25,18 @@ from glance.i18n import _, _LW
context_opts = [
cfg.BoolOpt('owner_is_tenant', default=True,
cfg.BoolOpt('owner_is_tenant',
default=True,
deprecated_for_removal=True,
deprecated_since="Rocky",
deprecated_reason=_("""
The non-default setting for this option misaligns Glance with other
OpenStack services with respect to resource ownership. Further, surveys
indicate that this option is not used by operators. The option will be
removed early in the 'S' development cycle following the standard OpenStack
deprecation policy. As the option is not in wide use, no migration path is
proposed.
"""),
help=_("""
Set the image owner to tenant or the authenticated user.

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The Glance API configuration option ``owner_is_tenant`` is deprecated
in this release and is subject to removal at the beginning of the 'S'
development cycle, following the `OpenStack standard deprecation policy
<https://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html>`_.