On Mon, Dec 7, 2009 at 12:27 PM, Andrew Beekhof <and...@beekhof.net> wrote:
> On Mon, Dec 7, 2009 at 12:14 PM, Colin <colin....@gmail.com> wrote:
>> On Mon, Dec 7, 2009 at 12:07 PM, Andrew Beekhof <and...@beekhof.net> wrote:
>>> On Mon, Dec 7, 2009 at 11:10 AM, Colin <colin....@gmail.com> wrote:
>>>>>  # crm configure delete <resource-id>
>>>>
>>>> Thanks, that did the trick — it recursively deletes everything
>>>> connected to the resource.
>>>>
>>>> Wonder why crm_resource —delete doesn't do the same thing…
>>>
>>> Its not trying to be clever.
>>> It does only what you ask it to do.
>>
>> So what is the conceptual difference between asking to delete a
>> resource via "crm configure delete" and via "crm_resource —delete"?
>
> One magically deletes everything.
> The other just tries to delete what you tell it to.

Let me rephrase that question: Why do two interfaces for one and the
same thing behave differently? There must be some conceptional
rationale...

>> (Is there any case where the latter will actually work?)
>
> Yes, when there are no constraints referencing the resource.

Ok, it's the constraints, not the dynamic part of the cib.

Thanks, Colin

_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to