| Summary: | Cannot send cluster messages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Beekhof <abeekhof> | ||||
| Component: | pacemaker | Assignee: | Andrew Beekhof <andrew> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | agk, andrew, dvossel, fdinitto, jfriesse, lhh, sdake | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-02-16 00:13:58 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
Andrew Beekhof
2012-02-14 23:34:54 UTC
Breakpoint 1, corosync_sending_allowed (service=9, id=598, msg=0x7f1dece7f000, sending_allowed_private_data=0xbd66c8) at main.c:1006
1006 {
(gdb) where
#0 corosync_sending_allowed (service=9, id=598, msg=0x7f1dece7f000, sending_allowed_private_data=0xbd66c8) at main.c:1006
#1 0x00007f1df58e7d5d in pthread_ipc_consumer (conn=0xbd2580) at coroipcs.c:698
#2 0x000000392b007d90 in start_thread (arg=0x7f1decb7e440) at pthread_create.c:309
#3 0x000000392a8ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) up
#1 0x00007f1df58e7d5d in pthread_ipc_consumer (conn=0xbd2580) at coroipcs.c:698
698 send_ok = api->sending_allowed (conn_info->service,
(gdb) print *header
$1 = {size = 0, id = 598}
size and id are swapped.
In an attempt to work with 1.4 and 2.0 I had lines 31-44 of:
https://github.com/ClusterLabs/pacemaker/blob/eaf865ce03c44529e204147f8eb28714d3142a6b/include/crm/ais.h#L31
But since:
/usr/include/qb/qbipc_common.h:34:struct qb_ipc_request_header {
/usr/include/qb/qbipc_common.h-35- int32_t id __attribute__ ((aligned(8)));
/usr/include/qb/qbipc_common.h-36- int32_t size __attribute__ ((aligned(8)));
/usr/include/qb/qbipc_common.h-37-} __attribute__ ((aligned(8)));
/usr/include/corosync/coroipc_types.h-38-typedef struct {
/usr/include/corosync/coroipc_types.h-39- int size __attribute__((aligned(8)));
/usr/include/corosync/coroipc_types.h-40- int id __attribute__((aligned(8)));
/usr/include/corosync/coroipc_types.h:41:} coroipc_request_header_t __attribute__((aligned(8)));
That won't work.
Why do you guys hate me?
A related patch has been committed upstream: https://github.com/beekhof/pacemaker/commit/465232a A related patch has been committed upstream: https://github.com/beekhof/pacemaker/commit/7fe02af I can confirm these patches fix the issue for me. Changing component and closing |