Problems with reloading ExaBGP

292 views
Skip to first unread message

Aleksandr Grigorenko

unread,
Jun 10, 2019, 3:57:08 AM6/10/19
to exabgp-users
Hi all. Testing possibility to use ExaBGP in my setup

Centos 7

in systemd service looks like

[Service]
Environment=exabgp_daemon_daemonize=false
ExecStart=/bin/exabgp /etc/exabgp/exabgp.conf
ExecReload=/bin/kill -SIGUSR2 $MAINPID

tried SIGUSR1 also


exabgp.conf

process service-kea {
run /bin/python3.6 -m exabgp healthcheck -F /etc/exabgp/healthcheck.conf;
encoder text;
}

neighbor 172.16.70.1 {
description "test BGP connection";
router-id 172.16.70.2;
local-address 172.16.70.2;
local-as 65533;
peer-as 65534;
adj-rib-in false;
api services {
processes [ service-kea ];
}
group-updates false;
family {
ipv4 unicast;
}
capability {
route-refresh enable;
add-path send;
}
}


healthcheck.conf looks like

name = kea
cmd = "/etc/exabgp/checkdhcp.sh"
ip = 10.10.82.4/32
withdraw-on-down
silent
no-ip-setup


ExaBGP works well with healthchecker, announncing and withdrawing routes, but when performing systemctl reload exabgp in logs i see:


Thu, 06 Jun 2019 17:51:22 30147 reactor SIGUSR2 received
Thu, 06 Jun 2019 17:51:22 30147 reactor scheduling reload of configuration and processes
Thu, 06 Jun 2019 17:51:22 30147 configuration performing reload of exabgp 4.0.10-a8462350
Thu, 06 Jun 2019 17:51:22 30147 configuration problem with the configuration file, no change done
Thu, 06 Jun 2019 17:51:22 30147 configuration problem parsing configuration file line 15
Thu, 06 Jun 2019 17:51:22 30147 configuration error message: the name "services" already exists in api


Any ideas where to look for fix?
Thanks.

Thomas Mangin

unread,
Jun 10, 2019, 4:44:25 AM6/10/19
to exabgp...@googlegroups.com

Aleksandr,


Could you please confirm that the issue is still present on master ?
If it is, the best way forward would be to open an issue on github.

Sincerely,

Thomas


--
You received this message because you are subscribed to the Google Groups "exabgp-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exabgp-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/exabgp-users/924ba496-8b67-4609-990b-bbcf615294c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages