Bug 2177425 - keepalived 2.1.5 in RHEL-8 does not allow to set weight 0 on real-servers
Summary: keepalived 2.1.5 in RHEL-8 does not allow to set weight 0 on real-servers
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: keepalived
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ryan O'Hara
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-11 17:04 UTC by Amol Jawarkar
Modified: 2023-08-11 10:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-151491 0 None None None 2023-03-11 17:06:01 UTC

Description Amol Jawarkar 2023-03-11 17:04:40 UTC
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

Comment 1 Mithil Mhatre 2023-06-28 03:30:21 UTC
Hello Team,

Any update on this.


Note You need to log in before you can comment on or make changes to this bug.