[sx] Update to current version of sx

Niels de Vos devos at fedoraproject.org
Mon Dec 5 11:08:52 UTC 2011


commit 5ab5e09d05d3ed33ad4d629098b107d98794073e
Author: Niels de Vos <ndevos at redhat.com>
Date:   Mon Dec 5 11:07:10 2011 +0000

    Update to current version of sx

 .gitignore       |    1 +
 CHANGELOG.Fedora |  281 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 sx.spec          |   46 +++++++--
 4 files changed, 320 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 077fea6..81d8f72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /sx-2.03.tar.gz
+/sx-2.06.tar.gz
diff --git a/CHANGELOG.Fedora b/CHANGELOG.Fedora
new file mode 100644
index 0000000..0a817fa
--- /dev/null
+++ b/CHANGELOG.Fedora
@@ -0,0 +1,281 @@
+* Fri Dec 02 2011 Shane Bradley
+- Fix bug in adding a cluster node.
+- Removed PluginEvaluator class
+
+* Tue Nov 22 2011 Shane Bradley
+- Disabled post_join_delay check in clusterha plugin.
+- Added check for clean_start in clusterha plugin.
+- Removed a bug in storage that would not error on empty lines parsing modules.
+- Added a warning if there was parsing error on installed-rpms for checksysreport plugin.
+
+* Tue Nov 22 2011 Shane Bradley
+- Removed python-libxml2 and moved XML code to elementtree which is native.
+
+* Wed Oct 12 2011 Shane Bradley
+- Fixed bug where empty gfs mounted fs written to file. If no fs then nothing written to file.
+- Disabled creating of copies of files that are read within the report. No hidden temp files are created on reads.
+- Changed how xml cluster.conf is read by libxml2. It is read from string and not file.
+- Fix bug in network maps.
+
+* Tue Oct 11 2011 Shane Bradley
+- Added checks for openais and corosync being disabled at boot for clusters.
+- Fixed issue where no fence devices in a defined fenced method would return false instead of true.
+- Updated urls to be public facing.
+- Fixed parsing issue with config file reader when handling quotes.
+- Fixed issue where quotes /etc/sysconfig/network-scripts/ifcfg* values would error.
+- Change the -l option to -m for listing modules.
+- Added new table formatting functions for printing reports.
+- Cleaned up the network, storage, cluster reports so that they are now using tables.
+- Fix issue with adding files creates empty directory for extraction if no files extracted.
+- Added networking to cluster report.
+- Reworked the networking parser/object
+
+* Tue Oct 11 2011 Shane Bradley
+- Moved cluster config checks to evaluator.
+- Fixed bug with extractors on finding a uname file.
+- Fix bug with blockdevicetree and building the tree.
+
+* Tue Sep 27 2011 Shane Bradley
+- Fixed bug with cluster on finding gfs fs.
+
+* Wed Aug 03 2011 Shane Bradley
+- Cleaned up sxconsole and moved the non-report code above extracting reports.
+
+* Wed Aug 03 2011 Shane Bradley
+- Increased timeout values for FetchURL.
+- The cluster nodes will be sorted by cluster node_id.
+- Add 2 multipath checks and added mpath summmary to storage summary
+- Remove the multipath plugin and just added it to storage.py
+
+* Wed Aug 03 2011 Shane Bradley
+- Fixed configuration files classes to work with ~/.checksysreportrc.
+- Changing cluster.py to clusterha.py and change libs as well.
+- Added new plugin for multipathing.
+
+* Mon Aug 01 2011 Shane Bradley
+- Added GFS/GFS2 fs detection for cluster plugin cluster.py
+- Cleaned up some of the reports.
+- Fixed bug where no failed evaluation would print empty results in file.
+
+* Thu Jul 28 2011 Shane Bradley
+- Add cluster support for bond detection mode.
+- Added networking plugins(-e networking) and libs.
+- Added modprobe.conf parser.
+
+* Thu Jul 14 2011 Shane Bradley
+- Found the correct timeout var for fetching files.
+- Refactor some of the code so that libs will be more useful for other projects.
+- Remove some defunct code out or useless classes.
+- Extractors are now loadable modules like plugins/reports.
+- Major rewrite of libs to be more portable includeding simpler report/plugin loading.
+- Fixed bug -f option so files go in correct dir.
+
+* Fri Jun 17 2011 Shane Bradley
+- Fixed bug with storage plugin writing to console
+- Added new function for enabled/disabled services to be more clear.
+
+* Mon Jun 13 2011 Shane Bradley
+- Fixed bug with api change.
+
+* Mon Jun 13 2011 Shane Bradley
+- Moved options to main functions to an object class to make calling externally easier.
+- Cleaned up the main sxconsole file to be more modular and easier to interact with.
+
+* Tue Apr 19 2011 Shane Bradley
+- Fixed a bug in storage plugin that error with backtrace if certain data objects were None.
+- Added detection for data objects that are None being parsed to return a valid return item.
+
+* Mon Apr 18 2011 Shane Bradley
+- Added -M option for a new archive layout of the files
+- Update help messages and examples with -h is invoked with sxconsole.
+
+* Wed Apr 13 2011 Shane Bradley
+- Fixed error on cluster output when no chkconfig was found.
+- Tweak output for scsierrors
+- Tweak scsi errors and added support for grabbing information from remote text file.
+
+* Wed Mar 30 2011 Shane Bradley
+- Lots of refactoring changes to make libs cleaner.
+- Fixed issue where hostname not found.
+- Added plugin that searches messages file for scsi errors
+
+* Wed Mar 30 2011 Shane Bradley
+- Build error that did not properly build package.
+
+* Fri Mar 25 2011 Shane Bradley
+- Forget to add in new libs
+
+* Fri Mar 04 2011 Shane Bradley
+- Added better search for clusternode in sosreport.
+
+* Fri Mar 04 2011 Shane Bradley
+- Fixed bug with multicast
+- Fixed logic in blockdevicetree
+- Added fence_scsi detection to cluster
+- Moved some of the checks in the cluster summary file to the evaluator file.
+
+* Tue Mar 01 2011 Shane Bradley
+- Fixed bug with kmod-gfs2 package detection.
+
+* Tue Mar 01 2011 Shane Bradley
+- Changed storage.py to only work with sosreports since sos_commands files are needed.
+- Added openshared-root cluster detection in the cluster plugin.
+- Fixed bug with procparser and int cast.
+
+* Mon Feb 28 2011 Shane Bradley
+- Finished writing storage.py and the blockdevicetree that is created.
+
+* Fri Feb 11 2011 Shane Bradley
+- Fix bug where hostname map was not being generated correctly.
+- Python 2.6.5 or greater is only supported now.
+- Fix import bug that was found in rhel6 for hashlib.
+- Added storage.py plugin to analyze storage files.
+
+* Thu Feb 10 2011 Shane Bradley
+- Fix bug that required .checksysreport file. This is no longer needed.
+
+* Thu Feb 10 2011 Shane Bradley
+- Add rhev plugin support
+
+* Thu Jan 20 2011 Shane Bradley
+- Added cleaner output to console after finish running sxconsole.
+- Cleaned up logging.
+- Added support for RHEV Log Collector.
+- Added support for reports with reports automatating, if the report
+- is known to contain other reports, then it will add those reports to queue
+- for processing.
+- Added support for RHEL6 sosreport that uses .xz.
+- Added support for multiple compression/archive tools and ability to add more.
+- Added .xz and .zip support.
+- Fixed bug with archiving non-report files.
+
+* Tue Dec 07 2010 Shane Bradley
+- Added minor tweaks
+
+* Tue Nov 23 2010 Shane Bradley
+- Added a config file parser class
+- Added missing depends on libxml2-python
+
+* Wed Nov 10 2010 Shane Bradley
+- Added some console util classes
+
+* Thu Oct 28 2010 Shane Bradley
+- Added xz support for RHEL 6 sosreports
+- Remove native python tarfile and replace with all GNU
+
+* Thu Oct 14 2010 Shane Bradley
+- Added RHEL 6 support
+
+* Mon Sep 13 2010 Shane Bradley
+- Updated sx.spec and build procedures to be compliant with fedoraproject.org.
+- Fixed issue where archived reports could not be loaded.
+
+* Thu Aug 26 2010 Shane Bradley
+- Changed LICENSE to GPLv2
+- Cleaned up the build process
+- Cleaned up TarBall class
+- Tweaked plugin/report classes
+- Added option to checksysreport to enable native or binary execution to gather data.
+- Removed checksysreport dependency and added error checking.
+- Updating docs
+- Minor tweaks and fixes
+
+* Mon Jul 19 2010 Shane Bradley
+- Fix bug in generating network maps did not account for capitalized letters
+- Added options to opensosreport for choosing fileviewer
+- Added options to yakuake for choosing fileviewer and if msglogs are opened
+- Added colorized text for listing of plugins with -l option
+- Fix a few bugs
+- Added new plugin for opening sosreport html reports in browser
+- Added plugin options, so plugin can be customized
+
+* Thu Jul 01 2010 Shane Bradley
+- Refactor out the helper functions for reports, moved them to sreport with
+- sosreport/sysreport inherit
+- Fixed bug for -R option when dir did not exist
+- Refactor cluster plugin and it libs
+- Added yakuake.py plugin into default binary for package
+- Fixed some logging issues
+
+* Tue Jun 22 2010 Shane Bradley
+- Fixed bug in disabled/enabled plugins
+- Added better filepath handling with -f option
+- Moved cluster plugin report file to one file
+
+* Thu Jun 17 2010 Shane Bradley
+- Fixed bug in cluster summary and edited summary for no packages installed.
+
+* Tue Jun 15 2010 Shane Bradley
+- Added console message to list files that were created.
+- Add console message and new summary file to cluster plugin.
+- Cleaned up cluster/checksysreport plugins.
+- Added option to load previous extracted reports.
+
+* Fri Jun 11 2010 Shane Bradley
+- Added new cluster plugin and cleaned up functions for it
+- Fix EOF error on tarballs so now those files are skipped
+
+* Wed Mar 17 2010 Shane Bradley
+- Fixed is cluster node name in hosts file bug
+
+* Thu Jul 09 2009 Shane Bradley
+- Factored out some code to streamline and simplify
+- Fix command option error that did not check for disable plugin option
+- Fix index error on parsing cluster.conf(via multicast section)
+
+* Thu Jul 09 2009 Shane Bradley
+- Fix build error
+
+* Thu Jul 09 2009 Shane Bradley
+- Added support for userdefined reports/plugins
+- Added some new rhnsat functions for package detection
+- Fixed qdisk bug where would not always find out if enabled.
+- Fixed a couple of bugs which include verifing tarfile type is correct.
+- Fixed some document information.
+- Fixed error on pulling in nonreport file types
+- Finished writing on API docs.
+
+* Thu Jun 25 2009 Shane Bradley
+- sxconsole is not pluggable for reports and tests
+- Rewrote cluster tools and added more tests
+- Refactored and cleaned up core of code
+- Removed sxqt for now since refactoring of code will break it
+
+* Wed Apr 29 2009 Shane Bradley
+- Fixed bug with qdisk that reported in correct result on runlevel detection.
+- Fixed changelog on release versions updates.
+
+* Mon Apr 27 2009 Shane Bradley
+- Updated sx.spec to be fedorahosted compliant. Added qdisk support.
+- Added if statements on xml to make sure item exists
+
+* Thu Apr 16 2009 Shane Bradley
+- Fixed bug in the list of valid sosreports that were moved.
+
+* Thu Apr 16 2009 Shane Bradley
+- Fixed two issues: nonsosreport *.tar.bz2 will stop sx and gfs module compare would fail incorrectly
+
+* Mon Mar 09 2009 Shane Bradley
+- Fixed the -R, so that if file does not exist it will not error out.
+
+* Sun Mar 01 2009 Shane Bradley
+- Fixed the -R, it was not running because of nested loop
+
+* Sun Mar 01 2009 Shane Bradley
+- Fix the gui from crashing if root directory does not exist
+
+* Thu Feb 26 2009 Shane Bradley
+- Removed import options, added directory view on tree to import, added highlighting on search
+
+* Wed Feb 11 2009 Shane Bradley
+- Fix add file dialog to goto last dir, fixed some warning for checking checksysreport file, fixed loop in acpi checking
+
+* Tue Feb 10 2009 Shane Bradley
+- Added support for 7 characters that will enable support for larger ticket numbers.
+
+* Wed Jan 21 2009 Shane Bradley
+- Fixed a few bugs, remove yakuake support, added new option to generate rhcs kernel table.
+
+* Wed Dec 17 2008 Shane Bradley
+- First release of new version of sx with pyqt4 gui support.
+
diff --git a/sources b/sources
index 735fbbc..3b6bed9 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 f17a6c8e2f40e4ce1f35ff6a6a1f4723  sx-2.03.tar.gz
+35e05733b42224991e24f93c44dea0be  sx-2.06.tar.gz
diff --git a/sx.spec b/sx.spec
index 04b1309..5d1bf57 100644
--- a/sx.spec
+++ b/sx.spec
@@ -1,17 +1,17 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Summary: Tool to extract reports and run plug-ins against those extracted reports
-Name: sx 
-Version: 2.03
-Release: 9%{?dist}
+Name: sx
+Version: 2.06
+Release: 1%{?dist}
 URL: http://sbradley.fedorapeople.org/sx
-Source0: http://sbradley.fedorapeople.org/sx/src/%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
 License: GPLv2
 Group: Applications/Archiving
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildArch: noarch
-BuildRequires: python-devel python-setuptools 
-Requires: python 
+BuildRequires: python-devel python-setuptools
+Requires: python python-pycurl
 
 %description
 sxconsole is a tool used to extract various report types and then
@@ -29,26 +29,31 @@ has a class defined.
 
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
-%{__python}  setup.py install --optimize 1 --root=${RPM_BUILD_ROOT}
+%{__python} setup.py install --optimize 1 --root=${RPM_BUILD_ROOT}
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
-%files 
+%files
 %defattr(-,root,root,-)
-%doc LICENSE AUTHORS PKG-INFO 
+%doc LICENSE AUTHORS PKG-INFO CHANGELOG.Fedora
 %doc doc/*
 %{_bindir}/sxconsole
 %{python_sitelib}/*
 
 
 %changelog
+* Mon Dec 05 2011 Niels de Vos <devos at fedoraproject.org> - 2.06-1
+- Update to current version
+- Add separate CHANGELOG
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Mon Sep 13 2010 Shane Bradley <sbradley at redhat.com>- 2.03-8
 - Updated sx.spec and build procedures to be compliant with fedoraproject.org.
 - Fixed issue where archived reports could not be loaded.
+
 * Thu Aug 26 2010 Shane Bradley <sbradley at redhat.com>- 2.03-7
 - Changed LICENSE to GPLv2
 - Cleaned up the build process
@@ -58,6 +63,7 @@ has a class defined.
 - Removed checksysreport dependency and added error checking.
 - Updating docs
 - Minor tweaks and fixes
+
 * Mon Jul 19 2010 Shane Bradley <sbradley at redhat.com>- 2.03-6
 - Fix bug in generating network maps did not account for capitalized letters
 - Added options to opensosreport for choosing fileviewer
@@ -66,34 +72,43 @@ has a class defined.
 - Fix a few bugs
 - Added new plugin for opening sosreport html reports in browser
 - Added plugin options, so plugin can be customized
+
 * Thu Jul 01 2010 Shane Bradley <sbradley at redhat.com>- 2.03-5
 - Refactor out the helper functions for reports, moved them to sreport with sosreport/sysreport inherit
 - Fixed bug for -R option when dir did not exist
 - Refactor cluster plugin and it libs 
 - Added yakuake.py plugin into default binary for package
 - Fixed some logging issues
+
 * Tue Jun 22 2010 Shane Bradley <sbradley at redhat.com>- 2.03-4
 - Fixed bug in disabled/enabled plugins
 - Added better filepath handling with -f option
 - Moved cluster plugin report file to one file
+
 * Thu Jun 17 2010 Shane Bradley <sbradley at redhat.com>- 2.03-3
 - Fixed bug in cluster summary and edited summary for no packages installed.
+
 * Tue Jun 15 2010 Shane Bradley <sbradley at redhat.com>- 2.03-2
 - Added console message to list files that were created.
 - Add console message and new summary file to cluster plugin.
 - Cleaned up cluster/checksysreport plugins.
 - Added option to load previous extracted reports.
+
 * Fri Jun 11 2010 Shane Bradley <sbradley at redhat.com>- 2.03-1
 - Added new cluster plugin and cleaned up functions for it
 - Fix EOF error on tarballs so now those files are skipped
+
 * Thu Mar 17 2010 Shane Bradley <sbradley at redhat.com>- 2.02-5
 - Fixed is cluster node name in hosts file bug
+
 * Thu Jul 9 2009 Shane Bradley <sbradley at redhat.com>- 2.02-4
 - Factored out some code to streamline and simplify
 - Fix command option error that did not check for disable plugin option
 - Fix index error on parsing cluster.conf(via multicast section)
+
 * Thu Jul 9 2009 Shane Bradley <sbradley at redhat.com>- 2.02-3
 - Fix build error 
+
 * Thu Jul 9 2009 Shane Bradley <sbradley at redhat.com>- 2.02-2
 - Added support for userdefined reports/plugins
 - Added some new rhnsat functions for package detection
@@ -102,34 +117,47 @@ has a class defined.
 - Fixed some document information.
 - Fixed error on pulling in nonreport file types
 - Finished writing on API docs.
+
 * Thu Jun 25 2009 Shane Bradley <sbradley at redhat.com>- 2.01-1
 - sxconsole is not pluggable for reports and tests
 - Rewrote cluster tools and added more tests
 - Refactored and cleaned up core of code
 - Removed sxqt for now since refactoring of code will break it
+
 * Wed Apr 29 2009 Shane Bradley <sbradley at redhat.com>- 1.01-13
 - Fixed bug with qdisk that reported in correct result on runlevel detection.
 - Fixed changelog on release versions updates.
+
 * Mon Apr 27 2009 Shane Bradley <sbradley at redhat.com>- 1.01-12
 - Updated sx.spec to be fedorahosted compliant. Added qdisk support. 
 - Added if statements on xml to make sure item exists
+
 * Thu Apr 16 2009 Shane Bradley <sbradley at redhat.com>- 1.01-11
 - Fixed bug in the list of valid sosreports that were moved.
+
 * Thu Apr 16 2009 Shane Bradley <sbradley at redhat.com>- 1.01-10
 - Fixed two issues: nonsosreport *.tar.bz2 will stop sx and gfs module compare would fail incorrectly
+
 * Mon Mar 09 2009 Shane Bradley <sbradley at redhat.com>- 1.01-9
 - Fixed the -R, so that if file does not exist it will not error out.
+
 * Sun Mar 01 2009 Shane Bradley <sbradley at redhat.com>- 1.01-8
 - Fixed the -R, it was not running because of nested loop
+
 * Sun Mar 01 2009 Shane Bradley <sbradley at redhat.com>- 1.01-7
 - Fix the gui from crashing if root directory does not exist
+
 * Thu Feb 26 2009 Shane Bradley <sbradley at redhat.com>- 1.01-6
 - Removed import options, added directory view on tree to import, added highlighting on search
+
 * Wed Feb 11 2009 Shane Bradley <sbradley at redhat.com>- 1.01-5
 - Fix add file dialog to goto last dir, fixed some warning for checking checksysreport file, fixed loop in acpi checking
+
 * Tue Feb 10 2009 Shane Bradley <sbradley at redhat.com>- 1.01-4
 - Added support for 7 characters that will enable support for larger ticket numbers.
+
 * Wed Jan 21 2009 Shane Bradley <sbradley at redhat.com>- 1.01-2
 - Fixed a few bugs, remove yakuake support, added new option to generate rhcs kernel table.
+
 * Wed Dec 17 2008 Shane Bradley <sbradley at redhat.com>- 1.01-1
 - First release of new version of sx with pyqt4 gui support.


More information about the scm-commits mailing list