Go library for managing a couchbase cluster via etcd and the couchbase REST API
{{ .COUCHBASE_SERVER_IP }}
https://gist.github.com/PaulCapestany/b58b26d44b4cb6fd1f34
etcdctl set /couchbase.com/enable-code-refresh true
may not be working as expected since I just spun up new cluster and am still getting Error reading config file sync_gateway: open sync_gateway: no such file or directory -- rest.ParseCommandLine() at config.go:294
etcdctl set /couchbase.com/enable-code-refresh true && \
sudo docker run --net=host tleyden5iwx/couchbase-cluster-go couchbase-fleet launch-cbs \
--version latest \
--num-nodes 3 \
--userpass "user:passw0rd" \
&& \
sudo docker run --net=host tleyden5iwx/couchbase-cluster-go sync-gw-cluster launch-sgw \
--num-nodes=1 \
--config-url=https://gist.githubusercontent.com/PaulCapestany/d24c9ca8223faab66b25/raw/638729f249f65dd6a275b67d467ac46938e9005e/pac_sg_config.json \
--create-bucket todos \
--create-bucket-size 512 \
--create-bucket-replicas 1
2015/05/27 21:43:26 Update-Wrapper: updating to latest code
journalctl
, here's the actual output from running the cluster kickoff commands: https://gist.github.com/PaulCapestany/35065c2fa242291a5015
fleetctl cat
on the sync gateway units and paste the output? was this a "fresh cluster"? I wonder if the old unit files never got overwritten?
go get -u -v github.com/tleyden/couchbase-cluster-go/...
...which should install new binary, right? but for some reason the new binary isn't being used?
you're gonna hate me for saying this, but "works on my computer"
I just ran it and: