[pve-devel] [PATCH ha-manager 6/6] fixup node when failing migration because of wrong node
Dietmar Maurer
dietmar at proxmox.com
Tue Feb 9 12:29:38 CET 2016
This is dangerous, and only allowed if you fence the other node.
> - &$change_service_state($self, $sid, 'started', node => $sd->{node});
> + if ($exit_code == EWRONG_NODE) {
> + &$change_service_state($self, $sid, 'started', node => $cd->{node});
> + } else {
> + &$change_service_state($self, $sid, 'started', node => $sd->{node});
> + }
More information about the pve-devel
mailing list