Keepalived_vrrp exited with permanent error CONFIG. Terminating

Bug #1816349 reported by Shyam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Undecided
Unassigned

Bug Description

While installing rocky using tripleo (osp14), undercloud installation is failing.
Reason is 'keepalived' container is not getting started.

Steps to reproduce:
1. Prepare undercloud node using rhel7, enable all rhosp14 repos
2. Start undercloud installation
3. Undercloud installation will fail at step3 container start

Expected result:
Undercloud installation should be successful

Actual result:
Undercloud installation is failing

Following are the logs of keepalived container failure:

Running command: '/usr/sbin/keepalived -nldD | tee -a /var/log/keepalived.log'
++ '[' -f /run/keepalived.pid ']'
+ echo 'Running command: '\''/usr/sbin/keepalived -nldD | tee -a /var/log/keepalived.log'\'''
+ exec /usr/sbin/keepalived -nldD '|' tee -a /var/log/keepalived.log
Starting Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Opening file '/etc/keepalived/keepalived.conf'.
Starting Healthcheck child process, pid=11
Starting VRRP child process, pid=12
Initializing ipvs
Opening file '/etc/keepalived/keepalived.conf'.
Registering Kernel netlink reflector
Registering Kernel netlink command channel
Registering gratuitous ARP shared channel
Opening file '/etc/keepalived/keepalived.conf'.
Netlink reflector reports IP 127.0.0.1 added
Netlink reflector reports IP 144.217.196.133 added
Netlink reflector reports IP 192.168.120.151 added
Netlink reflector reports IP 192.168.122.1 added
Netlink reflector reports IP 172.31.0.1 added
Netlink reflector reports IP ::1 added
Netlink reflector reports IP fe80::5054:ff:feb5:e545 added
Netlink reflector reports IP fe80::a540:eb38:a300:bcf8 added
Netlink reflector reports IP fe80::5054:ff:feb5:e545 added
Netlink reflector reports IP fe80::42:74ff:febf:4630 added
Registering Kernel netlink reflector
WARNING - default user 'keepalived_script' for script execution does not exist - please create.
*** Configuration line starting `interface` is missing a parameter after keyword `interface` at word position 2
Unexpected argument(s): | tee /var/log/keepalived.log
------< Global definitions >------
 Router ID = redhat-undercloud14
 Smtp server = ::1
 Smtp server port = 25
 Smtp HELO name = redhat-undercloud14.trilio.test
 Smtp server connection timeout = 30
 Email notification from = <email address hidden>
 Email notification = <email address hidden>
 Default interface = eth0
 LVS flush = false
 VRRP IPv4 mcast group = 224.0.0.18
 VRRP IPv6 mcast group = ff02::12
 Gratuitous ARP delay = 5
 Gratuitous ARP repeat = 5
 Gratuitous ARP refresh timer = 0
 Gratuitous ARP refresh repeat = 1
 Gratuitous ARP lower priority delay = 4294
 Gratuitous ARP lower priority repeat = -1
 Send advert after receive lower priority advert = true
 Send advert after receive higher priority advert = false
 Gratuitous ARP interval = 0
 Gratuitous NA interval = 0
 VRRP default protocol version = 2
 Iptables input chain = INPUT
 Using ipsets = true
 ipset IPv4 address set = keepalived
 ipset IPv6 address set = keepalived6
 ipset IPv6 address,iface set = keepalived_if6
 VRRP check unicast_src = false
 VRRP skip check advert addresses = false
 VRRP strict mode = false
 VRRP process priority = 0
 VRRP don't swap = false
 Checker process priority = 0
 Checker don't swap = false
 SNMP keepalived disabled
 SNMP checker disabled
 SNMP RFCv2 disabled
 SNMP RFCv3 disabled
 SNMP traps disabled
 SNMP socket = default (unix:/var/agentx/master)
 Network namespace = (default)
 Script security disabled
 Default script uid:gid 0:0
------< SSL definitions >------
 Using autogen SSL context
Keepalived_vrrp exited with permanent error CONFIG. Terminating
Stopping
Stopped
Unexpected argument(s): | tee /var/log/keepalived.log
Stopped Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Unexpected argument(s): | tee /var/log/keepalived.log

======Following is the ansible output of undercloud installation=================
TASK [Run docker-puppet tasks (generate config) during step 3] ***********************************************************************************
skipping: [redhat-undercloud14]

TASK [Debug output for task: Run docker-puppet tasks (generate config) during step 3] ************************************************************
skipping: [redhat-undercloud14]

TASK [Diff docker-puppet.py puppet-generated changes for check mode] *****************************************************************************
skipping: [redhat-undercloud14]

TASK [Diff docker-puppet.py puppet-generated changes for check mode] *****************************************************************************
skipping: [redhat-undercloud14]

TASK [Start containers for step 3] ***************************************************************************************************************

-----------------------

Revision history for this message
Alex Schultz (alex-schultz) wrote :

The issue seems to be:

*** Configuration line starting `interface` is missing a parameter after keyword `interface` at word position 2

Can you please provide your undercloud.conf? I think there's an issue with either the interface configuration or the ip configurations

Changed in tripleo:
status: New → Incomplete
Revision history for this message
Shyam (shyam.biradar) wrote :

Attached is my undercloud.conf
I see interface field in keealived.conf has not value set.
Which parameter from undercloud.conf sets 'interface' parameter value in keepalived.conf?

Revision history for this message
Shyam (shyam.biradar) wrote :

Attached puppet generated keepalived.conf

Revision history for this message
Shyam (shyam.biradar) wrote :

This is fixed after I provide undercloud_public_vip, undercloud_admin_vip in undercloud.conf.

But I see these parameters are deprecated.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.