Update Elasticsearch image and log path

Updates the elasticsearch image to use the kolla 4.0.0 image. It
also updates the log path, as the previously used path wasn't
mounted and was causing the pods to fail due to warnings being
raised and directed to a path that didn't exist.

Change-Id: I3b43d1df0302512a59b305e2785c44b067a0bbf9
This commit is contained in:
Steve Wilkerson 2017-07-17 10:40:00 -05:00
parent 41dc82ed7f
commit 7b2d810fc9
2 changed files with 8 additions and 5 deletions

View File

@ -29,7 +29,8 @@ conf:
host: 0.0.0.0
path:
data: /var/lib/elasticsearch/data
logs: /data/log
# TODO(srwilkers): Update this log path with meaningful config overrides
logs: /var/lib/elasticsearch/data
zen:
min_masters: 2
logging:
@ -57,9 +58,9 @@ replicas:
client: 2
images:
memory_init: docker.io/kolla/ubuntu-source-elasticsearch:3.0.3
elasticsearch: docker.io/kolla/ubuntu-source-elasticsearch:3.0.3
helm_tests: docker.io/kolla/ubuntu-source-elasticsearch:3.0.3
memory_init: docker.io/kolla/ubuntu-source-elasticsearch:4.0.0
elasticsearch: docker.io/kolla/ubuntu-source-elasticsearch:4.0.0
helm_tests: docker.io/kolla/ubuntu-source-elasticsearch:4.0.0
pull_policy: "IfNotPresent"
network:

View File

@ -27,7 +27,9 @@ kube_wait_for_pods openstack 1200
# todo(srwilkers): implement helm tests for postgresql
#helm_test_deployment postgresql openstack
helm install --name=elasticsearch local/elasticsearch --namespace=kube-system
helm install --name=elasticsearch local/elasticsearch --namespace=kube-system \
--set conf.elasticsearch.bootstrap.memory_lock=false
kube_wait_for_pods kube-system 600
helm_test_deployment elasticsearch kube-system