----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/8248/#review14023 -----------------------------------------------------------
I like the idea that this script can be provided as a convenience to collect various logs. One problem however is that the script assumes root access on the management server and executes a bunch of commands (ip routes, hostnames, top, df, dmesg) etc that someone might not be okay with. May be it should be made interactive and warn the user of the actions it will/has performed. When as a commercial support provider you have permission to access and troubleshoot a system it would be okay to run this. But IMO it could be provided by that company which is looking to provide support to the operator of the said cloud to simplify their process of support. So I'm slightly wary of accepting something like this unless someone else convinces me that this would absolutely be beneficial. Also admins operating large clouds might be using a syslog server to already do some (or more) of these actions for them. If the logs are moved away from where one expects them to be then this script fails. tools/support/cs-bugtool <https://reviews.apache.org/r/8248/#comment29994> - Prasanna Santhanam On Dec. 4, 2012, 6:49 p.m., Radoslaw Smigielski wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/8248/ > ----------------------------------------------------------- > > (Updated Dec. 4, 2012, 6:49 p.m.) > > > Review request for cloudstack, Prasanna Santhanam and Rohit Yadav. > > > Description > ------- > > The main purpose behind cs-bugtool is to make easier collecting > logs required for CloudStack/CloudPlatform troubleshooting > and it mainly comes from Support. cs-bugtool collects logs, system > information and cloud database dump, compress everything and creates > .zip archive file ready to share with others. > For those familiar with Xen/XenServer cs-bugtool name may sound similar > to xen-bugtool, this similarity is intentional. > > Current version of cs-bugtool collects: > - basic system and environment information > - CP/CS management service logs > - basic system logs > - cloud database > > Current version does not accept any arguments but this may > changed in next iterations of cs-bugtool. > > We DO NOT collect and do not want to collect any sensitive information. > If there is still any sensitive pice of information please let us know > and we will try to remove it or replace by meaningless data. > > > Diffs > ----- > > tools/support/README PRE-CREATION > tools/support/cs-bugtool PRE-CREATION > > Diff: https://reviews.apache.org/r/8248/diff/ > > > Testing > ------- > > I tested this on CS 3.0.4 and 3.0.5. > > > Thanks, > > Radoslaw Smigielski > >