Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29593

openshift/images repository lacks default configuration of keepalived-ipfailover component causing warnings and notices in command line

XMLWordPrintable

    • Low
    • No
    • 3
    • Sprint 250, Sprint 251, Sprint 252, Sprint 253, Sprint 254, NE Sprint 255, NE Sprint 256, NE Sprint 257, NE Sprint 261
    • 9
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      The max_auto_priority was omitted from the keepalived global defs, and omitting the priority sets the maximum value of 99. max_auto_priority is the maximum priority keepalived can set for itself.

      This bug causes an unneeded message in the startup log: "NOTICE: setting config option max_auto_priority should result in better keepalived performance"

      Explicitly set the max_auto_priority to 99 in order to silence the NOTICE.

      The unneeded message is silenced.
      Show
      The max_auto_priority was omitted from the keepalived global defs, and omitting the priority sets the maximum value of 99. max_auto_priority is the maximum priority keepalived can set for itself. This bug causes an unneeded message in the startup log: "NOTICE: setting config option max_auto_priority should result in better keepalived performance" Explicitly set the max_auto_priority to 99 in order to silence the NOTICE. The unneeded message is silenced.
    • Bug Fix
    • Proposed

      The global settings `max_auto_priority 99` / `script_user root` are not defined by config generator causing the following WARNINGs and NOTICEs to appear in logs during runtime:

      - Loading ip_vs module ...
      - Checking if ip_vs module is available ...
      ip_vs 172032 0
      - Module ip_vs is loaded.
      - check for iptables rule for keepalived multicast (224.0.0.18) ...
      - Generating and writing config to /etc/keepalived/keepalived.conf
      - Starting failover services ...
      Sun Feb 11 14:55:44 2024: Starting Keepalived v2.1.5 (07/13,2020)
      Sun Feb 11 14:55:44 2024: Running on Linux 4.18.0-372.80.1.el8_6.x86_64 #1 SMP Fri Nov 3 14:30:16 EDT 2023 (built for Linux 4.18.0)
      Sun Feb 11 14:55:44 2024: Command line: '/usr/sbin/keepalived' '-n' '--log-console'
      Sun Feb 11 14:55:44 2024: Opening file '/etc/keepalived/keepalived.conf'.
      Sun Feb 11 14:55:44 2024: NOTICE: setting config option max_auto_priority should result in better keepalived performance
      Sun Feb 11 14:55:44 2024: Starting VRRP child process, pid=99
      Sun Feb 11 14:55:44 2024: Registering Kernel netlink reflector
      Sun Feb 11 14:55:44 2024: Registering Kernel netlink command channel
      Sun Feb 11 14:55:44 2024: Opening file '/etc/keepalived/keepalived.conf'.
      Sun Feb 11 14:55:44 2024: WARNING - default user 'keepalived_script' for script execution does not exist - please create.
      Sun Feb 11 14:55:44 2024: SECURITY VIOLATION - scripts are being executed but script_security not enabled. 

              mmasters1@redhat.com Miciah Masters
              wotsyula Walter Otsyula
              Melvin Joseph Melvin Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: