hectcastro / docker-riak-cs

A Docker project to bring up a local Riak CS cluster.
https://registry.hub.docker.com/u/hectcastro/riak-cs/
Apache License 2.0
42 stars 21 forks source link

Inconsistent insecure_key file name in README.md vs start-cluster.sh #10

Closed iby closed 10 years ago

iby commented 10 years ago

Hector, thanks for putting this up. Every time I run it I'm like this… and everything goes green in the background.

image

I might be missing a point but when we run the cluster the key is downloaded into .insecure_key file, so instead of ssh -i insecure_key root@172.17.0.2 we should be doing this ssh -i .insecure_key root@172.17.0.2. And it actually works. The admin_key and admin_secret are also printed out when starting the cluster. Perhaps the readme file is outdated? I'd send a PR but not sure what's happening.

hectcastro commented 10 years ago

This appears to be a documentation issue. Support was added in https://github.com/hectcastro/docker-riak-cs/commit/6726cd0a4328734db6fbe2a726969b58428386e7 to automatically emit admin_key and admin_secret. That required downloading the insecure key locally.

Since the insecure key is already being downloaded, I'm going to update the README so that it references .insecure_key vs. insecure_key.

Also, I just tested starting a cluster and the output for admin_key and admin_secret worked. Can you try running with debug mode enabled?

iby commented 10 years ago

What I meant is that correct admin_key and admin_secret were printed, I could use them right away without the need of extra steps described in the docs.