Bug 244469
Summary: | CPG: bad elements in in member_list for cpg_confchg_fn | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jonathan Earl Brassow <jbrassow> |
Component: | openais | Assignee: | Steven Dake <sdake> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.0 | CC: | ccaulfie, cluster-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-15 22:45:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jonathan Earl Brassow
2007-06-15 21:42:01 UTC
i ran testcpg on the machines and testcpg works properly. I then suspected that logging.c/logging.h from cmirror has some problem so I copied over that code into my testcpg program. I copied the config logging messages into testcpg on xen03 and replaced LOG_PRINT with printf and receive the following output: [root@jb-xen-03 test]# ./testcpg Type EXIT to finish * CPG config callback ********************* * JOINING (1): * nodeid: 3, pid: 2815 * MEMBERS (3): * nodeid: 3, pid: 2815 * nodeid: 2, pid: 2656 * nodeid: 1, pid: 2656 * LEAVING (0): ***************************************** whereas the log output with LOG_PRINT being used in testcpg contains: Since these dont match and regular printf is pretty simple, this seems to indicate an error in the logging.c code in cmirror. Jun 15 17:42:20 jb-xen-03 clogd[2815]: * CPG config callback ********************* Jun 15 17:42:20 jb-xen-03 clogd[2815]: * JOINING (1): Jun 15 17:42:20 jb-xen-03 clogd[2815]: * nodeid: 3, pid: 2815 Jun 15 17:42:20 jb-xen-03 clogd[2815]: * MEMBERS (3): Jun 15 17:42:20 jb-xen-03 clogd[2815]: * nodeid: 3, pid: 2815 Jun 15 17:42:20 jb-xen-03 last message repeated 2 times Jun 15 17:42:20 jb-xen-03 clogd[2815]: * LEAVING (0): Jun 15 17:42:20 jb-xen-03 clogd[2815]: ***************************************** The code with both log output methods (logging.c and also printf) is contained on the xen-03 node. Regards -steve |