Freezer: Update freezer driver with elasticsearch

By default the driver used is elasticsearch in version 2
This change updates the driver with the good one.
It also updates backend with name used in the documentation.

Change-Id: I80f3020cb42903ae48ef65f52f67aae977c5a56b
This commit is contained in:
Pierre Blanc 2018-11-09 17:11:58 -05:00
parent 0bc44c9ae9
commit 62222abc39

View File

@ -47,10 +47,10 @@ enable_proxy_headers_parsing = True
config_file = /etc/freezer/freezer-paste.ini
[storage]
backend = elasticv2
driver = freezer_api.storage.elasticv2.ElasticSearchEngineV2
backend = elasticsearch
driver = elasticsearch
[elasticv2]
[elasticsearch]
hosts = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ elasticsearch_port }}
number_of_replicas = 0
index = freezer