Bug 334441 - CRM - 1772908 - Can't get cluster-snmp (fully) working
Summary: CRM - 1772908 - Can't get cluster-snmp (fully) working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: conga
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ryan McCabe
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On: 329631
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-16 14:37 UTC by Kiersten (Kerri) Anderson
Modified: 2009-04-16 20:27 UTC (History)
6 users (show)

Fixed In Version: RHBA-2007-0982
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-21 21:56:52 UTC
Embargoed:


Attachments (Terms of Use)
idea of the fix (644 bytes, patch)
2007-10-22 09:24 UTC, Jan Safranek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0982 0 normal SHIPPED_LIVE clustermon bug fix update 2007-11-29 14:49:32 UTC

Comment 1 Kiersten (Kerri) Anderson 2007-10-16 14:39:17 UTC
Cloned this one from the net-snmp defect.  They can't get a fix for this into
rhel4.6, but sounds like there is a workaround to fix in cluster-snmp packages.
 We need to fix this for cluster 4.6.

Comment 2 Jan Safranek 2007-10-22 09:24:18 UTC
Created attachment 233971 [details]
idea of the fix

I am net-snmp maintainer and I found that net-snmp in RHEL4 is really old and
does not support some features of newer releases. In this bug, net-snmp expects
it receives INTEGER32 values as long*. New net-snmp can handle both int* and
long*. I cannot fix it in 4.6 (it's too late), I'll try to fix it in RHEL 4.7,
so if you want 4.6 cluster working, you must make a workaround.

So, you must go through your net-snmp module and check, if you return integer
values as long, not as int. Example patch is attached. You can easily check the
correctness of your code by configuring net-snmp to use the module and running
on x86_64 cluster:
snmpwalk -v2c -c public localhost REDHAT-CLUSTER-MIB::RedHatCluster

You should see all the values you support and there should be no "Error
building ASN.1" in /var/log/messages. Important is x86_64 architecture here -
the bug is not reproduceable on i386, where int and long have the same size.

Feel free to contact me if you have any questions.

Comment 3 Jim Parsons 2007-10-22 22:02:28 UTC
So - I have this fix in and ready to test it. I tried running your snmpwalk
command, and I got a 'command not found'. Which package is it in? Here are the
snmp pkgs installed on the system I am testing with:
rpm -qa |grep snmp
net-snmp-5.1.2-11.EL4.11
cluster-snmp-0.9.1-8
net-snmp-libs-5.1.2-11.EL4.11

Comment 4 Jan Safranek 2007-10-23 06:39:48 UTC
snmpwalk is in net-snmp-utils package

Comment 8 errata-xmlrpc 2007-11-21 21:56:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0982.html



Note You need to log in before you can comment on or make changes to this bug.