[Pacemaker] Dependency Loop Errors in Log

Bobbie Lind blind at sms-fed.com
Wed Aug 10 06:31:56 EDT 2011


> Here is the relevant snippet of my configuration that shows the location
>> and colocation set up.  As well as what I *think* I am asking it to do.
>>
>> [...snip...]
>>
>>
>> ** Ensuring that the resources from one failover node do not start up on
>> the other nodes giving -500 points.
>> ** failover pairs are MDSgroup, OSS1/OSS3, and OSS2/OSS4
>> colocation colocMDSOSS1 -500: anchorOSS1 MDSgroup
>> colocation colocMDSOSS2 -500: anchorOSS2 MDSgroup
>> colocation colocMDSOSS3 -500: anchorOSS3 MDSgroup
>> colocation colocMDSOSS4 -500: anchorOSS4 MDSgroup
>> colocation colocOSS1MDS -500: MDSgroup anchorOSS1
>> colocation colocOSS2MDS -500: MDSgroup anchorOSS2
>> colocation colocOSS3MDS -500: MDSgroup anchorOSS3
>> colocation colocOSS4MDS -500: MDSgroup anchorOSS4
>> colocation colocOSS2OSS1 -500: anchorOSS1 anchorOSS2
>> colocation colocOSS4OSS1 -500: anchorOSS1 anchorOSS4
>> colocation colocOSS1OSS2 -500: anchorOSS2 anchorOSS1
>> colocation colocOSS3OSS2 -500: anchorOSS2 anchorOSS3
>> colocation colocOSS2OSS3 -500: anchorOSS3 anchorOSS2
>> colocation colocOSS4OSS3 -500: anchorOSS3 anchorOSS4
>> colocation colocOSS1OSS4 -500: anchorOSS4 anchorOSS1
>> colocation colocOSS3OSS4 -500: anchorOSS4 anchorOSS3
>>
>> [...snip...]
>>
>
> You can't have bidirectional colocation, i.e.. either specify "colocation
> colocMDSOSS1 -500: anchorOSS1 MDSgroup" or "colocation colocOSS1MDS -500:
> MDSgroup anchorOSS1", but not both.  The dependency loop error means
> pacemaker is tossing one of these away.  For some more detail check the
> Resource Constraints chapter of Pacemaker explained (
> http://www.clusterlabs.org/**doc/en-US/Pacemaker/1.1/html/**
> Pacemaker_Explained/<http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/>)
> or the mailing list archives (this has come up a few times in recent
> memory).
>


Thanks for your quick reply.

I knew something was amiss with my configuration.  I originally wasn't sure
if colocation was bidirectional or not.

Bobbie Lind
Systems Engineer
*Solutions Made Simple, Inc (SMSi)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110810/6d8f30a7/attachment-0003.html>


More information about the Pacemaker mailing list