masakari/releasenotes/notes/coordination_for_host_notification-a156ec5a5839a781.yaml
Mitya_Eremeev 9fef8807cf DLM to fix host notification race.
Two concurrent events that host is down
might be accepted by different instances of API
which triggers two evacuation workflows for instances.
Patch introduces distributed lock for creation of
host type notifications. It solves the issue.

Closes-Bug: 1961110
Change-Id: Ie8f10b14f29a8548181560cd8a26b4dc79afc3dc
2022-07-19 09:31:47 +00:00

13 lines
500 B
YAML

---
fixes:
- |
Fixes an issue which triggers two recovery workflows for the same
host failure. `LP#1961110
<https://bugs.launchpad.net/masakari/+bug/1961110>`__
It introduces distributed lock for Masakari-api services when handle
the concurrent notifications for the same host failure from multiple
Masakari-hostmonitor services. To enable coordination, the user needs
to set the new configuration option ``[coordination]backend_url``,
which specifies the backend.