9fef8807cf
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
13 lines
500 B
YAML
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.
|