Hi!

I just discovered a state transition for crmd when there was nothing to do:
---
Apr 19 08:31:24 h05 crmd: [13085]: info: crm_timer_popped: PEngine Recheck 
Timer (I_PE_CALC) just popped (900000ms)
Apr 19 08:31:24 h05 crmd: [13085]: notice: do_state_transition: State 
transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_TIMER_POPPED 
origin=crm_timer_popped ]
Apr 19 08:31:24 h05 crmd: [13085]: info: do_state_transition: Progressed to 
state S_POLICY_ENGINE after C_TIMER_POPPED
Apr 19 08:31:24 h05 pengine: [13084]: notice: unpack_config: On loss of CCM 
Quorum: Ignore
Apr 19 08:31:24 h05 crmd: [13085]: notice: do_state_transition: State 
transition S_POLICY_ENGINE -> S_TRANSITION_ENGINE [ input=I_PE_SUCCESS 
cause=C_IPC_MESSAGE origin=handle_response ]
Apr 19 08:31:24 h05 crmd: [13085]: info: do_te_invoke: Processing graph 1515 
(ref=pe_calc-dc-1366353084-4996) derived from /var/lib/pengine/pe-input-11.bz2
Apr 19 08:31:24 h05 crmd: [13085]: notice: run_graph: ==== Transition 1515 
(Complete=2, Pending=0, Fired=0, Skipped=0, Incomplete=0, 
Source=/var/lib/pengine/pe-input-11.bz2): Complete
Apr 19 08:31:24 h05 crmd: [13085]: notice: do_state_transition: State 
transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS 
cause=C_FSA_INTERNAL origin=notify_crmd ]
Apr 19 08:31:24 h05 pengine: [13084]: notice: process_pe_message: Transition 
1515: PEngine Input stored in: /var/lib/pengine/pe-input-11.bz2
---

So some re-check timer (I_PE_CALC) got active, and crmd changed from S_IDLE to 
S_POLICY_ENGINE.
That's OK, but if the policy engine does not create any actions to perform, why 
then is the transition engine activated (S_POLICY_ENGINE -> 
S_TRANSITION_ENGINE)?

I see no actions performed, but still the pengine dumps the cluster-state to a 
file. Shouldn't the state go from S_POLICY_ENGINE to S_IDLE instead? Or does 
this happen because one cluster node is offline and standby?

I tried to examine the dumped state:
---
h05:~ # crm_simulate -V -x /tmp/pe

Current cluster status:
Node h01: OFFLINE (standby)
Online: [ h05 ]

 prm_stonith_sbd        (stonith:external/sbd): Started h05
 Clone Set: cln_DLM [prm_DLM]
     Started: [ h05 ]
     Stopped: [ prm_DLM:1 ]
 Clone Set: cln_cLVMd [prm_cLVMd]
     Started: [ h05 ]
     Stopped: [ prm_cLVMd:1 ]
 Clone Set: cln_LVM_CFS_VMs [prm_LVM_CFS_VMs]
     Started: [ h05 ]
     Stopped: [ prm_LVM_CFS_VMs:1 ]
 Clone Set: cln_O2CB [prm_O2CB]
     Started: [ h05 ]
     Stopped: [ prm_O2CB:1 ]
 Clone Set: cln_CFS_VMs_fs [prm_CFS_VMs_fs]
     Started: [ h05 ]
     Stopped: [ prm_CFS_VMs_fs:1 ]
 prm_xen_v01       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v07       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v05       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v03       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v04       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v02       (ocf::heartbeat:Xen):   Started h05
 prm_xen_v06       (ocf::heartbeat:Xen):   Started h05
---

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to