<p dir="ltr">Hi Kristoffer,</p>
<p dir="ltr">Thank you for the help.<br>
I will let you know if I see the same with the latest version.</p>
<div class="gmail_quote">On Feb 9, 2015 10:07 AM, "Kristoffer Grönlund" <<a href="mailto:kgronlund@suse.com">kgronlund@suse.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Kostiantyn Ponomarenko <<a href="mailto:konstantin.ponomarenko@gmail.com">konstantin.ponomarenko@gmail.com</a>> writes:<br>
<br>
> Hi guys,<br>
><br>
> I saw this during applying the configuration using a script with crmsh<br>
> commands:<br>
<br>
<br>
The CIB patching performed by crmsh has been a bit too sensitive to<br>
CIB version mismatches which can cause errors like the one you are<br>
seeing. This should be fixed in the latest released version of crmsh<br>
(2.1.2), and I would recommend upgrading to that version if you can.<br>
<br>
If this problem still occurs with 2.1.2, please let me know [1].<br>
<br>
Thanks!<br>
<br>
[1]: <a href="http://github.com/crmsh/crmsh/issues" target="_blank">http://github.com/crmsh/crmsh/issues</a><br>
<br>
<br>
><br>
> + crm configure primitive STONITH_node-1 stonith:fence_avid_sbb_hw<br>
> + crm configure primitive STONITH_node-0 stonith:fence_avid_sbb_hw params<br>
> delay=10<br>
> + crm configure location dont_run_STONITH_node-1_on_node-1 STONITH_node-1<br>
> -inf: node-1<br>
> + crm configure location dont_run_STONITH_node-0_on_node-0 STONITH_node-0<br>
> -inf: node-0<br>
> Call cib_apply_diff failed (-205): Update was older than existing<br>
> configuration<br>
> ERROR: could not patch cib (rc=205)<br>
> INFO: offending xml diff: <diff format="2"><br>
> <version><br>
> <source admin_epoch="0" epoch="26" num_updates="3"/><br>
> <target admin_epoch="0" epoch="27" num_updates="3"/><br>
> </version><br>
> <change operation="modify" path="/cib"><br>
> <change-list><br>
> <change-attr name="epoch" operation="set" value="27"/><br>
> </change-list><br>
> <change-result><br>
> <cib crm_feature_set="3.0.9" validate-with="pacemaker-2.0" epoch="27"<br>
> num_updates="3" admin_epoch="0" cib-last-written="Thu Feb 5 14:56:09 2015"<br>
> have-quorum="1" dc-uuid="1"/><br>
> </change-result><br>
> </change><br>
> <change operation="create" path="/cib/configuration/constraints"<br>
> position="1"><br>
> <rsc_location id="dont_run_STONITH_node-0_on_node-0"<br>
> rsc="STONITH_node-0" score="-INFINITY" node="node-0"/><br>
> </change><br>
> </diff><br>
><br>
> After that pacemaker stopped on the node on which the script was run.<br>
><br>
> Thank you,<br>
> Kostya<br>
> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
--<br>
// Kristoffer Grönlund<br>
// <a href="mailto:kgronlund@suse.com">kgronlund@suse.com</a><br>
</blockquote></div>