<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I guess we need some real experts here.<br>
    <br>
    I think it's because you're attempting to delete the resource and
    not the Master.<br>
    Try deleting the Master instead of the resource.<br>
    <br>
    I had a similar problem with a cloned group and solved it by
    un-cloning before deleting the group.<br>
    Maybe un-cloning the multi-state resource could help too.<br>
    It's easy to reproduce.<br>
    <br>
    # pcs resource create resPing ping host_list="10.0.0.1 10.0.0.2" op
    monitor on-fail="restart"<br>
    # pcs resource group add groupPing resPing<br>
    # pcs resource clone groupPing clone-max=3 clone-node-max=1<br>
    # pcs resource<br>
     Clone Set: groupPing-clone [groupPing]<br>
         Started: [ node1 node2 node3 ]<br>
    # pcs resource delete groupPing-clone<br>
    Deleting Resource (and group) - resPing<br>
    Error: Unable to remove resource 'resPing' (do constraints exist?)<br>
    # pcs resource unclone groupPing<br>
    # pcs resource delete groupPing<br>
    Removing group: groupPing (and all resources within group)<br>
    Stopping all resources in group: groupPing...<br>
    Deleting Resource (and group) - resPing<br>
    <br>
    Log:<br>
    Feb 26 15:43:16 node1 cibadmin[2368]:   notice: crm_log_args:
    Invoked: /usr/sbin/cibadmin -o resources -D --xml-text <group
    id="groupPing">#012  <primitive class="ocf" id="resPing"
    provider="pacemaker" type="ping">#012    <instance_attributes
    id="resPing-instance_attributes">#012      <nvpair
    id="resPing-instance_attributes-host_list" name="host_list"
    value="10.0.0.1 10.0.0.2"/>#012   
    </instance_attributes>#012    <operations>#012     
    <op id="resPing-monitor-on-fail-restart" interval="60s"
    name="monitor" on-fail="restart"/>#012   
    </operations>#012  </primi<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Expecting an
    element meta_attributes, got nothing<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Invalid sequence
    in interleave<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Element clone
    failed to validate content<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Element
    resources has extra content: primitive<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Invalid sequence
    in interleave<br>
    Feb 26 15:43:16 node1 cib[1820]:    error: xml_log: Element cib
    failed to validate content<br>
    Feb 26 15:43:16 node1 cib[1820]:  warning: cib_perform_op: Updated
    CIB does not validate against pacemaker-1.2 schema/dtd<br>
    Feb 26 15:43:16 node1 cib[1820]:  warning: cib_diff_notify: Update
    (client: cibadmin, call:2): 0.516.7 -> 0.517.1 (Update does not
    conform to the configured schema)<br>
    Feb 26 15:43:16 node1 stonith-ng[1821]:  warning:
    update_cib_cache_cb: [cib_diff_notify] ABORTED: Update does not
    conform to the configured schema (-203)<br>
    Feb 26 15:43:16 node1 cib[1820]:  warning: cib_process_request:
    Completed cib_delete operation for section resources: Update does
    not conform to the configured schema (rc=-203,
    origin=local/cibadmin/2, version=0.516.7)<br>
    <br>
    <br>
    Frank<br>
    <br>
    <div class="moz-cite-prefix">Am 26.02.2014 15:00, schrieb K Mehta:<br>
    </div>
    <blockquote
cite="mid:CAO1NjqEF1ZQF0JET3uWv8LiS6PKgzE8i6fAy6wzg_ax5d40REw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">Here is the config and output of few commands
        <div><br>
        </div>
        <div>
          <div>[root@sys11 ~]# pcs config</div>
          <div>Cluster Name: kpacemaker1.1</div>
          <div>Corosync Nodes:</div>
          <div><br>
          </div>
          <div>Pacemaker Nodes:</div>
          <div> sys11 sys12</div>
          <div><br>
          </div>
          <div>Resources:</div>
          <div> Master: ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>  Meta Attrs: clone-max=2 globally-unique=false
            target-role=Started</div>
          <div>  Resource: vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8
            (class=ocf provider=heartbeat type=vgc-cm-agent.ocf)</div>
          <div>   Attributes:
            cluster_uuid=de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>   Operations: monitor interval=30s role=Master
            timeout=100s
            (vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-monitor-interval-30s)</div>
          <div>               monitor interval=31s role=Slave
            timeout=100s
            (vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-monitor-interval-31s)</div>
          <div><br>
          </div>
          <div>Stonith Devices:</div>
          <div>Fencing Levels:</div>
          <div><br>
          </div>
          <div>Location Constraints:</div>
          <div>  Resource: ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>    Enabled on: sys11 (score:200)
            (id:location-ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys11-200)</div>
          <div>    Enabled on: sys12 (score:200)
            (id:location-ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys12-200)</div>
          <div>  Resource: vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>    Enabled on: sys11 (score:200)
            (id:location-vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys11-200)</div>
          <div>    Enabled on: sys12 (score:200)
            (id:location-vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys12-200)</div>
          <div>Ordering Constraints:</div>
          <div>Colocation Constraints:</div>
          <div><br>
          </div>
          <div>Cluster Properties:</div>
          <div>
             cluster-infrastructure: cman</div>
          <div> dc-version: 1.1.8-7.el6-394e906</div>
          <div> no-quorum-policy: ignore</div>
          <div> stonith-enabled: false</div>
          <div> symmetric-cluster: false</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource</div>
          <div> Master/Slave Set:
            ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8
            [vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8]</div>
          <div>     Masters: [ sys11 ]</div>
          <div>     Slaves: [ sys12 ]</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource disable
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource</div>
          <div> Master/Slave Set:
            ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8
            [vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8]</div>
          <div>     Stopped: [
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8:0
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8:1 ]</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource delete
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>Removing Constraint -
            location-ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys11-200</div>
          <div>Removing Constraint -
            location-ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys12-200</div>
          <div>Removing Constraint -
            location-vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys11-200</div>
          <div>Removing Constraint -
            location-vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8-sys12-200</div>
          <div>Attempting to stop:
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8...Error: Unable to
            stop: vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8 before
            deleting (re-run with --force to force deletion)</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource delete
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>Attempting to stop:
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8...Error: Unable to
            stop: vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8 before
            deleting (re-run with --force to force deletion)</div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource</div>
          <div> Master/Slave Set:
            ms-de5566b1-c2a3-4dc6-9712-c82bb43f19d8
            [vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8]</div>
          <div>     Stopped: [
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8:0
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8:1 ]</div>
          <div><br>
          </div>
          <div>[root@sys11 ~]# pcs resource delete
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8 --force</div>
          <div>Deleting Resource -
            vha-de5566b1-c2a3-4dc6-9712-c82bb43f19d8</div>
          <div>[root@sys11 ~]# pcs resource</div>
          <div>
            NO resources configured</div>
          <div>[root@sys11 ~]#</div>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>