aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [tests] worker: SIGINT behaviour almost completely testedpcarrier2010-11-271-0/+18
| | | | | | | | We still need to check that SIGINT when a request is running leads to: - "INTERRUPTED" on stderr; - the flow of execution continuing. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1041 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [tests] worker: multiple helperspcarrier2010-11-271-5/+22
| | | | | | | | | Handling \r\n and \n is apparently more difficult than expected... We want to make sure we do not let worker speak more than we expect -> checking that .before is empty except when using lose_expect() git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1040 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [tests] worker: new imports for incoming featurespcarrier2010-11-271-1/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1039 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] Drop exec2file from spec, needs redesignpcarrier2010-11-271-9/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1038 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] s/__cmd_number__/__req_counter__/pcarrier2010-11-271-3/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1037 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] fix in glob; tests ARE useful :)pcarrier2010-11-271-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1036 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [tests] worker: first bunch of testspcarrier2010-11-271-0/+43
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1035 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] Slightly simplified shell API and initpcarrier2010-11-271-13/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1034 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] Changes in specs, first draft implementationpcarrier2010-11-272-11/+178
| | | | | | | | | | | | | | specs: - s/SIGTERM/SIGINT/ - s/noop/ping/ - new noop command - introduced UNKNOWN COMMAND and INTERRUPTED on stderr - (stdout|stderr) and their lengths are now interleaved in 'exec' output implementation: - Here's a first design git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1033 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [worker] initial specpcarrier2010-11-271-0/+93
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1032 ef72aa8b-4018-0410-8976-d6e080ef94d8
* WIP: moving towards a cluster module compatible with RHEL6pcarrier2010-11-271-5/+7
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1031 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [sos] removal of sanitize.pypcarrier2010-11-231-42/+0
| | | | | | Does not belong here. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1029 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Detailspcarrier2010-11-221-5/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1028 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Revert "always include the hostname"pcarrier2010-11-221-3/+3
| | | | | | This reverts changeset 1023. Shouldn't have been commited... git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1027 ef72aa8b-4018-0410-8976-d6e080ef94d8
* W.T.F.pcarrier2010-11-221-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1026 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Use addCopySpecs instead of addCopySpecpcarrier2010-11-2249-297/+321
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1025 ef72aa8b-4018-0410-8976-d6e080ef94d8
* A little less craziness.pcarrier2010-11-221-1/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1024 ef72aa8b-4018-0410-8976-d6e080ef94d8
* always include the hostnamepcarrier2010-11-221-3/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1023 ef72aa8b-4018-0410-8976-d6e080ef94d8
* O.M.G.pcarrier2010-11-221-10/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1022 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Removing writeTextToCommand()pcarrier2010-11-222-21/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1021 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Comments after \ broke in recent Python versionspcarrier2010-11-222-5/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1020 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [plugins] removed empty returnspcarrier2010-11-2277-138/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1019 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Pierre broke trunk, as usualpcarrier2010-11-223-3/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1018 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [sos/sosreport.py] Fix the garbage outputpcarrier2010-11-221-3/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1017 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding the dbus machine ID, kernel boot IDpcarrier2010-11-222-0/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1015 ef72aa8b-4018-0410-8976-d6e080ef94d8
* [general] hostidpcarrier2010-11-221-0/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1014 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Insignificant ommissionpcarrier2010-11-221-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1013 ef72aa8b-4018-0410-8976-d6e080ef94d8
* cs.py largely updated, deprecates dogtag.pypcarrier2010-11-192-62/+59
| | | | | | | | | | | Merge of: - the previous trunk version of cs.py, - cs.py proposed in RHBZ#627416, - dogtag.py from RHBZ#627220. Please let me know if I missed anything! git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1012 ef72aa8b-4018-0410-8976-d6e080ef94d8
* General cleanup in modulespcarrier2010-11-1937-147/+69
| | | | | | | | | More consistent code and some cleanup, mostly: - Using "from os.path import exists" for shorter expressions. - no more useless if:return True;else:return False in checkenabled() I expect to stay. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1011 ef72aa8b-4018-0410-8976-d6e080ef94d8
* autofs: cleanup of the code logicpcarrier2010-11-191-4/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1010 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Collect /bin/findmnt, appeared in F14pcarrier2010-11-191-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1009 ef72aa8b-4018-0410-8976-d6e080ef94d8
* rhn.py: detection of recent versionspcarrier2010-11-181-2/+6
| | | | | | Closes BZ#590389. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1008 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Various plugins: rhelVersion() is not a Stringpcarrier2010-11-182-4/+4
| | | | | | | | For all n integer, n != str(n) We still have to assess the impact of this bugfix. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1007 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Support for tailing logspcarrier2010-11-161-3/+13
| | | | | | | | When before, no logs were gathered, we now tail the first log file. No point in tailing non-initial log files as they would likely be compressed. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1006 ef72aa8b-4018-0410-8976-d6e080ef94d8
* kernel.py: copy /etc/modprobe.d/pcarrier2010-11-161-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1005 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Show the current plugin name during executionpcarrier2010-11-161-4/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1004 ef72aa8b-4018-0410-8976-d6e080ef94d8
* More extensive rpm info (pure INSTALLTIME, VENDOR)pcarrier2010-11-151-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1003 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Mistaken again.pcarrier2010-11-151-4/+4
| | | | | | | | dm-* should actually be skipped (unless someone plays with kpartx too much.) Unlike r1000, actually closes RHBZ#653498. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1002 ef72aa8b-4018-0410-8976-d6e080ef94d8
* filesys.py supports systems without /sbin/hdparmpcarrier2010-11-151-5/+15
| | | | | | | | s390(x) does not have hdparm. Closes RHBZ#653498. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1001 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added a backtraces option to module abrt.pypcarrier2010-11-151-0/+14
| | | | | | | | | sosreport -k abrt.backtraces=on will create sos_commands/abrt/backtrace_* Disabled by default for now (up for discussion) Closes RHBZ#653468. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1000 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Using glob in module cs.pypcarrier2010-11-151-2/+3
| | | | | | Closes RHBZ#653011. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@999 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Oops. My bad again.pcarrier2010-11-151-2/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@998 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Oops. My bad. Bad start.pcarrier2010-11-152-2/+2
| | | | | | Now running the upstream version in my pre-commit tests... git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@997 ef72aa8b-4018-0410-8976-d6e080ef94d8
* rhelVersion() returns 6 under both RHEL6beta & GApcarrier2010-11-151-2/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@996 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding module sssd.pypcarrier2010-11-151-0/+42
| | | | | | Closing RHBZ#653474. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@995 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding /etc/anacrontab to the system.py pluginpcarrier2010-11-151-0/+1
| | | | | | Closes RHBZ#653470. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@994 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Updated po filespcarrier2010-11-1578-6494/+6502
| | | | | | Closes RHBZ#634204. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@993 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding module dogtag.pypcarrier2010-11-151-0/+36
| | | | | | | | | dogtab.py gathers logs/config for all pki subsystems, dirsrv logs for further debugging. Closes RHBZ#627220. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@992 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Adding module abrt.pypcarrier2010-11-151-0/+32
| | | | | | | abrt.py gathers a log of the abrt reports using abrt-cli. Closed RHBZ#635706 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@991 ef72aa8b-4018-0410-8976-d6e080ef94d8
* add /etc/corosync in the corosync modulepcarrier2010-11-151-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@990 ef72aa8b-4018-0410-8976-d6e080ef94d8