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.

Bug 1085468

Summary: scary messages on corosync config reload
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Kortus <jkortus>
Component: corosyncAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: ccaulfie, cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: corosync-2.3.3-3.el7 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 08:26:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Make config.reload_in_progress key read only
none
votequorum: Do not process events during reload none

Description Jaroslav 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:

Comment 3 Jan Friesse 2014-06-27 09:44:05 UTC
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>

Comment 4 Jan Friesse 2014-06-27 09:44:12 UTC
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>

Comment 5 Jan Friesse 2014-06-27 09:50:14 UTC
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.

Comment 10 errata-xmlrpc 2015-03-05 08:26:53 UTC
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