Commit 2069490
Revert "[HA] Do not add initial state change delay in HA router"
This reverts commit c20f2e5.
The fix of bug #1945512 reintroduced bug #1837635 as after
the initial backup state ha router can transition to
'primary' state on multiple hosts and due to this
delay multiple routers get into 'active' ha_state even
if one of the host quickly transition to backup after
the primary state.
The issue got visible since ha router fullstack tests
are added as part of [1].
[1] https://review.opendev.org/c/openstack/neutron/+/917429
Related-Bug: #1837635
Related-Bug: #1945512
Related-Bug: #2083609
Change-Id: I83b53a07362861da98b8361dafd95e94e5048322
(cherry picked from commit a368995)
Conflicts:
neutron/agent/l3/ha.py
neutron/tests/unit/agent/l3/test_agent.py
(cherry picked from commit f30d7c7)1 parent dcaf6a3 commit 2069490
2 files changed
+2
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
82 | | - | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 90 | | |
102 | 91 | | |
103 | 92 | | |
| |||
106 | 95 | | |
107 | 96 | | |
108 | 97 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 98 | | |
117 | 99 | | |
118 | 100 | | |
| |||
166 | 148 | | |
167 | 149 | | |
168 | 150 | | |
169 | | - | |
| 151 | + | |
170 | 152 | | |
171 | 153 | | |
172 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 272 | + | |
281 | 273 | | |
282 | 274 | | |
283 | 275 | | |
| |||
2577 | 2569 | | |
2578 | 2570 | | |
2579 | 2571 | | |
2580 | | - | |
2581 | | - | |
2582 | | - | |
2583 | | - | |
2584 | | - | |
2585 | | - | |
2586 | | - | |
2587 | | - | |
2588 | | - | |
2589 | | - | |
2590 | | - | |
2591 | | - | |
2592 | | - | |
2593 | | - | |
2594 | | - | |
2595 | 2572 | | |
2596 | 2573 | | |
2597 | 2574 | | |
| |||
0 commit comments