I'm trying to get datahub v0.8.10 talking to Elast...
# troubleshoot
b
I'm trying to get datahub v0.8.10 talking to Elastic via SSL, but it doesn't want to pick up the certs I've configured. I've got
ELASTICSEARCH_USE_SSL=true
as well as all the various
ELASTICSEARCH_SSL_*
env vars specified by the docker env file. Any suggestions or troubleshooting I can do? I have confirmed that the certs work to connect to ES.
GMS starts up fine, but when I attempt a search, the certs don't get sent in the request to elastic.
Possibly of note: I am also setting a username and password.
m
@wonderful-quill-11255 might be able to help here
👍 1
e
@blue-megabyte-68048 are you using kubernetes or docker? Also, is it not picking up in the gms pod?
b
Hm. And also - you are not deploying the MAE consumer pod separately, right?
b
I'm on k8s and I can verify that the files are all on the pod, readable by gms and I just double-checked that all the paths are correct. I don't see any error logs on startup and I only get them in the stacktrace returned from a failed call. The stacktrace is just the response from the elastic's nginx saying that the required certs are missing. I can use these same certs in a curl call, so I know that they are valid.
I was going to deploy mae separately, is that a bad idea?
b
It's not necessarily a bad idea, just more places to configure for speaking with elastic
👍 1
I'd recommend minimizing the surface area by deploying them all together
👍 1
b
If I disable all the SSL env vars, I still get the same result
They look correct to me
hmnn
b
Yep, that's exactly what I've been looking at
If I enable the mae consumer, I get an error from 'metadataAuditEventsProcessor' that it received a cert error from the nginx (elastic) server
If I give it the wrong path, I get a different error, so it is reading it.
e
they both use the same factory, so it should lead to the same error
hmn
b
Yeah, I think the root es error I get from the gms api is the same as from the mae consumer
I'm going to try rebuilding the keystore
same result
I'm still having issues with this, if anyone has any advice
Alright, I think that Factory linked above doesn't load keys from the keystore
m
thanks @blue-megabyte-68048!
👍 2
great catch. /cc @early-lamp-41924
b
oops, converted it to a draft while I check something out
Alright, good to go
b
u are awesome greyson. thank you for debugging this!
1
b
No problem!