[ClusterLabs] Antw: syntax in rsc_template after update
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Fri Apr 8 11:07:49 UTC 2016
>>> Robert Dahlem <Robert.Dahlem at gmx.net> schrieb am 08.04.2016 um 12:37 in
Nachricht <570789F9.4040702 at gmx.net>:
> Hi,
>
> I am in the process of updating my SUSE SLES 11 system from SP3 to SP4.
Did you install updates also? (e.g. crmsh-2.1.2+git132.gbc9fde0-7.2)
>
> 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"
I never used "reload" op.
>
> 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?
Sorry, no idea.
>
> Kind regards,
> Robert
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Users
mailing list