Bug 1484279

Summary: Keepalived v1.3.5 failing to assign IP for HA interface
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: openstack-neutronAssignee: anil venkata <vkommadi>
Status: CLOSED ERRATA QA Contact: Arie Bregman <abregman>
Severity: high Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: amuller, bperkins, chrisw, jlibosva, mariel, nyechiel, oblaut, srevivo, vkommadi
Target Milestone: z3Keywords: AutomationBlocker, Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-10.0.2-9.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1484281 1485781 (view as bug list) Environment:
Last Closed: 2017-10-31 17:43:29 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:    
Bug Blocks: 1484281, 1484282, 1484283, 1485781    

Description Arie Bregman 2017-08-23 07:49:25 UTC
Description of problem:

After switching to RHEL 7.4 we see keepalived is unable to read IP address from config file to configure HA interface(though config file is properly configured).

Steps to reproduce:

1. Clone neutron
2. Install Keepalived v1.3.5 and run below functional test
neutron.tests.functional.sanity.test_sanity.SanityTestCaseRoot.test_keepalived_ipv6_support
This test will fail and you can see the errors in syslog.

Syslog failures:

Aug 22 19:52:01 vagrant6 Keepalived[14752]: Starting Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Aug 22 19:52:01 vagrant6 Keepalived[14752]: Unable to resolve default script username 'keepalived_script' - ignoring
Aug 22 19:52:01 vagrant6 Keepalived[14752]: Opening file '/tmp/tmpxxwEQH/tmpeVAVKR/router1/keepalived.conf'.
Aug 22 19:52:01 vagrant6 Keepalived[14753]: Starting VRRP child process, pid=14754
Aug 22 19:52:01 vagrant6 Keepalived_vrrp[14754]: Registering Kernel netlink reflector
Aug 22 19:52:01 vagrant6 Keepalived_vrrp[14754]: Registering Kernel netlink command channel
Aug 22 19:52:01 vagrant6 Keepalived_vrrp[14754]: Registering gratuitous ARP shared channel
Aug 22 19:52:01 vagrant6 Keepalived_vrrp[14754]: Opening file '/tmp/tmpxxwEQH/tmpeVAVKR/router1/keepalived.conf'.
Aug 22 19:52:01 vagrant6 Keepalived_vrrp[14754]: (VR_1): Cannot find an IP address to use for interface ha-c896a1c
Aug 22 19:52:02 vagrant6 Keepalived_vrrp[14754]: Stopped
Aug 22 19:52:02 vagrant6 Keepalived[14753]: Keepalived_vrrp exited with permanent error CONFIG. Terminating
Aug 22 19:52:02 vagrant6 Keepalived[14753]: Stopping
Aug 22 19:52:07 vagrant6 Keepalived[14753]: Stopped Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Version-Release number of selected component (if applicable):


How reproducible: 100%

Comment 4 anil venkata 2017-10-05 11:55:34 UTC
No doc_text is required as the change was involved in test case only.

Comment 6 errata-xmlrpc 2017-10-31 17:43:29 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:3105