[Pacemaker] Re: Pacemaker 0.7.3 won't let me delete resources
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Sep 25 15:34:56 UTC 2008
On Thu, Sep 25, 2008 at 05:03:37PM +0200, Andrew Beekhof wrote:
>
> On Sep 25, 2008, at 3:48 PM, Bruno Voigt wrote:
>
>> Ok, I just found out, that I have to delete the constraints before.
>> A better error message would be great.
A bit of advertisement for the cli (I need guniea pigs too :)
If you use the new CRM CLI interface (aka crm), it will delete
all the constraints which reference the resource you want to
delete:
# crm
crm(live) # configure delete hbtest1a
or:
# crm configure delete hbtest1a
> Its enforced by the XML schema - and it's errors are notoriously bad.
> All the cluster knows is that the schema rejected the change.
and unfortunately it doesn't look like it can be easily fixed :(
>>
>>
>> Bruno Voigt wrote:
>>> I want to delete a (non started) resource,
>>> but my requests are rejected:
>>>
>>> root at xen20b:/etc/xen# cibadmin -D -X '<primitive id="hbtest1a"
>>> class="ocf" type="XenDRBD" provider="heartbeat"/>'
>>> Call cib_delete failed (-47): Update does not conform to the configured
>>> schema/DTD
>>> <null>
>>>
>>> root at xen20b:/etc/xen# crm_resource -D -t primitive -r hbtest1a
>>> Error performing operation: Update does not conform to the configured
>>> schema/DTD
>>>
>>> root at xen20b:/etc/xen# crm_resource -W -r hbtest1a
>>> resource hbtest1a is NOT running
>>>
>>>
>>> How Do I get rid of them ?
>>>
>>> TIA,
>>> Bruno
>>>
>>>
>>
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at clusterlabs.org
>> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
More information about the Pacemaker
mailing list