Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riak-cs-debug update #1116

Closed
wants to merge 2 commits into from
Closed

Conversation

pyrrho
Copy link
Contributor

@pyrrho pyrrho commented Apr 3, 2015

There were a lot of updates made to riak-debug that have not yet been pulled into riak-cs-debug. This PR looks to correct that.

These changes have not yet been tested, though, and definitely need to be checked on Ubuntu and Solaris before being merged.

Drew Pirrone-Brusse added 2 commits April 2, 2015 17:36
Move in a number of updates that were previously made to riak-debug
Because riak-cs-debug will almost always be called in tandem with
riak-debug, there's no need to include (by default) all these
system calls in both archives.
@kuenishi
Copy link
Contributor

kuenishi commented Apr 6, 2015

Looks nice, but I don't have Solaris env. Anybody?

@slfritchie
Copy link
Contributor

The script will hang forever if there is no rel/riak-cs/bin/.././data/generated.configs/app.*.config file, e.g., because CS hasn't been run for the first time yet.

But aside from that, it appears to work correctly on Solaris: SunOS oi151a-64-0 5.11 oi_151a i86pc i386 i86pc Solaris

@@ -325,6 +372,9 @@ if [ 1 -eq $get_syscmds ]; then
dump netstat_rn netstat -rn
dump pfctl_rules pfctl -s rules
dump pfctl_nat pfctl -s nat
dump java_version java -version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary?

@ksauzz
Copy link
Contributor

ksauzz commented Apr 6, 2015

On Ubuntu, this script failed:

root@vagrant-ubuntu-trusty-64:~# riak-cs-debug
....EE../usr/sbin/riak-cs-debug: 577: [: !: unexpected operator
. /root/[email protected]


# Use dump to execute the copy. This will provide a progress dot and
# capture any error messages.
dump cp_cfg cp -R "$cs_etc_dir"/*.conf* .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gathering riak-cs.conf and advanced.config is also helpful for CSEs to figure out a mistake on the configs, isn't it?

@ksauzz
Copy link
Contributor

ksauzz commented Apr 6, 2015

Thank you for the effort to update this from latest riak-debug. :bowtie: I left a few comments.

@shino
Copy link
Contributor

shino commented Sep 11, 2015

Changes are included in #1236 (RCS-284).

@shino shino closed this Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants