-
Dimitris Aragiorgis authored
In case of DRBD, hooks run on both primary (source) and secondary (target) nodes. To get the same behavior for DTS_EXT_MIRROR, where we do not have secondary node, we should explicitly add target node to hooks nodes during instance migration/failover. CheckPrereq() of TLMigrateInstance runs before BuildHooksManager(), thus target_node calculated by Iallocator is available under self._migrater.target_node. Use this value instead of self.op.target_node which can be None. Update NEWS and related doc entries. Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by: Michele Tartara <mtartara@google.com> Reviewed-by: Michele Tartara <mtartara@google.com>
7b5f0674
To find the state of this project's repository at the time of any of these versions, check out the tags.