basho / riak_cs

Riak CS is simple, available cloud storage built on Riak.
http://docs.basho.com/riakcs/latest/
Apache License 2.0
566 stars 95 forks source link

Backport riak-cs-debug update from 2.1 #1266

Closed ksauzz closed 8 years ago

ksauzz commented 8 years ago

Main purpose is to support a Riak CS deployment such as using app.config and vm.args only.

The difference between this branch and 2.1 is only riak-cs-admin status.

% git diff bugfix/gh1236-and-gh1263-backport 2.1 rel/files/riak-cs-debug
diff --git a/rel/files/riak-cs-debug b/rel/files/riak-cs-debug
index c491ca4..8af20aa 100755
--- a/rel/files/riak-cs-debug
+++ b/rel/files/riak-cs-debug
@@ -471,6 +471,7 @@ if [ 1 -eq $get_riakcmds ]; then

     dump riak_cs_ping "$cs_bin_dir"/riak-cs ping
     dump riak_cs_version "$cs_bin_dir"/riak-cs version
+    dump riak_cs_status "$cs_bin_dir"/riak-cs-admin status
     dump riak_cs_gc_status "$cs_bin_dir"/riak-cs-admin gc status
     dump riak_cs_storage_status "$cs_bin_dir"/riak-cs-admin storage status
     if [ -f "$cs_bin_dir/riak-cs-multibag" ]; then
shino commented 8 years ago

Work as advertised. Perfect!

shino commented 8 years ago

@borshop merge

shino commented 8 years ago

For cross ref: #1236 (RCS-284) #1263

shino commented 8 years ago

For release note: Add several operator friendly features, fine grained information gathering options, user defined filtering for configuration files and verbose output for failed commands. Also fixed a bug when cuttlefish style riak-cs.conf does not exist.