Skip to content

Commit

Permalink
High: PE: Bug lf#1959 - Fail unmanaged resources should not prevent o…
Browse files Browse the repository at this point in the history
…ther services from shutting down

Mercurial revision: b62d71c6786ce621067e73d818e641eff69a6f24
  • Loading branch information
beekhof committed Jun 15, 2010
1 parent 4219763 commit 07976fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pengine/graph.c
Expand Up @@ -675,6 +675,16 @@ should_dump_input(int last_action, action_t *action, action_wrapper_t *wrapper)
wrapper->action->id, wrapper->action->uuid, action->uuid);
return FALSE;

} else if(wrapper->action->rsc
&& wrapper->action->rsc != action->rsc
&& is_set(wrapper->action->rsc->flags, pe_rsc_failed)
&& is_not_set(wrapper->action->rsc->flags, pe_rsc_managed)
&& strstr(wrapper->action->uuid, "_stop_0")) {
crm_warn("Ignoring requirement that %s comeplete before %s:"
" unmanaged failed resources cannot prevent shutdown",
wrapper->action->uuid, action->uuid);
return FALSE;

} else if(wrapper->action->dumped || should_dump_action(wrapper->action)) {
do_crm_log_unlikely(log_dump, "Input (%d) %s should be dumped for %s",
wrapper->action->id, wrapper->action->uuid, action->uuid);
Expand Down

0 comments on commit 07976fe

Please sign in to comment.