Bug 576000

Summary: corosync won't shutdown with firewall enabled
Product: [Retired] Corosync Cluster Engine Reporter: Angus Salkeld <asalkeld>
Component: totemAssignee: Jan Friesse <jfriesse>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 1.3CC: agk, asalkeld, fdinitto, jerome.flesch, jfriesse, sdake
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 600479 (view as bug list) Environment:
Last Closed: 2011-06-28 10:22:32 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:
Bug Depends On:    
Bug Blocks: 600479    

Description Angus Salkeld 2010-03-22 23:40:17 UTC
Description of problem:

When setting up and you forget your firewall on (like I did).

totem gets stuck in the gather state:
Mar 23 09:39:16 corosync [TOTEM ] entering GATHER state from 3.
Mar 23 09:39:18 corosync [TOTEM ] The consensus timeout expired.
...

Our current shutdown relies on the ability to send a token.
It hooks into sched_work() which gets fired on token_send.
In the above state we are not in a state to send a token
so we can't shutdown.

We probably need to check that the totem state is operational
before calling schedwrk_create(), if not call
service_exit_schedwrk_handler() directly.


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

How reproducible:
100%

Steps to Reproduce:
1.enable firewall (default one)
2.service corosync restart
3.
  
Actual results:
it will never shutdown

Expected results:
shutdown quickly

Additional info:

Comment 1 Steven Dake 2010-07-21 15:19:40 UTC
*** Bug 557513 has been marked as a duplicate of this bug. ***

Comment 2 Bug Zapper 2010-07-30 11:09:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Jan Friesse 2011-06-28 10:22:32 UTC
Fixed in flatiron as commit 2f1b7a962911670493d0db3695fc9fb91ceb0c82, so available in 1.4.0