Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Cause:
User reloads corosync config with different number of nodes and with votequorum enabled.
Consequence:
"Scary" messages "configuration error: nodelist or quorum.expected_votes must be configured!" appears in logs.
Fix:
Call votequorum reconfigure function after whole reload is finished instead of during reload.
Result:
No more "scary" messages.
DescriptionJaroslav Kortus
2014-04-08 16:39:50 UTC
Description of problem:
when corosync reloads a config with different number of nodes, these messages appear in syslog:
However, there are some scary messages in syslog after the node is added:
Apr 8 17:12:36 virt-139 corosync[24054]: [CFG ] Config reload requested by node 2
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured!
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured!
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data
Apr 8 17:12:36 virt-139 corosync[24054]: [TOTEM ] adding new UDPU member {10.34.71.140}
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured!
Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data
Version-Release number of selected component (if applicable):
corosync-2.3.3-2.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. create two node and three node corosync.conf
2. start corosync with two node config
3. overwrite corosync.conf with 3node config
4. corosync-cfgtool -R (reload corosync)
alternatively this can be achieved by pcs cluster node remove/add.
Actual results:
syslog messages complaining about errors
Expected results:
no errors
Additional info:
Created attachment 912740[details]
Make config.reload_in_progress key read only
Make config.reload_in_progress key read only
It's not very good idea to allow user apps changing internal key
reload_in_progress.
Signed-off-by: Jan Friesse <jfriesse>
Reviewed-by: Christine Caulfield <ccaulfie>
Created attachment 912741[details]
votequorum: Do not process events during reload
votequorum: Do not process events during reload
During reload, local_node_pos is deleted and reinstation is handled in
totemconfig after reload is finished. votequorum handles this events and
tries to reload it's configuration. This led to logging a little scary
messages (even nothing bad is happening, because after local_node_pos
reinstation everything back to normal).
Solution is to stop processing events during reload. Sadly, simple
tracking of config.reload_in_progress doesn't work because LibQB events
triggering order is undefined so votequorum reload handler can be called
before totemconfig (and before local_node_pos is reinstatied).
So new config.totemconfig_reload_in_progress key is defined with very
similar semanthic as config.reload_in_progress but set inside
totem_reload_notify function. Votequorum then use this new key.
Signed-off-by: Jan Friesse <jfriesse>
Reviewed-by: Christine Caulfield <ccaulfie>
Unit test is to just create config with 10 nodes and then reload with only one node. Scary message shouldn't appear.
This is NOT worth of 7.0.z, because with exception of multiple call of votequorum reload callback and "scary" message, nothing bad happens.
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.
https://rhn.redhat.com/errata/RHBA-2015-0365.html
Description of problem: when corosync reloads a config with different number of nodes, these messages appear in syslog: However, there are some scary messages in syslog after the node is added: Apr 8 17:12:36 virt-139 corosync[24054]: [CFG ] Config reload requested by node 2 Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured! Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured! Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data Apr 8 17:12:36 virt-139 corosync[24054]: [TOTEM ] adding new UDPU member {10.34.71.140} Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] configuration error: nodelist or quorum.expected_votes must be configured! Apr 8 17:12:36 virt-139 corosync[24054]: [VOTEQ ] will continue with current runtime data Version-Release number of selected component (if applicable): corosync-2.3.3-2.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. create two node and three node corosync.conf 2. start corosync with two node config 3. overwrite corosync.conf with 3node config 4. corosync-cfgtool -R (reload corosync) alternatively this can be achieved by pcs cluster node remove/add. Actual results: syslog messages complaining about errors Expected results: no errors Additional info: