Deprecate [glance]api_servers
When adding support for standard ksa config options in Queens [1], we retained the [glance]api_servers option in case consumers wanted to continue to rely on nova's rudimentary load balancing rather than implementing something real. Continuing to support this option is holding us back from the things that having a common standard across services would facilitate, like using openstacksdk rather than clients. So deprecate it. [1] http://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/use-ksa-adapter-for-endpoints.html Change-Id: I8e3fbc6f8b052ead6e80d4243f76581960210277
This commit is contained in:
parent
ac0acfb809
commit
cffbc2e431
@ -29,6 +29,14 @@ glance_opts = [
|
||||
# NOTE(sdague/efried): there is intentionally no default here. This
|
||||
# requires configuration if ksa adapter config is not used.
|
||||
cfg.ListOpt('api_servers',
|
||||
deprecated_for_removal=True,
|
||||
deprecated_since='21.0.0',
|
||||
deprecated_reason="""
|
||||
Support for image service configuration via standard keystoneauth1 Adapter
|
||||
options was added in the 17.0.0 Queens release. The api_servers option was
|
||||
retained temporarily to allow consumers time to cut over to a real load
|
||||
balancing solution.
|
||||
""",
|
||||
help="""
|
||||
List of glance api servers endpoints available to nova.
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``[glance]api_servers`` configuration option is deprecated and will be
|
||||
removed in a future release. Deployments should use standard keystoneauth1
|
||||
options to configure communication with a single image service endpoint.
|
||||
Any load balancing or high availability requirements should be satisfied
|
||||
outside of nova.
|
Loading…
Reference in New Issue
Block a user