Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7699

keepalived 2.1.5 in RHEL-8 does not allow to set weight 0 on real-servers

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • keepalived-2.1.5-11.el8_10
    • None
    • Moderate
    • rhel-ha
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • 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:
      1. 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

              rhn-support-ccaulfie Christine Caulfield
              rhn-support-ajawarka Amol Jawarkar
              Ryan O'Hara Ryan O'Hara
              Juraj Hrdlica Juraj Hrdlica
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: