]> git.proxmox.com Git - pve-ha-manager.git/commit - src/PVE/HA/LRM.pm
exec_resource_agent: process error state early
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Feb 2016 07:33:58 +0000 (08:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Feb 2016 09:30:54 +0000 (10:30 +0100)
commitd338a56fea0b16bb3506e9fb50b4982a78652c93
tree9b8a825504a9a31b6d74a413a0d3089390250cde
parent35cbb764afaa1b48a8977a8ce4619cbd4901ea9c
exec_resource_agent: process error state early

We want to give the error state priority over EWRONG_NODE as a
service may be in the error state because of EWRONG_NODE

Change the error message a bit as we now can not distinguish
running and stopped services.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/LRM.pm
src/test/test-resource-failure5/log.expect