engulf icon indicating copy to clipboard operation
engulf copied to clipboard

Cloudformation template no longer works

Open NoodlesNZ opened this issue 11 years ago • 4 comments

I've used engulf quite a few times and usually it works straight out of the box (so to speak). I've just tried it today using the cloudformation template and it fails to bring up the service on port 8080 (as far as I can see nmap sees it as closed). I haven't dug into server yet to see what's going on, but I thought I'd give you a heads up.

NoodlesNZ avatar Jul 16 '14 23:07 NoodlesNZ

I noticed this too. I did a little digging.

The /etc/init.d/engulf script tries to fetch the startup script from a URL using curl. It looks like that URL is now serving a redirect, but the curl command line in /etc/init.d/engulf needs the "--location" flag or it won't follow the redirect.

On the master, I ran: $ curl https://raw.github.com/andrewvc/engulf/master/misc/ami_bootstrap.sh
$ (no output, displaying the headers shows an redirect)

But when I add --location: $ curl https://raw.github.com/andrewvc/engulf/master/misc/ami_bootstrap.sh --location #!/bin/bash echo "Shutting down all java processes" killall -15 java ...

That seems to work.

mlimotte avatar Oct 03 '14 17:10 mlimotte

Hey, thanks for taking a look into it. @mlimotte I'll try and find some time to fix the AMI with your patch.

andrewvc avatar Oct 07 '14 17:10 andrewvc

Hi Andrew, are you able to fix up the AMI? I just tried this now and it's still broken. Thanks

NoodlesNZ avatar Jun 10 '16 02:06 NoodlesNZ

@NoodlesNZ sorry, but I don't have time to maintain this anymore. Feel free to fork it however!

andrewvc avatar Jun 10 '16 02:06 andrewvc