RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1261389 - keepalived fails to load the scheduler module
Summary: keepalived fails to load the scheduler module
Keywords:
Status: CLOSED DUPLICATE of bug 1228321
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: keepalived
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ryan O'Hara
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-09 08:46 UTC by Marko Myllynen
Modified: 2015-09-09 13:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-09 13:03:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marko Myllynen 2015-09-09 08:46:06 UTC
Description of problem:
With the following trivial configuration

vrrp_instance VI_1 {
    state MASTER
    interface eth0
    virtual_router_id 51
    priority 100
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass 1111
    }
    virtual_ipaddress {
        192.168.122.222
    }
}

virtual_server 192.168.122.222 80 {
    delay_loop 6
    lb_algo rr
    lb_kind DR
    protocol TCP

    real_server 192.168.122.119 80 {
        weight 1
        TCP_CHECK {
            connect_timeout 3
        }
    }
}

after rebooting the server and keepalived service disabled then when starting keepalived manually ip_vs_rr is not loaded (according to the logs and lsmod):

Sep  9 11:38:03 localhost systemd: Starting LVS and VRRP High Availability Monitor...
Sep  9 11:38:04 localhost Keepalived[1079]: Starting Keepalived v1.2.13 (11/18,2014)
Sep  9 11:38:04 localhost Keepalived[1080]: Starting Healthcheck child process, pid=1081
Sep  9 11:38:04 localhost Keepalived[1080]: Starting VRRP child process, pid=1082
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Netlink reflector reports IP 192.168.122.189 added
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Netlink reflector reports IP fe80::5054:ff:fefb:64d2 added
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Registering Kernel netlink reflector
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Registering Kernel netlink command channel
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Registering gratuitous ARP shared channel
Sep  9 11:38:04 localhost systemd: Started LVS and VRRP High Availability Monitor.
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Opening file '/etc/keepalived/keepalived.conf'.
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Configuration is using : 60634 Bytes
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: Using LinkWatch kernel netlink reflector...
Sep  9 11:38:04 localhost Keepalived_vrrp[1082]: VRRP sockpool: [ifindex(2), proto(112), unicast(0), fd(10,11)]
Sep  9 11:38:04 localhost kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Sep  9 11:38:04 localhost kernel: IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
Sep  9 11:38:04 localhost kernel: IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
Sep  9 11:38:04 localhost kernel: IPVS: Creating netns size=2032 id=0
Sep  9 11:38:04 localhost kernel: IPVS: ipvs loaded.
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Netlink reflector reports IP 192.168.122.189 added
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Netlink reflector reports IP fe80::5054:ff:fefb:64d2 added
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Registering Kernel netlink reflector
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Registering Kernel netlink command channel
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Opening file '/etc/keepalived/keepalived.conf'.
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Configuration is using : 9353 Bytes
Sep  9 11:38:04 localhost kernel: IPVS: Scheduler module ip_vs_rr not found
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: IPVS: Scheduler or persistence engine not found
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: IPVS: No such file or directory
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Using LinkWatch kernel netlink reflector...
Sep  9 11:38:04 localhost Keepalived_healthcheckers[1081]: Activating healthchecker for service [192.168.122.119]:80
Sep  9 11:38:05 localhost Keepalived_vrrp[1082]: VRRP_Instance(VI_1) Transition to MASTER STATE
Sep  9 11:38:06 localhost Keepalived_vrrp[1082]: VRRP_Instance(VI_1) Entering MASTER STATE
Sep  9 11:38:06 localhost Keepalived_vrrp[1082]: VRRP_Instance(VI_1) setting protocol VIPs.
Sep  9 11:38:06 localhost Keepalived_vrrp[1082]: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 192.168.122.222
Sep  9 11:38:06 localhost Keepalived_healthcheckers[1081]: Netlink reflector reports IP 192.168.122.222 added
Sep  9 11:38:11 localhost Keepalived_vrrp[1082]: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 192.168.122.222

If ip_vs_rr.ko is manually loaded before starting keepalived, the messages disappear. Running depmod -a doesn't make any difference.

Version-Release number of selected component (if applicable):
keepalived-1.2.13-6.el7.x86_64
kernel-3.10.0-229.11.1.el7.x86_64

Comment 2 Ryan O'Hara 2015-09-09 13:03:05 UTC

*** This bug has been marked as a duplicate of bug 1228321 ***


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