]> git.proxmox.com Git - pve-ha-manager.git/commit
fix infinite started <=> migrate cycle
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Feb 2016 07:33:59 +0000 (08:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Feb 2016 11:13:20 +0000 (12:13 +0100)
commit660596ceb816abd8717c1079a48d50cd8e179bff
tree4e9a59314b6b3902af6fe9fff7ebf6bd5b6e403f
parent31921472d01fa9f6227868fdcb25697c96cc4ad7
fix infinite started <=> migrate cycle

If we get an 'EWRONG_NODE' error from the migration we have no sane
way out. If we place it then in the started state we also get the
'EWRONG_NODE' error again and it even will place the service in
the migration state again (when it's not restricted by a group) and
thus result in an infinite started <=> migrate cycle.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Manager.pm
src/test/test-service-command7/log.expect [new file with mode: 0644]