Bug 1477572
Summary: | Keepalived 1.3.x ipset functionality seems to be broken | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Robert Scheck <redhat-bugzilla> |
Component: | keepalived | Assignee: | Ryan O'Hara <rohara> |
Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | cluster-maint, mlinden, phil.randal, robert.scheck |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | keepalived-1.3.5-2.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 18:15:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert Scheck
2017-08-02 12:08:10 UTC
Cross-filed ticket 01903060 on the Red Hat customer portal. Please install 'ipset-libs' while we determine what dependency is missing from the rpm. As already mentioned above, this does not make things better. Installing ipset just enables ipset support unconditionally, which I do not want to have enabled (according to the docs, "vrrp_ipset" should disable ipset; keepalived itself is also up and running when having the ipset package not installed - the issue here is that keepalived does not handle ipset dependency and vrrp_ipset keyword properly). Or simpler said: Even "vrrp_ipset" keyword usage (= disable) according to the documentation and the missing "libipset.so.3" errors show up in the logs, keepalived works - and indeed without ipset support. But this behaviour feels just broken. (In reply to Ryan O'Hara from comment #3) > Please install 'ipset-libs' while we determine what dependency is missing > from the rpm. OK, so 'ipset-libs' was pulled in when you installed 'ipset'. We need to fix the spec file to that keepalived has a dependency on 'ipset-libs'. The other bug here is in the man page. The keyword should be "vrrp_ipsets", not "vrrp_ipset". I reported this upstream this morning and it is already fixed. We will also need to fix the man page in RHEL. Thanks! :) But are you sure that disabling using "vrrp_ipsets" works? global_defs { # … vrrp_ipsets } leads to: Aug 2 22:12:40 tux1 kernel: Netfilter messages via NETLINK v0.30. Aug 2 22:12:40 tux1 kernel: ip_set: protocol 6 Why does keepalived load ipset, even I disable it using the setting? (In reply to Robert Scheck from comment #7) > Why does keepalived load ipset, even I disable it using the setting? In my experience, specifying "vrrp_ipsets" in the global_defs will enable ipsets. The upstream documentation is a bit confusing because it says that not specifying a name will disable ipsets, but it also says that the there is a default ipset4 name (keepalived). That is from the keepalived.conf.SYNOPSIS. On the other name, the keepalived.conf man page says otherwise. If you don't want ipsets, I'd just not specify in the config. I dislike the difference between experience and documentation here. Let us please clarify this with upstream if needed and if the documentation is not correct, let us correct the documentation. As of writing, the documentation shipped with keepalived (man page) says, just "vrrp_ipsets" should disable it (from keepalived man page: "If no names are specified, ipsets will not be used, otherwise any omitted"), however it obviously loads some ipset related kernel stuff. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0972 |