Elasticsearch containers not starting in debian/ubuntu

Bug #1772482 reported by Jorge Niedbalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

[Environment]

Kolla-ansible

[Description]

Containers aren't started since ES_HEAP_SIZE isn't longer
considered with jdk 8 + ELK 5.4.1

{"log":"+ echo 'Running command: '\\''/usr/share/elasticsearch/bin/elasticsearch
'\\'''\r\n","stream":"stdout","time":"2018-05-21T17:35:29.328892238Z"}
{"log":"Running command: '/usr/share/elasticsearch/bin/elasticsearch'\r\n","stre
am":"stdout","time":"2018-05-21T17:35:29.328925139Z"}
{"log":"+ exec /usr/share/elasticsearch/bin/elasticsearch\r\n","stream":"stdout"
,"time":"2018-05-21T17:35:29.32896941Z"}
{"log":"Error: encountered environment variables that are no longer supported\r\
n","stream":"stdout","time":"2018-05-21T17:35:29.337370729Z"}
{"log":"Use jvm.options or ES_JAVA_OPTS to configure the JVM\r\n","stream":"stdo
ut","time":"2018-05-21T17:35:29.33740531Z"}
{"log":"ES_HEAP_SIZE=1G: set -Xms1G and -Xmx1G in jvm.options or add \"-Xms1G -X
mx1G\" to ES_JAVA_OPTS\r\n","stream":"stdout","time":"2018-05-21T17:35:29.337558
842Z"}

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/569851
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a9693b85ac9e60e812a87c21e9b1b55ce01d4180
Submitter: Zuul
Branch: master

commit a9693b85ac9e60e812a87c21e9b1b55ce01d4180
Author: Jorge Niedbalski <email address hidden>
Date: Mon May 21 15:39:53 2018 -0400

    [elasticsearch] Change ES_HEAP_SIZE to ES_JAVA_OPTS.

    After enabling the elasticsearch debian/ubuntu
    images the container doesn't starts with ELK 5.4.1
    as ES_HEAP_SIZE has been deprecated.

    We should use ES_JAVA_OPTS with the -Xms/Xmx options instead.

    Closes-Bug: #1772482

    Change-Id: I9b368468d41421d679a9c4ad6fdf595863de7a1a
    Signed-off-by: Jorge Niedbalski <email address hidden>

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/570794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/queens)

Reviewed: https://review.openstack.org/570794
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=b6be506bd23f2cdb15b6e62b98f1190e55e55cc0
Submitter: Zuul
Branch: stable/queens

commit b6be506bd23f2cdb15b6e62b98f1190e55e55cc0
Author: Jorge Niedbalski <email address hidden>
Date: Mon May 21 15:39:53 2018 -0400

    [elasticsearch] Change ES_HEAP_SIZE to ES_JAVA_OPTS.

    After enabling the elasticsearch debian/ubuntu
    images the container doesn't starts with ELK 5.4.1
    as ES_HEAP_SIZE has been deprecated.

    We should use ES_JAVA_OPTS with the -Xms/Xmx options instead.

    Closes-Bug: #1772482

    Change-Id: I9b368468d41421d679a9c4ad6fdf595863de7a1a
    Signed-off-by: Jorge Niedbalski <email address hidden>
    (cherry picked from commit a9693b85ac9e60e812a87c21e9b1b55ce01d4180)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 7.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 6.1.0

This issue was fixed in the openstack/kolla-ansible 6.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.