[Linux-HA] Group resource does not become Master

Andrew Beekhof beekhof at gmail.com
Fri Nov 16 07:40:50 MST 2007


On Nov 16, 2007, at 2:52 PM, HIDEO YAMAUCHI wrote:

> Hi Andrew,
>
> OK.
> I look forward to a revision.

Fixed.

The relevant commits are:
   http://hg.beekhof.net/lha/crm-dev/rev/cc23836a1fb3
and
   http://hg.beekhof.net/lha/crm-dev/rev/c7f778b5c26e


Thanks for your help testing!

>
>
> Regards,
> Hideo Yamauchi.
>
>
> --- Andrew Beekhof <beekhof at gmail.com> wrote:
>
>> I see the problem...
>>
>> The master tries to do:
>> 	chosen = child_rsc->allocated_to;
>>
>> Which is never set for complex resources.
>>
>> Its probably time I created an API call to return that info.  Give me
>> a few minutes to get it sorted out...
>>
>>
>> On Nov 16, 2007, at 1:20 PM, HIDEO YAMAUCHI wrote:
>>
>>> Hi Andrew,
>>>
>>> Thank you.
>>>
>>> Hideo Yamauchi.
>>>
>>>
>>> --- Andrew Beekhof <beekhof at gmail.com> wrote:
>>>
>>>>
>>>> On Nov 16, 2007, at 4:03 AM, HIDEO YAMAUCHI wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I confirmed a Master/Slave function.
>>>>> I confirmed it with the development version.
>>>>>
>>>>> When there was one resource in Master/Slave, Master was set
>>>>> definitely.
>>>>>
>>>>> ============
>>>>> Last updated: Fri Nov 16 11:31:02 2007
>>>>> Current DC: rh44-2 (86600d98-4564-433a-8ad7-aca0ca59382a)
>>>>> 2 Nodes configured.
>>>>> 2 Resources configured.
>>>>> ============
>>>>>
>>>>> Node: rh44-1 (782b1222-d1b9-4993-8f0d-b8b67801a2c8): online
>>>>> Node: rh44-2 (86600d98-4564-433a-8ad7-aca0ca59382a): online
>>>>>
>>>>> Resource Group: test
>>>>>  resource_1  (heartbeat::ocf:IPaddr):        Started rh44-1
>>>>> Master/Slave Set: ms-sf
>>>>>  master_slave_Stateful:0     (heartbeat::ocf:Stateful):
>>>>> Started rh44-2
>>>>>  master_slave_Stateful:1     (heartbeat::ocf:Stateful):
>>>>> Master rh44-1
>>>>>
>>>>>
>>>>> However, I do not become Master when I make a resource the group.
>>>>
>>>> Interesting... I'll look into this today
>>>>
>>>>>
>>>>>
>>>>> ============
>>>>> Last updated: Fri Nov 16 11:35:03 2007
>>>>> Current DC: rh44-1 (782b1222-d1b9-4993-8f0d-b8b67801a2c8)
>>>>> 2 Nodes configured.
>>>>> 2 Resources configured.
>>>>> ============
>>>>>
>>>>> Node: rh44-1 (782b1222-d1b9-4993-8f0d-b8b67801a2c8): online
>>>>> Node: rh44-2 (86600d98-4564-433a-8ad7-aca0ca59382a): online
>>>>>
>>>>> Resource Group: test
>>>>>  resource_1  (heartbeat::ocf:IPaddr):        Started rh44-1
>>>>> Master/Slave Set: ms-sf
>>>>>  Resource Group: grp_ms_sf:0
>>>>>      master_slave_Stateful:0 (heartbeat::ocf:Stateful):
>>>>> Started rh44-2
>>>>>  Resource Group: grp_ms_sf:1
>>>>>      master_slave_Stateful:1 (heartbeat::ocf:Stateful):
>>>>> Started rh44-1
>>>>>
>>>>>
>>>>> Will this be a bug?
>>>>>
>>>>> (I attached the information of two patterns.)
>>>>>
>>>>> Regards,
>>>>> Hideo Yamauchi.
>>>>> <
>>>>> report_ok
>>>>> .tar
>>>>> .gz
>>>>>>
>>>>> <
>>>>> report_problem
>>>>> .tar.gz>_______________________________________________
>>>>> Linux-HA mailing list
>>>>> Linux-HA at lists.linux-ha.org
>>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>>>> See also: http://linux-ha.org/ReportingProblems
>>>>
>>>> _______________________________________________
>>>> Linux-HA mailing list
>>>> Linux-HA at lists.linux-ha.org
>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>>> See also: http://linux-ha.org/ReportingProblems
>>>>
>>>
>>> _______________________________________________
>>> Linux-HA mailing list
>>> Linux-HA at lists.linux-ha.org
>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>> See also: http://linux-ha.org/ReportingProblems
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA at lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



More information about the Linux-HA mailing list