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 1425828 - keepalived should start after network-online.target instead of network.target
Summary: keepalived should start after network-online.target instead of network.target
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: keepalived
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ryan O'Hara
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On: 1413320
Blocks: 1420851
TreeView+ depends on / blocked
 
Reported: 2017-02-22 14:30 UTC by suresh kumar
Modified: 2020-09-10 10:14 UTC (History)
4 users (show)

Fixed In Version: keepalived-1.3.4-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 19:36:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1181097 0 unspecified CLOSED keepalived should start after network-online.target instead of network.target 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2017:2169 0 normal SHIPPED_LIVE keepalived bug fix and enhancement update 2017-08-01 18:18:21 UTC

Description suresh kumar 2017-02-22 14:30:43 UTC
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.

Comment 5 Robert Scheck 2017-07-26 11:28:24 UTC
Cross-filed ticket 01898086 on the Red Hat customer portal.

Comment 6 errata-xmlrpc 2017-08-01 19:36:38 UTC
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


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