Pre-flight is displaying the Docker Container ID and not specified node_name

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
(all docker containers)
Server1: Graylog 6.2
Server2: Mongodb 7.x and Datanode 6.2

Delete Mongodb database since this was a previous Graylog install.

Started Datanode on Server2:
docker run -d … -e GRAYLOG_DATANODE_NODE_NAME=“server2.ourdomain.com” …

which should set the domain name of the data node instance, but it doesn’t seem to take effect because when I go through the pre-flight on Server1 Graylog web interface it’s showing me the Docker “container ID” of DataNode on Server2, and not the domain name. Then it wants to create a certificate based on the container ID and make connectivity using that name – which obviously fails since Server1 and Server2 are physically distinct servers. What am I missing?

2. Describe your environment:

  • OS Information:
    Docker

  • Package Version:

  • Service logs, configurations, and environment variables:

environment variables set via docker run command

3. What steps have you already taken to try and solve the problem?

Changed the order of the environment variables in the docker run command.

4. How can the community help?

Why is the docker container ID showing in the image above?

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

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