Andrew-san,
>>> Andrew Beekhof <[EMAIL PROTECTED]> 2007/12/29 23:54 >>>
> can you use hb_report to generate a report covering the testing
period?
> it will contain everything i need to figure out what is going wrong
I cannot get hb_report result since on holiday off now.
Therefore I have looked into the code
> Dec 28 18:18:23 node2 pengine: [4593]: info: native_stop_constraints:
Re-creating actions for imagestorecloneset
crm/pengine/native.c:
static void
native_stop_constraints(
resource_t *rsc, action_t *stonith_op, gboolean is_stonith,
pe_working_set_t *data_set)
{
[snip]
/* find the top-most resource */
parent = rsc->parent;
while(parent != NULL && parent->parent != NULL) {
parent = parent->parent;
}
if(parent) {
crm_info("Re-creating actions for %s", parent->id);
parent->cmds->create_actions(parent, data_set);
> Dec 28 18:18:23 node2 pengine: [4593]: notice: NoRoleChange: Leave
resource imagestoreclone:1 (node2)
void
NoRoleChange(resource_t *rsc, node_t *current, node_t *next,
pe_working_set_t *data_set)
{
[snip]
} else {
stop = stop_action(rsc, current, TRUE);
start = start_action(rsc, next, TRUE);
stop->optional = start->optional;
if(rsc->next_role > RSC_ROLE_STARTED) {
DemoteRsc(rsc, current, start->optional, data_set);
}
StopRsc(rsc, current, start->optional, data_set);
StartRsc(rsc, current, start->optional, data_set);
if(rsc->next_role == RSC_ROLE_MASTER) {
PromoteRsc(rsc, next, start->optional, data_set);
}
if(start->runnable == FALSE) {
rsc->next_role = RSC_ROLE_STOPPED;
} else if(start->optional) {
crm_notice("Leave resource %s\t(%s)",
rsc->id, next->details->uname);
I'm not sure but it seems the above code invokes "stop" action for
remained cloned resource.
> Dec 28 18:18:23 node2 tengine: [4592]: info: send_rsc_command:
Initiating action 75: imagestoreclone:1_pre_notify_stop_0 on node2
Is this correct understanding?
Thank you,
Takekazu Okamoto
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems