-
Notifications
You must be signed in to change notification settings - Fork 95
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
riak-cs-debug
update
#1116
Conversation
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.
Looks nice, but I don't have Solaris env. Anybody? |
The script will hang forever if there is no But aside from that, it appears to work correctly on 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?
On Ubuntu, this script failed:
|
|
||
# 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* . |
There was a problem hiding this comment.
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?
Thank you for the effort to update this from latest riak-debug. |
Changes are included in #1236 (RCS-284). |
There were a lot of updates made to
riak-debug
that have not yet been pulled intoriak-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.