[Pacemaker] the behavior of clone resource

Junko IKEDA ikedaj at intellilink.co.jp
Thu Mar 25 04:53:03 EDT 2010


Hi,

> The first. You could be seeing a bug thats already fixed though.
> With 1.0.8 it wants to start the clone:

I tried this with 1.0.8-5443ff1ab132,
and ptest showed that clone would be started,

# ptest -VVV -x pe-input-6.bz2
ptest[25077]: 2010/03/25_17:47:41 WARN: unpack_nodes: Blind faith: not
fencing unseen nodes
ptest[25077]: 2010/03/25_17:47:41 WARN: unpack_rsc_op: Processing failed
op clnUMdummy01:0_monitor_10000 on cspm01: not running (7)
ptest[25077]: 2010/03/25_17:47:41 WARN: unpack_rsc_op: Processing failed
op clnUMdummy01:0_stop_0 on cspm01: unknown error (1)
ptest[25077]: 2010/03/25_17:47:41 notice: group_print:  Resource Group:
UMgroup01
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:      UmDummy01
(ocf::heartbeat:Dummy): Started cspm01
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:      UmDummy02
(ocf::heartbeat:Dummy): Started cspm01
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:      UmDummy03
(ocf::heartbeat:Dummy): Started cspm01
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:      UmDummy04
(ocf::heartbeat:Dummy): Started cspm01
ptest[25077]: 2010/03/25_17:47:41 notice: clone_print:  Clone Set:
clnUMgroup01
ptest[25077]: 2010/03/25_17:47:41 notice: group_print:      Resource
Group: clnUmResource:0
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:
clnUMdummy01:0 (ocf::heartbeat:Dummy01):       Started cspm01 (unmanaged)
FAILED
ptest[25077]: 2010/03/25_17:47:41 notice: native_print:
clnUMdummy02:0 (ocf::heartbeat:Dummy02):       Stopped
ptest[25077]: 2010/03/25_17:47:41 notice: short_print:      Stopped: [
clnUmResource:1 ]
ptest[25077]: 2010/03/25_17:47:41 WARN: common_apply_stickiness: Forcing
clnUMgroup01 away from cspm01 after 1000000 failures (max=10)
ptest[25077]: 2010/03/25_17:47:41 WARN: native_color: Resource
clnUMdummy02:0 cannot run anywhere
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for UmDummy01 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for UmDummy02 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for UmDummy03 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for UmDummy04 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for clnUMdummy01:1 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: RecurringOp:  Start recurring
monitor (10s) for clnUMdummy02:1 on cspm04
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Move resource
UmDummy01   (Started cspm01 -> cspm04)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Move resource
UmDummy02   (Started cspm01 -> cspm04)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Move resource
UmDummy03   (Started cspm01 -> cspm04)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Move resource
UmDummy04   (Started cspm01 -> cspm04)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Leave resource
clnUMdummy01:0     (Started unmanaged)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Leave resource
clnUMdummy02:0     (Stopped)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Start
clnUMdummy01:1      (cspm04)
ptest[25077]: 2010/03/25_17:47:41 notice: LogActions: Start
clnUMdummy02:1      (cspm04)



but crm_mon said that clone(clnUMdummy01:1, clnUMdummy02:1) is stoppped.


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

Online: [ cspm01 cspm02 cspm03 cspm04 ]

      Clone Set: clnUMgroup01
          Resource Group: clnUmResource:0
              clnUMdummy01:0	(ocf::heartbeat:Dummy01):	Started cspm01
(unmanaged) FAILED
              clnUMdummy02:0	(ocf::heartbeat:Dummy02):	Stopped
          Stopped: [ clnUmResource:1 ]

Failed actions:
         clnUMdummy01:0_monitor_10000 (node=cspm01, call=9, rc=7,
status=complete): not running
         clnUMdummy01:0_stop_0 (node=cspm01, call=21, rc=1,  
status=complete):
unknown error


Thanks,
Junko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log01.tar.bz2
Type: application/octet-stream
Size: 2058130 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100325/6054658f/attachment-0003.obj>


More information about the Pacemaker mailing list