Public bug reported:
Hi
There is a bug that master/slave resources are not always monitored. It is
already fixed in pacemaker trunk, but not in libpengine3 1.1.6-2ubuntu3. I
patched lib/pengine/unpack.c
1391c1391,1395
< } else if(safe_str_eq(task, CRMD_ACTION_START)) {
---
> } else if(safe_str_eq(task, CRMD_ACTION_START) ||
> safe_str_eq(task, CRMD_ACTION_MIGRATED) ||
> safe_str_eq(task, CRMD_ACTION_PROMOTE) ||
> safe_str_eq(task, CRMD_ACTION_DEMOTE)) {
>
With this monitoring also works if resource has been promoted. This bug
can cause much trouble as a failed service wont be recognized.
Best regards
Achim
** Affects: pacemaker (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1227580
Title:
Monitoring in Master state doesn't always work
Status in “pacemaker” package in Ubuntu:
New
Bug description:
Hi
There is a bug that master/slave resources are not always monitored. It is
already fixed in pacemaker trunk, but not in libpengine3 1.1.6-2ubuntu3. I
patched lib/pengine/unpack.c
1391c1391,1395
< } else if(safe_str_eq(task, CRMD_ACTION_START)) {
---
> } else if(safe_str_eq(task, CRMD_ACTION_START) ||
> safe_str_eq(task, CRMD_ACTION_MIGRATED) ||
> safe_str_eq(task, CRMD_ACTION_PROMOTE) ||
> safe_str_eq(task, CRMD_ACTION_DEMOTE)) {
>
With this monitoring also works if resource has been promoted. This
bug can cause much trouble as a failed service wont be recognized.
Best regards
Achim
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1227580/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp