[Pacemaker] clone resource doesn't stop during node standby

Junko IKEDA ikedaj at intellilink.co.jp
Thu Mar 18 02:49:45 UTC 2010


Hi,

I run the following resources on two node.

# crm_mon -1

============
Last updated: Thu Mar 18 11:26:54 2010
Stack: openais
Current DC: cspm01 - partition with quorum
Version: 1.0.8-2a76c6ac04bc stable-1.0 tip
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Online: [ cspm01 cspm02 ]

      Resource Group: UMgroup01
          UmDummy03  (ocf::heartbeat:Dummy): Started cspm01
          UmDummy04  (ocf::heartbeat:Dummy01):       Started cspm01
      Clone Set: clnUMgroup01
          Started: [ cspm01 cspm02 ]




edit Dummy01 RA, which is running as UmDummy04 in UMgroup01 to create stop
NG situation.
aftre stop NG of UmDummy04, clone resource keeps running on both nodes.



# crm_mon -1

============
Last updated: Thu Mar 18 11:27:25 2010
Stack: openais
Current DC: cspm01 - partition with quorum
Version: 1.0.8-2a76c6ac04bc stable-1.0 tip
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Online: [ cspm01 cspm02 ]

      Resource Group: UMgroup01
          UmDummy03  (ocf::heartbeat:Dummy): Started cspm01
          UmDummy04  (ocf::heartbeat:Dummy01):       Started cspm01
(unmanaged)
FAILED
      Clone Set: clnUMgroup01
          Started: [ cspm01 cspm02 ]

Failed actions:
         UmDummy04_monitor_10000 (node=cspm01, call=13, rc=7,
status=complete):
not running
         UmDummy04_stop_0 (node=cspm01, call=14, rc=1, status=complete):
unknown error



I tried to change node(cspm02) status to "standby".

standby action succeeded,
but clone resource on standby node was not stopped.

# crm_mon -1

============
Stack: openais
Current DC: cspm01 - partition with quorum
Version: 1.0.8-2a76c6ac04bc stable-1.0 tip
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Node cspm02: standby
Online: [ cspm01 ]

      Resource Group: UMgroup01
          UmDummy03	(ocf::heartbeat:Dummy):	Started cspm01
          UmDummy04	(ocf::heartbeat:Dummy01):	Started cspm01 (unmanaged)
FAILED
      Clone Set: clnUMgroup01
          Started: [ cspm01 cspm02 ]

Failed actions:
         UmDummy04_monitor_10000 (node=cspm01, call=13, rc=7,
status=complete):
not running
         UmDummy04_stop_0 (node=cspm01, call=14, rc=1, status=complete):
unknown error


It seems that constraints setting prevents to stop action because there is
the unmanaged resource.
Is it expected?

I think that the resources on cspm02 is not "unmanaged",
so it should be stopped during standby.

I attached hb_report.


Thanks,
Junko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trac1068.tar.bz2
Type: application/bzip2
Size: 31855 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100318/dc651929/attachment-0003.bin>


More information about the Pacemaker mailing list