From b578680e4a16d915c130d5928cf9d9af296f2414 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Wed, 15 Jan 2014 10:35:22 -0600 Subject: [PATCH] Medium: pengine: Correctly perform partial migrations when node's uname 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. --- lib/pengine/unpack.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c index 39679e5e21b..42b5cf469e8 100644 --- a/lib/pengine/unpack.c +++ b/lib/pengine/unpack.c @@ -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);