humanmade / altis-local-chassis

Local Chassis module for Altis
https://www.altis-dxp.com/resources/docs/local-chassis/
4 stars 3 forks source link

Provisioning can fail on Elasticsearch install #162

Open roborourke opened 3 years ago

roborourke commented 3 years ago

Failed to apply catalog: Failed to open TCP connection to 0.0.0.0:9200 (Connection refused - connect(2) for "0.0.0.0" port 9200) )

This appears to be related to some certificate being out of date.

BronsonQuick commented 3 years ago

We onboarded a couple of devs at the end of the week and hit this as well. My quick first glance at the errors made it look like it might be coming from here: https://github.com/Chassis/nodejs/blob/main/modules/nodejs/manifests/init.pp#L25 but I haven't had a chance to dig into it as I've got a tight deadline. Just thought I'd leave a note in case it helps!

BronsonQuick commented 3 years ago

I can now confirm the above theory was incorrect. A new Chassis provision that only had nodejs as an extension provisioned as expected.

roborourke commented 3 years ago

I'd generally recommend using Local Server if possible, the Elasticsearch issue can happen due to the timeout waiting for the service to come up initially, e.g. a subsequent run of composer chassis provision often completes successfully.