On Sat, Feb 26, 2011 at 9:48 AM, Open SA Forum AIS Services mailing
list <[email protected]> wrote:
>
> Hello All,
>
> I have one probably elementary question:
>
> In my configuration I have
>
>   <clone id="fs-clone">
>        <meta_attributes id="fs-clone-meta_attributes">
>          <nvpair id="fs-clone-meta_attributes-interleave" name="interleave" 
> value="true"/>
>          <nvpair id="fs-clone-meta_attributes-ordered" name="ordered" 
> value="true"/>
>        </meta_attributes>
>        <primitive class="ocf" id="fs" provider="heartbeat" type="Filesystem">
>          <instance_attributes id="fs-instance_attributes">
>            <nvpair id="fs-instance_attributes-device" name="device" 
> value="/dev/vgSHARED/lv01"/>
>            <nvpair id="fs-instance_attributes-directory" name="directory" 
> value="/mnt/shared"/>
>            <nvpair id="fs-instance_attributes-fstype" name="fstype" 
> value="ocfs2"/>
>            <nvpair id="fs-instance_attributes-target_role" name="target_role" 
> value="started"/>
>          </instance_attributes>
>          <operations>
>            <op id="fs-monitor-120s" interval="120s" name="monitor"/>
>          </operations>
>          <meta_attributes id="fs-meta_attributes">
>            <nvpair id="fs-meta_attributes-target-role" name="target-role" 
> value="Started"/>
>            <nvpair id="fs-meta_attributes-target_role" name="target_role" 
> value="started"/>
>          </meta_attributes>
>        </primitive>
>      </clone>
>
> crm_resource -L
>  Clone Set: dlmocfs2-clone
>     Stopped: [ dlmocfs2:0 dlmocfs2:1 ]
>  Clone Set: o2cb-clone
>     Stopped: [ o2cb:0 o2cb:1 ]
>  Clone Set: vg_vgSHARED-clone
>     Started: [ b181ple0 b180ple0 ]
>  Clone Set: fs-clone
>     Stopped: [ fs:0 fs:1 ]
>
> And I want to delete the fs-clone
>
> I tried:
>
> crm_resource -D -r "fs-clone" -t clone
> Error performing operation: Update does not conform to the configured 
> schema/DTD
>
> crm_resource -D -r fs-clone -t clone
> Error performing operation: Update does not conform to the configured 
> schema/DTD
>
> I have found in log:
>
> cib: [3602]: ERROR: IDREF attribute then references an unknown ID "fs-clone"
> WARN: cib_perform_op: Updated CIB does not validate against pacemaker-1.2 
> schema/dtd
> WARN: cib_diff_notify: Update (client: cibadmin, call:2): 0.49.11 -> 0.50.1 
> (Update does not conform to the configured schema/DTD)
> WARN: cib_process_request: Operation complete: op cib_delete for section 
> resources (origin=local/cibadmin/2, version=0.49.11): Update does not conform 
> to the configured schema/DTD (rc=-47)
>
> What is wrong?

fs-clone is referenced elsewhere in the configuration (ie.
constraints), you cannot remove it until you remove these references.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to