Go library for managing a couchbase cluster via etcd and the couchbase REST API
laptop:sdc-docker sarbogast$ for i in `seq 1 3`; do export container_$i=`docker run --name couchbase-server-$i -d -P couchbase/server couchbase-start`; done
time="2015-05-01T10:11:49+02:00" level=fatal msg="Error response from daemon: problem creating container (09864558-e75e-45d2-9be8-0300c18e8d4c)"
time="2015-05-01T10:11:50+02:00" level=fatal msg="Error response from daemon: problem creating container (3be0ae4d-bab8-45b0-ad3e-62d2f5e49032)"
time="2015-05-01T10:11:51+02:00" level=fatal msg="Error response from daemon: problem creating container (d8db167d-7100-473b-8ece-e13efd63bb74)"
Whats the easiest way to use hostname rather private ip address to join cluster?
I don't think there's an easy way. I think one option would be to use the public ip here: https://github.com/tleyden/couchbase-cluster-go/blob/master/data/couchbase_node%40.service.template#L17 but I'm not even 100% sure that would work (would need testing)
Another option you could consider is to create an ssh or open vpn tunnel from your data center to your boxes running in the AWS cloud.
I have remove/add server back using hostname rather than private ip to walkaround this
can you give details on what you mean exactly?
if anyone wants to look over this and give feedback, would be much appreciated:
https://github.com/couchbase/docker/blob/master/generate/resources/couchbase-server/README.md
fleetctl journal --lines 1000 sync_gw_node@1.service
"server":"http://127.0.0.1:8091",
rather than {{ .COUCHBASE_IP }}
, though I don't know if that's the root problem