octavia/octavia
Xing Zhang c7640b90ad
Fix weighted round-robin about UDP listener
'lb_algo rr' in keepalived won't work correctly with weight
for UDP listeners, it should be 'lb_algo wrr'.

'wrr' is superset of 'rr' algorithm, as round-robin is
a specical instance of the weighted round-robin scheduling,
in which all the weights are equal. [1]

Algorithm in HAProxy is set to 'roundrobin', which also support
weights, but in keepalived must be set to 'wrr' to work with
the weighted round-robin scheduling, as it is different to 'rr'.

[1] https://www.keepalived.org/doc/scheduling_algorithms.html

Story 2008462
Task 41491

Conflicts:
	octavia/tests/unit/common/jinja/lvs/test_jinja_cfg.py
	octavia/tests/unit/common/sample_configs/sample_configs_combined.py

NOTE(Xing Zhang): The first file does not exist in stable/victoria
due to unit test structure was fixed, file renamed from test_lvs_jinja_cfg.py,
(patch I6d84047b3481a2bf6bf9bd17d482fb504dbc752b) was introduced in stable/wallaby.
The second file has conflict due to the SCTP is supported by the amphora provider
in the Wallaby release. (patch I30997ae6cc6b8ec724f0e9dcfdfe49356b320ff4)

This backport removes SCTP in commit message and releasenote due to SCTP
was introduced in the Wallaby release.

Change-Id: Ic63929d8864e5285baf70dd85e6362988bf2863f
(cherry picked from commit 5352a10f62)
(cherry picked from commit d9603b3d21)
2021-04-08 18:15:58 +08:00
..
amphorae Fix incorrect ERROR status with IPv6 UDP members 2021-03-18 14:52:12 +01:00
api Fix provider driver quota handling 2021-03-15 08:25:07 +01:00
certificates Fix pep8 failures in gate 2020-11-16 18:54:48 +00:00
cmd Fix pep8 failures in gate 2020-11-16 18:54:48 +00:00
common Fix weighted round-robin about UDP listener 2021-04-08 18:15:58 +08:00
compute Fix pep8 failures in gate 2020-11-16 18:54:48 +00:00
controller Fix LB failover when IP addresses exhausted 2021-03-05 16:44:59 +00:00
db Merge "Fix overriding default listener timeout values in config file" into stable/victoria 2021-03-05 13:09:55 +00:00
distributor Fix new pylint errors 2020-08-21 15:00:27 +02:00
hacking Use unittest.mock instead of mock 2020-06-09 11:25:00 -04:00
image Introduce an image driver interface 2020-09-03 20:06:35 +00:00
network Add validation for VIP network parameters in amphora driver 2021-02-23 09:44:14 +01:00
policies Add amphora delete API 2020-09-03 13:34:07 -07:00
statistics Refactoring amphora stats driver interface 2020-09-08 15:32:04 -07:00
tests Fix weighted round-robin about UDP listener 2021-04-08 18:15:58 +08:00
volume Fix new pylint errors 2020-08-21 15:00:27 +02:00
__init__.py Remove all usage of six library 2020-03-18 17:15:26 -04:00
i18n.py Remove _LI, _LW, _LE, _LC from i18n 2017-05-23 16:28:29 +07:00
opts.py Refactoring amphora stats driver interface 2020-09-08 15:32:04 -07:00
version.py Adds methods in version.py for proper oslo_reports setup 2016-06-07 11:51:26 +03:00