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: >>> >>> [EMAIL PROTECTED]:/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> >>> >>> [EMAIL PROTECTED]:/etc/xen# crm_resource -D -t primitive -r hbtest1a >>> Error performing operation: Update does not conform to the configured >>> schema/DTD >>> >>> [EMAIL PROTECTED]:/etc/xen# crm_resource -W -r hbtest1a >>> resource hbtest1a is NOT running >>> >>> >>> How Do I get rid of them ? >>> >>> TIA, >>> Bruno >>> >>> >> >> >> _______________________________________________ >> Pacemaker mailing list >> [email protected] >> http://list.clusterlabs.org/mailman/listinfo/pacemaker > > > _______________________________________________ > Pacemaker mailing list > [email protected] > http://list.clusterlabs.org/mailman/listinfo/pacemaker _______________________________________________ Pacemaker mailing list [email protected] http://list.clusterlabs.org/mailman/listinfo/pacemaker
