Commit 4ea86ce
committed
Ensure LB with HM rechecks member status after re-enable
This patch fixes an issue where disabling a LoadBalancer member
sets its status to ERROR instead of OFFLINE.
While in the ERROR state, re-enabling the member does not update
its status, and the member is not reintegrated into the "vips" field
of the LoadBalancer row in the OVN NB database. As a result, the
Health Monitor does not resume its checks on the member.
This patch ensures that re-enabled members are correctly reintegrated
and that health checks are properly resumed.
Closes-bug: #2112110
Change-Id: If2ca76df87c0f5a713604212ed6cb77792d0010c1 parent 84d6dfc commit 4ea86ce
File tree
3 files changed
+33
-11
lines changed- ovn_octavia_provider
- tests
- functional
- unit
3 files changed
+33
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2795 | 2795 | | |
2796 | 2796 | | |
2797 | 2797 | | |
2798 | | - | |
2799 | | - | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
2800 | 2806 | | |
2801 | 2807 | | |
2802 | 2808 | | |
| |||
2815 | 2821 | | |
2816 | 2822 | | |
2817 | 2823 | | |
| 2824 | + | |
| 2825 | + | |
2818 | 2826 | | |
2819 | 2827 | | |
2820 | 2828 | | |
2821 | 2829 | | |
2822 | 2830 | | |
2823 | | - | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
2824 | 2836 | | |
2825 | 2837 | | |
2826 | 2838 | | |
| |||
3983 | 3995 | | |
3984 | 3996 | | |
3985 | 3997 | | |
3986 | | - | |
3987 | | - | |
3988 | | - | |
| 3998 | + | |
| 3999 | + | |
3989 | 4000 | | |
3990 | 4001 | | |
3991 | 4002 | | |
| |||
4130 | 4141 | | |
4131 | 4142 | | |
4132 | 4143 | | |
4133 | | - | |
4134 | | - | |
| 4144 | + | |
| 4145 | + | |
| 4146 | + | |
4135 | 4147 | | |
| 4148 | + | |
| 4149 | + | |
4136 | 4150 | | |
4137 | 4151 | | |
4138 | 4152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
994 | | - | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
995 | 997 | | |
996 | 998 | | |
997 | 999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6051 | 6051 | | |
6052 | 6052 | | |
6053 | 6053 | | |
| 6054 | + | |
6054 | 6055 | | |
6055 | 6056 | | |
6056 | 6057 | | |
| |||
6059 | 6060 | | |
6060 | 6061 | | |
6061 | 6062 | | |
| 6063 | + | |
6062 | 6064 | | |
6063 | 6065 | | |
6064 | 6066 | | |
| |||
6087 | 6089 | | |
6088 | 6090 | | |
6089 | 6091 | | |
6090 | | - | |
| 6092 | + | |
| 6093 | + | |
6091 | 6094 | | |
6092 | 6095 | | |
6093 | 6096 | | |
| |||
6169 | 6172 | | |
6170 | 6173 | | |
6171 | 6174 | | |
6172 | | - | |
| 6175 | + | |
6173 | 6176 | | |
6174 | 6177 | | |
6175 | 6178 | | |
6176 | 6179 | | |
6177 | 6180 | | |
6178 | 6181 | | |
| 6182 | + | |
6179 | 6183 | | |
6180 | 6184 | | |
6181 | 6185 | | |
| |||
6472 | 6476 | | |
6473 | 6477 | | |
6474 | 6478 | | |
| 6479 | + | |
6475 | 6480 | | |
6476 | 6481 | | |
6477 | 6482 | | |
| |||
6596 | 6601 | | |
6597 | 6602 | | |
6598 | 6603 | | |
| 6604 | + | |
6599 | 6605 | | |
6600 | 6606 | | |
6601 | 6607 | | |
| |||
0 commit comments