Bug 675859

Summary: missing upstream patches for full snmp/foghorn integration
Product: Red Hat Enterprise Linux 6 Reporter: Angus Salkeld <asalkeld>
Component: corosyncAssignee: Steven Dake <sdake>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: cluster-maint, djansa, jkortus, sdake
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: corosync-1.2.3-26.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 14:24:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
missing patches none

Description Angus Salkeld 2011-02-07 23:46:48 UTC
Description of problem:
The new snmp patch requires a statistics patch that
adds:
runtime.totem.pg.mrp.srp.members.[nodes]
into the objdb.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. corosync-objdb .runtime.totem.pg.mrp.srp.
2.
3.
  
Actual results:
no members objects

Expected results:
something like:
runtime.totem.pg.mrp.srp.members.23374016.ip=r(0) ip(192.168.100.1) 
runtime.totem.pg.mrp.srp.members.23374016.join_count=1
runtime.totem.pg.mrp.srp.members.23374016.status=joined

Additional info:

in flatiron:
git log --oneline | grep "member node"
732f761 add a list of member nodes into the objdb runtime tree.
5af3989 add a list of member nodes into the objdb runtime tree.

in master
git log --oneline | grep "member node"
ce492d7 add a list of member nodes into the objdb runtime tree.

Comment 2 Angus Salkeld 2011-02-08 04:00:23 UTC
Created attachment 477548 [details]
missing patches

The tarball include some missing patches needed to get dbus/foghorn working.

from master:
f2a961d Make node state a string (not an integer)
397e648 objdb: fix some strange types (uint8_t* -> void*).

from flatiron:
732f761 add a list of member nodes into the objdb runtime tree.
5af3989 add a list of member nodes into the objdb runtime tree.
36265c2 objdb: delete trackers when an object is deleted
267446a objdb: object_created_notification() fix the order of the parent and object handles.

Note: this is in distcvs, but needs to be included in the spec.
3c75fc8 STATS: fix key name length on "join_count"

Comment 5 Jaroslav Kortus 2011-03-28 15:07:35 UTC
The object seem to be present as expected:
(10:05:56) [root@z2:~]$ corosync-objctl -a | grep runtime.totem.pg.mrp.srp | wc -l
34

Comment 6 errata-xmlrpc 2011-05-19 14:24:25 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 therefore 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-2011-0764.html