X-Pack 6.1.0 does not handle variable substitutions


#1

After upgrading to Elasticsearch 6.1 I can not use variable substitution. In this case:

xpack:
  security:
    authc:
      realms:
          ssl:
            certificate_authorities: [ "${ELASTICSEARCH_CONFIG_PATH}/certs/myca.crt" ]

I am receiving exception which contain following text:

java.nio.file.NoSuchFileException: /app/volumes/config/${ELASTICSEARCH_CONFIG_PATH}/certs/myca.crt

In 6.0.1 it was working well.


(Ioannis Kakavas) #2

Hi,

Can you verify that the Environment variable is set with

echo $ELASTICSEARCH_CONFIG_PATH


(Tim Vernum) #3

This issue was sorted out on GitHub. It's a bug in core Elasticsearch.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.