Skip to content

Commit

Permalink
Medium: pengine: Correctly perform partial migrations when node's una…
Browse files Browse the repository at this point in the history
…me is not equal to the id.

The migrate_source and migrate_target metadata attributes for
the migration operations represents the node's uname, not the
corosync id.  The node's id was being used when detecting
a partial migration, causing partial migrations to fail
when uname!=id.
  • Loading branch information
davidvossel committed Jan 15, 2014
1 parent b48276b commit b578680
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/pengine/unpack.c
Expand Up @@ -2230,8 +2230,6 @@ unpack_rsc_migration(resource_t *rsc, node_t *node, xmlNode *xml_op, pe_working_
}

} else { /* Pending or complete but erased */
node_t *target = pe_find_node_id(data_set->nodes, migrate_target);

if (target && target->details->online) {
pe_rsc_trace(rsc, "Marking active on %s %p %d", migrate_target, target,
target->details->online);
Expand Down

0 comments on commit b578680

Please sign in to comment.