Deprecate templated catalog driver
Keystone provided two in-tree catalog drivers, sql and templated.
However the templated driver hasn't been properly maintained.
The default template had not been updated for 8 years until it was
recently updated by [1].
This deprecates the driver assuming it's not widely used and sql driver
meets usual requirements.
This also restores the image service endpoints which were wrongly
removed by [1].
[1] c32bedb654
Related-Bug: #2013473
Change-Id: Iadb7bd5d7c4cf82aea2a7dbc1d8c4dbe53b9f763
This commit is contained in:
parent
b08e5b5f63
commit
307296af5e
|
@ -16,6 +16,11 @@ catalog.RegionOne.volumev3.adminURL = http://localhost:8776/v3
|
||||||
catalog.RegionOne.volumev3.internalURL = http://localhost:8776/v3
|
catalog.RegionOne.volumev3.internalURL = http://localhost:8776/v3
|
||||||
catalog.RegionOne.volumev3.name = Volume Service V3
|
catalog.RegionOne.volumev3.name = Volume Service V3
|
||||||
|
|
||||||
|
catalog.RegionOne.image.publicURL = http://localhost:9292
|
||||||
|
catalog.RegionOne.image.adminURL = http://localhost:9292
|
||||||
|
catalog.RegionOne.image.internalURL = http://localhost:9292
|
||||||
|
catalog.RegionOne.image.name = Image Service
|
||||||
|
|
||||||
catalog.RegionOne.network.publicURL = http://localhost:9696
|
catalog.RegionOne.network.publicURL = http://localhost:9696
|
||||||
catalog.RegionOne.network.adminURL = http://localhost:9696
|
catalog.RegionOne.network.adminURL = http://localhost:9696
|
||||||
catalog.RegionOne.network.internalURL = http://localhost:9696
|
catalog.RegionOne.network.internalURL = http://localhost:9696
|
||||||
|
|
|
@ -83,6 +83,8 @@ class Catalog(base.CatalogDriverBase):
|
||||||
|
|
||||||
def __init__(self, templates=None):
|
def __init__(self, templates=None):
|
||||||
super(Catalog, self).__init__()
|
super(Catalog, self).__init__()
|
||||||
|
LOG.warning('The templated catalog driver has been deprecated and '
|
||||||
|
'will be removed in a future release.')
|
||||||
if templates:
|
if templates:
|
||||||
self.templates = templates
|
self.templates = templates
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The templated catalog driver has been deprecated and will be removed in
|
||||||
|
a future release.
|
Loading…
Reference in New Issue