[Pacemaker] BUG: is-managed='true' moves resources around

Rasto Levrinc rasto.levrinc at linbit.com
Wed Dec 16 08:10:22 UTC 2009


On Wed, December 16, 2009 8:26 am, Lars Marowsky-Bree wrote:
> On 2009-12-15T17:37:27, Rasto Levrinc <rasto.levrinc at linbit.com> wrote:
>
>
>> So I have a group with two dummy resources that are both unmanaged but
>> running. The group has colocation constraint with score -INFINITY with
>> the third dummy resource. The group resources are running on one node
>> and the third dummy resource on the other.
>>
>> So far so good.
>>
>>
>> Now I set the first resource in the group to be managed by pacemaker
>> and all managed resources decide to move to the opposite nodes. This I
>> would not expect. Resource stickiness is set. If I reverse the
>> colocation constraint (exchange "rsc" and "with-rsc") it works ok.
>>
>> xml is attached.
>
>> <crm_config>
>> <cluster_property_set id="cib-bootstrap-options">
>> <nvpair id="cib-bootstrap-options-default-resource-stickiness"
>> name="default-resource-stickiness" value="100"/> <nvpair
>> id="cib-bootstrap-options-expected-quorum-votes"
>> name="expected-quorum-votes" value="2"/> <nvpair
>> id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled"
>> value="false"/> </cluster_property_set>
>> </crm_config>
>>
>
> That's not a full configuration, is it? Otherwise, it would have a
> dc-version element and tell us which software you're actually running ;-)
>
>

It's cibadmin -Ql output. I have no idea where did the dc-version go. :)
Anyway I could reproduce it with 1.0.5 and 1.0.6

Here are the missing lines.
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>

Rasto


-- 
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.






More information about the Pacemaker mailing list