[Pacemaker] Corosync hanging during stop

Lars Ellenberg lars.ellenberg at linbit.com
Sat Oct 12 00:14:58 UTC 2013


On Thu, Oct 10, 2013 at 04:06:46PM +0200, Detlef Gossrau wrote:
> Hi,
> 
> I created a cluster installation with two nodes. Everything is
> running smoothly most of the time. But in case a resource was
> switched into unmanaged state and I reboot the node on which the
> resource is running, corosync is hanging during stop. Only after
> 'shutdown-escalation' time corosync is stopping.

*corosync* is hanging?
or rather *pacemaker*, maybe?

> Is this normal behavior ? Is there a parameter to prevent this ?
> IMHO a unmanged resource should not prevent corosync from stopping.

It may be expected behaviour.
Would this maybe explain what you see:
http://bugs.clusterlabs.org/show_bug.cgi?id=5028#c12

|  Andrew Beekhof 2012-03-07 02:42:08 CET
|
|  A related patch has been committed upstream:
|    https://github.com/beekhof/pacemaker/commit/8d2f237
|
|  with subject:
|
|     High: PE: Bug cl#5028 - Unmanaged services should block shutdown unless in
|  maintainence mode
|
|  Further details (if any):
|
|   'Unmanaged' in this context means failed with on-fail=block.

Here comes:

|  Not doing this could lead to services being active in more than one location
|  as the node is considered safely stopped.
|
|  Resources that are configured to be unmanaged will not block shutdown

Or maybe rather here, specifically:

|  /unless/ there is another resource that cannot shutdown until the
|  unmanaged one has - since that is impossible.

Hth,

	Lars

> What's the expected behaviour on the other node ?
> 
> My environment :
> 
> Scientific Linux 6.3
> 
> pacemaker-cluster-libs-1.1.7-6.el6.x86_64
> pacemaker-cli-1.1.7-6.el6.x86_64
> pacemaker-libs-1.1.7-6.el6.x86_64
> pacemaker-1.1.7-6.el6.x86_64
> corosynclib-1.4.1-7.el6.x86_64
> corosync-1.4.1-7.el6.x86_64
> resource-agents-3.9.2-12.el6.x86_64
> cluster-glue-libs-1.0.5-6.el6.x86_64
> cluster-glue-1.0.5-6.el6.x86_64
> 
> Thanks for any hints !
> 
> Kind regards,
> Detlef

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.




More information about the Pacemaker mailing list