thefactory/cloudformation-zookeeper

Container Indefinitely Restarting

Closed this issue · 1 comments

AWS VPC:
VPC : 10.10.0.0/16
Subnet: 10.10.0.0/24
Entry for 0.0.0.0/0 -> gateway for above subnet.

Instances correctly spin up... However the containers never last more then a few seconds... So I get the following:

sudo docker ps -a
sudo: unable to resolve host ip-10-10-0-191
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d9c44ad334cf thefactory/zookeeper-exhibitor:latest "bash -ex /opt/exhib 8 seconds ago Up 6 seconds 0.0.0.0:2181->2181/tcp, 0.0.0.0:2888->2888/tcp, 0.0.0.0:3888->3888/tcp, 0.0.0.0:8181->8181/tcp sleepy_darwin
5f1776339be1 thefactory/zookeeper-exhibitor:latest "bash -ex /opt/exhib 19 seconds ago Exited (1) 8 seconds ago high_mcclintock
eb385141d244 thefactory/zookeeper-exhibitor:latest "bash -ex /opt/exhib 28 seconds ago Exited (1) 18 seconds ago dreamy_almeida1
efec5ed04d19 thefactory/zookeeper-exhibitor:latest "bash -ex /opt/exhib 38 seconds ago Exited (1) 28 seconds ago compassionate_thompson7

ETC.

Notice the:
sudo: unable to resolve host ip-10-10-0-191

Have any idea what this may be?

My bad.

After inspecting the logs I picked up that I'd set an availability zone instead of a region for the s3 configs directory.

so us-west-2a instead of us-west-2