Red Hat Bugzilla – Bug 782588
sosreport cluster module - hide libxml2 debug output
Last modified: 2014-10-15 23:41:56 EDT
Description of problem: On RHEL5 in cluster module, libxml2 is used to parse /etc/cluster/cluster.conf. When encountering badly formed xml config, libxml2 prints parsing debug info, which would be better to hide before user. It should be possible by redefinition od error handling routines. Version-Release number of selected component (if applicable): sos-1.7-9.62.el5 How reproducible: Always Steps to Reproduce: 1. Corrupt /etc/cluster/cluster.conf somehow 2. sosreport -o cluster 3. Actual results: libxml2 debuggin info is printed Expected results: would be better to not print it Additional info:
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
# echo CRUNCH > /etc/cluster/cluster.conf # sosreport --batch -o cluster sosreport (version 1.7) This utility will collect some detailed information about the hardware and setup of your Red Hat Enterprise Linux system. The information is collected and an archive is packaged under /tmp, which you can send to a support representative. Red Hat will use this information for diagnostic purposes ONLY and it will be considered confidential information. This process may take a while to complete. No changes will be made to your system. /etc/cluster/cluster.conf:1: parser error : Start tag expected, '<' not found CRUNCH ^ One or more plugins have detected a problem in your configuration. Please review the following messages: cluster: * required module is not loaded: dlm * service cman is not running * service cman is not started in default runlevel * service rgmanager is not running * service rgmanager is not started in default runlevel * cluster node is not quorate * /etc/cluster/cluster.conf contains malformed XML plugin cluster finished ... Completed. Creating compressed archive... Your sosreport has been generated and saved in: /tmp/sosreport-rhel5-vm1-836658-baf014.tar.bz2 The md5sum is: 4c9837065776a8aa2e57b894a7baf014 Please send this file to your support representative.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1200.html