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 1278473 - totemrrp: Reset timer_problem_decrementer on fault
Summary: totemrrp: Reset timer_problem_decrementer on fault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: corosync
Version: 6.8
Hardware: All
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jan Friesse
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-05 14:57 UTC by Jan Friesse
Modified: 2016-05-10 19:42 UTC (History)
3 users (show)

Fixed In Version: corosync-1.4.7-3.el6
Doc Type: Bug Fix
Doc Text:
No doc text needed.
Clone Of:
Environment:
Last Closed: 2016-05-10 19:42:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (1.78 KB, patch)
2015-11-05 14:57 UTC, Jan Friesse
no flags Details | Diff
Proposed patch 2 (795 bytes, patch)
2015-11-05 15:10 UTC, Jan Friesse
no flags Details | Diff
Proposed patch 3 (3.75 KB, patch)
2015-11-05 15:27 UTC, Jan Friesse
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0753 0 normal SHIPPED_LIVE corosync bug fix update 2016-05-10 22:32:07 UTC

Description Jan Friesse 2015-11-05 14:57:25 UTC
Created attachment 1090135 [details]
Proposed patch

Description of problem:

After a heartbeat link's FAULTY and its auto re-enable, active_instance->timer_problem_decrementer did not reset to zero. So in the next timer_function_active_token_expired() round, active_timer_problem_decrementer_start() will not be called. This will result in that the active_instance->counter_problems of this link can not be decreased any more. Cause rrp lose the ability to tolerate network fluctuation.
    
This problem can be reproduced by the following sequence:
1) Set RRP in active mode, configure at least 2 heartbeat links.
2) Unplug one link till corosync-cfgtool -s shows it is FAULTY.
3) Re-plug this link then corosync-cfgtool -s shows it is active with no faults.
4) Unplug this link again but quicky re-plug it before it becomes FAULTY.
5) Finally, you can see corosync-cfgtool -s shows it is in "Incrementing problem counter" state despite it currently is physically healthy.
    
It can be solved by not forget to reset timer_problem_decrementer to
zero in active_timer_problem_decrementer_cancel().

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

Additional info:
We don't support active rrp, so this is SanityOnly.

Comment 1 Jan Friesse 2015-11-05 15:10:30 UTC
Created attachment 1090156 [details]
Proposed patch 2

It obviously is a typo, but it dose cause coredump easily

Comment 2 Jan Friesse 2015-11-05 15:27:46 UTC
Created attachment 1090169 [details]
Proposed patch 3

Comment 7 errata-xmlrpc 2016-05-10 19:42:51 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-2016-0753.html


Note You need to log in before you can comment on or make changes to this bug.