<div dir="ltr">No reason. Need to know which combination is expected to work.<div>using 0.9.26 with new 1.1.10 pacemaker</div><div>and 0.9.90 with old pacemaker has issues in resource deletion.</div><div><br></div><div>Below is the commands executed on 0.9.26 with 1.1.10 pacemaker </div>
<div><br></div><div><div>[root@vsanqa11 tmp]# rpm -qa | grep pcs; rpm -qa | grep pacemaker; rpm -qa | grep corosync; rpm -qa | grep libqb</div><div>pcs-0.9.26-10.el6.noarch</div><div>pacemaker-cli-1.1.10-14.el6_5.3.x86_64</div>
<div>pacemaker-libs-1.1.10-14.el6_5.3.x86_64</div><div>pacemaker-1.1.10-14.el6_5.3.x86_64</div><div>pacemaker-cluster-libs-1.1.10-14.el6_5.3.x86_64</div><div>corosynclib-1.4.1-17.el6_5.1.x86_64</div><div>corosync-1.4.1-17.el6_5.1.x86_64</div>
<div>libqb-devel-0.16.0-2.el6.x86_64</div><div>libqb-0.16.0-2.el6.x86_64</div><div><br></div><div><br></div><div>[root@vsanqa11 tmp]# pcs status</div><div>Last updated: Mon May 26 22:39:42 2014</div><div>Last change: Mon May 26 22:39:01 2014 via cibadmin on vsanqa11</div>
<div>Stack: cman</div><div>Current DC: vsanqa11 - partition with quorum</div><div>Version: 1.1.10-14.el6_5.3-368c726</div><div>2 Nodes configured</div><div>2 Resources configured</div><div><br></div><div><br></div><div>Online: [ vsanqa11 vsanqa12 ]</div>
<div><br></div><div>Full list of resources:</div><div><br></div><div> Master/Slave Set: ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a [vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a]</div><div>     Masters: [ vsanqa12 ]</div><div>     Slaves: [ vsanqa11 ]</div>
<div><br></div><div><br></div><div><br></div><div>[root@vsanqa11 tmp]# pcs config</div><div>Corosync Nodes:</div><div><br></div><div>Pacemaker Nodes:</div><div> vsanqa11 vsanqa12</div><div><br></div><div>Resources:</div><div>
<br></div><div>Location Constraints:</div><div>  Resource: ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>    Enabled on: vsanqa11</div><div>    Enabled on: vsanqa12</div><div>  Resource: vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div>
<div>    Enabled on: vsanqa11</div><div>    Enabled on: vsanqa12</div><div>Ordering Constraints:</div><div>Colocation Constraints:</div><div><br></div><div>Cluster Properties:</div><div> dc-version: 1.1.10-14.el6_5.3-368c726</div>
<div> cluster-infrastructure: cman</div><div> last-lrm-refresh: 1401098102</div><div> expected-quorum-votes: 2</div><div> stonith-enabled: false</div><div> no-quorum-policy: ignore</div><div><br></div><div><br></div><div>
<br></div><div>[root@vsanqa11 tmp]# pcs resource show ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>Resource: ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>  cluster_uuid: 9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div>
<div>  clone-max: 2</div><div>  globally-unique: false</div><div>  target-role: started</div><div>  op monitor interval=31s role=Slave timeout=100s</div><div>[root@vsanqa11 tmp]# pcs resource show vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div>
<div>Resource: vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>  cluster_uuid: 9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>  op monitor interval=31s role=Slave timeout=100s</div><div><br></div><div><br></div><div>[root@vsanqa11 tmp]# pcs resource delete ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div>
<div>ERROR: Unable to update cib</div><div>Call cib_replace failed (-203): Update does not conform to the configured schema</div><div><cib admin_epoch="0" cib-last-written="Mon May 26 22:40:45 2014" crm_feature_set="3.0.7" dc-uuid="vsanqa11" epoch="10550" have-quorum="1" num_updates="1" update-client="cibadmin" update-origin="vsanqa11" validate-with="pacemaker-1.2"></div>
<div>  <configuration></div><div>    <crm_config></div><div>      <cluster_property_set id="cib-bootstrap-options"></div><div>        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.10-14.el6_5.3-368c726"/></div>
<div>        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="cman"/></div><div>        <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1401098102"/></div>
<div>        <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/></div><div>        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/></div>
<div>        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/></div><div>      </cluster_property_set></div><div>    </crm_config></div>
<div>    <nodes></div><div>      <node id="vsanqa11" uname="vsanqa11"/></div><div>      <node id="vsanqa12" uname="vsanqa12"/></div><div>    </nodes></div><div>
    <resources/></div><div>    <constraints></div><div>      <rsc_location id="location-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa11-INFINITY" node="vsanqa11" rsc="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" score="INFINITY"/></div>
<div>      <rsc_location id="location-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa12-INFINITY" node="vsanqa12" rsc="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" score="INFINITY"/></div>
<div>      <rsc_location id="location-ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa11-INFINITY" node="vsanqa11" rsc="ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" score="INFINITY"/></div>
<div>      <rsc_location id="location-ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa12-INFINITY" node="vsanqa12" rsc="ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" score="INFINITY"/></div>
<div>    </constraints></div><div>    <rsc_defaults></div><div>      <meta_attributes id="rsc_defaults-options"></div><div>        <nvpair id="rsc_defaults-options-resource-stickiness" name="resource-stickiness" value="100"/></div>
<div>        <nvpair id="rsc_defaults-options-timeout" name="timeout" value="100s"/></div><div>      </meta_attributes></div><div>    </rsc_defaults></div><div>  </configuration></div>
<div>  <status></div><div>    <node_state crm-debug-origin="do_update_resource" crmd="online" expected="member" id="vsanqa11" in_ccm="true" join="member" uname="vsanqa11"></div>
<div>      <transient_attributes id="vsanqa11"></div><div>        <instance_attributes id="status-vsanqa11"></div><div>          <nvpair id="status-vsanqa11-probe_complete" name="probe_complete" value="true"/></div>
<div>          <nvpair id="status-vsanqa11-master-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" name="master-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" value="4"/></div><div>        </instance_attributes></div>
<div>      </transient_attributes></div><div>      <lrm id="vsanqa11"></div><div>        <lrm_resources></div><div>          <lrm_resource id="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" type="vgc-cm-agent.ocf" class="ocf" provider="heartbeat"></div>
<div>            <lrm_rsc_op id="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_last_0" operation_key="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="7:195:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" transition-magic="0:0;7:195:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" call-id="290" rc-code="0" op-status="0" interval="0" last-run="1401169141" last-rc-change="1401169141" exec-time="1103" queue-time="0" op-digest="494c7d757cceae4f35487404ebc12a10"/></div>
<div>            <lrm_rsc_op id="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_monitor_31000" operation_key="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_monitor_31000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="8:195:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" transition-magic="0:0;8:195:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" call-id="293" rc-code="0" op-status="0" interval="31000" last-rc-change="1401169142" exec-time="76" queue-time="0" op-digest="f81bd1d7870f6bb69f88312740132d65"/></div>
<div>          </lrm_resource></div><div>        </lrm_resources></div><div>      </lrm></div><div>    </node_state></div><div>    <node_state crm-debug-origin="do_update_resource" crmd="online" expected="member" id="vsanqa12" in_ccm="true" join="member" uname="vsanqa12"></div>
<div>      <transient_attributes id="vsanqa12"></div><div>        <instance_attributes id="status-vsanqa12"></div><div>          <nvpair id="status-vsanqa12-probe_complete" name="probe_complete" value="true"/></div>
<div>          <nvpair id="status-vsanqa12-master-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" name="master-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" value="5"/></div><div>        </instance_attributes></div>
<div>      </transient_attributes></div><div>      <lrm id="vsanqa12"></div><div>        <lrm_resources></div><div>          <lrm_resource id="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a" type="vgc-cm-agent.ocf" class="ocf" provider="heartbeat"></div>
<div>            <lrm_rsc_op id="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_last_0" operation_key="vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="11:196:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" transition-magic="0:0;11:196:0:79ecdaeb-e637-4fdf-b8e8-ebfc7e2eca39" call-id="275" rc-code="0" op-status="0" interval="0" last-run="1401169174" last-rc-change="1401169174" exec-time="196" queue-time="0" op-digest="494c7d757cceae4f35487404ebc12a10"/></div>
<div>          </lrm_resource></div><div>        </lrm_resources></div><div>      </lrm></div><div>    </node_state></div><div>  </status></div><div></cib></div><div><br></div><div><br>
</div><div>****deleted on base (non clone) resource works however it stays in orphaned state for few seconds</div><div><br></div><div>[root@vsanqa11 tmp]# pcs resource delete vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a; pcs status</div>
<div>Removing Constraint - location-ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa11-INFINITY</div><div>Removing Constraint - location-ms-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa12-INFINITY</div><div>Removing Constraint - location-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa11-INFINITY</div>
<div>Removing Constraint - location-vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a-vsanqa12-INFINITY</div><div>Deleting Resource - vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a</div><div>Last updated: Mon May 26 22:41:08 2014</div><div>
Last change: Mon May 26 22:41:07 2014 via cibadmin on vsanqa11</div><div>Stack: cman</div><div>Current DC: vsanqa11 - partition with quorum</div><div>Version: 1.1.10-14.el6_5.3-368c726</div><div>2 Nodes configured</div><div>
0 Resources configured</div><div><br></div><div><br></div><div>Online: [ vsanqa11 vsanqa12 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> vha-9fc36888-cf2a-417a-907c-db3f5e9b7a8a       (ocf::heartbeat:vgc-cm-agent.ocf):       ORPHANED Master [ vsanqa11 vsanqa12 ]</div>
<div><br></div><div>[root@vsanqa11 tmp]# pcs status</div><div>Last updated: Mon May 26 22:41:18 2014</div><div>Last change: Mon May 26 22:41:07 2014 via cibadmin on vsanqa11</div><div>Stack: cman</div><div>Current DC: vsanqa11 - partition with quorum</div>
<div>Version: 1.1.10-14.el6_5.3-368c726</div><div>2 Nodes configured</div><div>0 Resources configured</div><div><br></div><div><br></div><div>Online: [ vsanqa11 vsanqa12 ]</div><div><br></div><div>Full list of resources:</div>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 11:01 AM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 27 May 2014, at 2:34 pm, K Mehta <<a href="mailto:kiranmehta1981@gmail.com">kiranmehta1981@gmail.com</a>> wrote:<br>
<br>
> I have seen that 0.9.26 works with 1.1.8 pacemaker and 0.9.90 works with 1.1.10 pacemaker.<br>
> However, with 0.9.90 pcs and 1.1.8 pacemaker, pcs delete resource <multistate resource name> fails with error CIB update failed because of schema error<br>
<br>
</div>Any specific reason to stay on 1.1.8?<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Tue, May 27, 2014 at 5:28 AM, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<br>
><br>
> On 26 May 2014, at 5:15 pm, K Mehta <<a href="mailto:kiranmehta1981@gmail.com">kiranmehta1981@gmail.com</a>> wrote:<br>
><br>
> > pcs versions 0.9.26 and 0.9.90<br>
> > pacemaker versions 1.1.8 and 1.1.10<br>
> ><br>
> > Which pcs versions are expected to work with which pacemaker versions ?<br>
><br>
> I think for the most part, all versions will work together.<br>
> There may be the odd command that requires a flag exposed by newer versions of pacemaker, but that should be minimal.<br>
><br>
> ><br>
> ><br>
> > Regards,<br>
> >  Kiran<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>
> _______________________________________________<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>
> _______________________________________________<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>
</div></div><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></blockquote></div><br></div>