villasv / aws-airflow-stack

Turbine: the bare metals that gets you Airflow
https://victor.villas/aws-airflow-stack/
MIT License
377 stars 69 forks source link

Instances not bootstrapping after Cloudformation completion #179

Closed izzoa closed 4 years ago

izzoa commented 4 years ago

Hi,

Just tried out the latest version of this by running turbine-cluster.template so I could install in an existing VPC.

The instances aren't getting bootstrapped. I tried to figure out where the problem lied by SSH'ing into an instance (webserver in this case) and running /opt/turbine/webserver.setup.sh, which then triggers an error when calling /opt/turbine/commons.setup.sh with the following (less than helpful) message:

[ec2-user@redacted turbine]$ ./commons.setup.sh
: invalid option

Got stuck debugging it here. Any ideas what the problem could be?

Thanks!

izzoa commented 4 years ago

Nevermind, had to do with my silly Windows computer adding carriage returns to the bash files :/