Bug 1425828
| Summary: | keepalived should start after network-online.target instead of network.target | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | suresh kumar <surkumar> |
| Component: | keepalived | Assignee: | Ryan O'Hara <rohara> |
| Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | cluster-maint, ptalbert, redhat-bugzilla, robert.scheck |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | keepalived-1.3.4-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 19:36:38 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: | |||
| Bug Depends On: | 1413320 | ||
| Bug Blocks: | 1420851 | ||
Cross-filed ticket 01898086 on the Red Hat customer portal. 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-2017:2169 |
Description of problem: keepalived service is starting too early, before all interfaces have a chance to go up. This fails to bring up network and VIP correctly. Customer faces same issue referred in : https://bugzilla.redhat.com/show_bug.cgi?id=1181097 The issue is resolved after adding 'network-online.target' in /etc/systemd/system/keepalived.service /etc/systemd/system/keepalived.service:After=syslog.target network-online.target Steps to Reproduce: 1. reboot 2. check logs 3. Additional Info: journalctl -b -4 --unit network.service --unit keepalived" -- Logs begin at Tue 2016-10-18 06:53:40 UTC, end at Fri 2017-02-03 22:06:51 UTC. -- Feb 03 18:15:48 server1.example.com systemd[1]: Starting LVS and VRRP High Availability Monitor... Feb 03 18:15:48 server1.example.com systemd[1]: Starting LSB: Bring up/down networking... Feb 03 18:15:48 server1.example.com Keepalived[1022]: Starting Keepalived v1.2.13 (07/01,2016) <snip> Feb 03 18:15:53 server1.example.com Keepalived_vrrp[1115]: Kernel is reporting: interface eth0 UP <snip> Feb 03 18:15:54 server1.example.com Keepalived_healthcheckers[1114]: Netlink reflector reports IP 10.152.145.150 added <snip> Feb 03 18:15:58 server1.example.com Keepalived_healthcheckers[1114]: Netlink reflector reports IP 10.152.145.150 removed <snip> Feb 03 18:16:00 server1.example.com network[1029]: [ OK ] Additional Info: On this particular customer system, network takes longer than usual to activate.