[Pacemaker] syntax in rsc_template after update
Robert Dahlem
Robert.Dahlem at gmx.net
Fri Apr 8 10:35:06 UTC 2016
Hi,
I am in the process of updating my SUSE SLES 11 system from SP3 to SP4.
This involves some version changes:
crmsh from 1.2.6 to 2.1.2
pacemaker from 1.1.11 to 1.1.12
corosync stays on 1.4.7 and openais on 1.1.4
After restarting the updated system complains about syntax errors in
pacemakers configuration:
# crm configure show >/dev/null
ERROR: syntax in rsc_template: Expected operation type near <reload>
parsing 'rsc_template template-HAPROXY ocf:KORDOBA:haproxy op start
timeout=20s interval=0 on-fail=stop op stop timeout=20s interval=0
on-fail=block op monitor timeout=20s interval=10s on-fail=block op
reload timeout=40s interval=0'
The original source for this was:
rsc_template template-HAPROXY ocf:KORDOBA:haproxy \
op start timeout="20s" interval="0" on-fail="stop" \
op stop timeout="20s" interval="0" on-fail="block" \
op monitor timeout="20s" interval="10s" on-fail="block" \
op reload timeout="40s" interval="0"
The actions part in the resource script is:
<actions>
<action name="start" timeout="20" />
<action name="stop" timeout="20" />
<action name="reload" timeout="40" />
<action name="monitor" timeout="20" interval="10" depth="0" />
<action name="meta-data" timeout="5" />
<action name="validate-all" timeout="20" />
</actions>
Copying the old rsc_template configuration and then removing "op reload"
does help. But how do I get timeout and interval form reload into the
template now?
Kind regards,
Robert
More information about the Pacemaker
mailing list