L3 HA: check scripts are written after keepalived is (re)started
Bug #1674780 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Ihar Hrachyshka |
Bug Description
Code inspection showed that L3 HA implementation outputs config file for keepalived; then (re)starts the daemon, and only then attempts to write check scripts. It is a race condition vector that would show up if it would take it longer for the agent to write the check scripts; or if the agent would fail to write them at all due to some other bug. In which case, the daemon and the router may have fallen back to backup state.
We should first prepare all files, then (re)start keepalived.
Changed in neutron: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
tags: | added: l3-ha |
To post a comment you must log in.
Low importance because it doesn't seem like an actual production issue (the check scripts are executed twice with 2 sec interval before considering it a failure; and script write should not take long).