[Pacemaker] crmd-transition-delay does not work

Kazunori INOUE kazunori.inoue3 at gmail.com
Fri Apr 25 05:08:25 EDT 2014


Hi,

'crmd-transition-delay' of cib which I loaded does not work.
this log is not output :
info: crm_timer_popped: New Transition Timer (I_PE_CALC) just popped (2000ms)

Although I noticed in the latest master branch (830af67), I think that
'cib-performance' is probably the cause.

steps to reproduce :
$ rm -f /var/lib/pacemaker/cib/*
$ initctl start pacemaker.combined
$ crm configure load update test.cli

log at the time of load :
crmd: (       xml.c:5940  )   trace: get_xpath_object:      No match
for //cib_update_result//diff-added//crm_config in /notify
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input   <notify t="cib_notify" subt="cib_diff_notify"
cib_op="cib_apply_diff" cib_rc="0" cib_object_type="diff">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input     <cib_generation>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input       <generation_tuple epoch="4" num_updates="0"
admin_epoch="0" validate-with="pacemaker-1.3" crm_feature_set="3.0.9"
cib-last-written="Fri Apr 25 16:40:02 2014" have-quorum="1"
dc-uuid="3232261535"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input     </cib_generation>
...snip...
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input     <cib_update_result>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input       <diff format="2">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <version>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <source admin_epoch="0" epoch="2" num_updates="6"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <target admin_epoch="0" epoch="4" num_updates="0"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </version>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="modify" path="/cib">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <change-list>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input             <change-attr name="epoch" operation="set"
value="4"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input             <change-attr name="num_updates" operation="set"
value="0"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           </change-list>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <change-result>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input             <cib epoch="4" num_updates="0" admin_epoch="0"
validate-with="pacemaker-1.3" crm_feature_set="3.0.9"
cib-last-written="Fri Apr 25 16:38:58 2014" have-quorum="1"
dc-uuid="3232261535"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           </change-result>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="create"
path="/cib/configuration/crm_config/cluster_property_set[@id='cib-bootstrap-options']"
position="2">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <nvpair name="no-quorum-policy" value="ignore"
id="cib-bootstrap-options-no-quorum-policy"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="create"
path="/cib/configuration/crm_config/cluster_property_set[@id='cib-bootstrap-options']"
position="3">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <nvpair name="stonith-enabled" value="false"
id="cib-bootstrap-options-stonith-enabled"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="create"
path="/cib/configuration/crm_config/cluster_property_set[@id='cib-bootstrap-options']"
position="4">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <nvpair name="startup-fencing" value="false"
id="cib-bootstrap-options-startup-fencing"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="create"
path="/cib/configuration/crm_config/cluster_property_set[@id='cib-bootstrap-options']"
position="5">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <nvpair name="stonith-timeout" value="60s"
id="cib-bootstrap-options-stonith-timeout"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         <change operation="create"
path="/cib/configuration/crm_config/cluster_property_set[@id='cib-bootstrap-options']"
position="6">
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input           <nvpair name="crmd-transition-delay" value="2s"
id="cib-bootstrap-options-crmd-transition-delay"/>
crmd: (       xml.c:5941  )   trace: get_xpath_object:      Unexpected
Input         </change>

Change of 'cluster_property_set' has not been applied to crmd..

Regards,
Kazunori INOUE




More information about the Pacemaker mailing list