-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-8.7.0
-
keepalived-2.1.5-11.el8_10
-
None
-
Moderate
-
rhel-ha
-
3
-
False
-
False
-
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
-
57,005
Description of problem:
keepalived 2.1.5 in RHEL-8 does not allow to set weight 0 on real-servers
Version-Release number of selected component (if applicable):
keepalived-2.1.5-9.el8.x86_64
How reproducible:
- create /etc/keepalived/keepalived.conf with the following content (note weight is zero):
virtual_server 127.0.0.1 80 {
protocol TCP
real_server 127.0.0.1 81
{ weight 0 }}
- start keepalived:
- check IPVS configuration. You should see that real-server weight is 1, instead of 0:
- ipvsadm -Ln
Additional info:
Below GIT URL explains this.
https://github.com/acassen/keepalived/issues/1757
- Below commit have resolution.
https://github.com/acassen/keepalived/commit/e2b4d108d68ada3af8ad437e2e291fcac1fd0ff7
- external trackers
- links to
-
RHBA-2025:147410 keepalived update