Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: keepalived should start after network-online.target instead of network.target
Product: Red Hat Enterprise Linux 7 Reporter: suresh kumar <surkumar>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: 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    

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