Troubleshooting Datahub Installation Errors with Separate Backend Configuration

Original Slack Thread


I've been trying to install Datahub for some time now and I'm having a small problem:

I have a separate VM for elasticsearch, mysql, kafka...

I didn't run the prerequisites via helm because I already have the backend ready.

My elasticsearch has the user myuser with the password mypassword.

When running the official datahub Helm pointing to my separate backend, I already see errors first in elasticsearch.

1 - Trying HTTPS:
Problem with request: Get "<https://10.7.1.206:9200>": tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, not 10.7.1.206. Sleeping 1s

I understand that the Elastic certificate is self-signed and therefore external HTTPS will not be accepted.

2 - Trying HTTP:
Problem with request: Get "<http://10.7.1.206:9200>": EOF. Sleeping 1s

I have some doubts to try to get out of this:

1 - Is there any variable or parameter that I can add or change in values.yaml to add the Elasticsearch username and password?

2 - Is there anything I can do to make Elastic allow the Datahub connection?

I wouldn't want to nest database, elasticsearch, datahub, kafka, everything in the cluster. I need the backend to be separate.

Thanks a lot for the help.```

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Which DataHub version are you using? (e.g. 0.12.0)
  2. Please post any relevant error logs on the thread!