beta: doesn't want to stop
Robert Groenenberg <[email protected]> Wed, 9 May 2018 16:38:50 +0200
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============5593129987254487617==
Content-Type: multipart/alternative;
boundary="------------D95AC60C0892788F748DC79A"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------D95AC60C0892788F748DC79A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
Today I started to take a look at the beta branch of Keepalived. The
second thing I noticed was that it doesn't want to stop.
Running with a minimal config:
global_defs {
router_id LVS_DEVEL
}
vrrp_instance VI_1 {
state MASTER
interface eth4
virtual_router_id 251
priority 100
advert_int 1
virtual_ipaddress {
192.168.100.16
}
}
It does start, goes from Backup to Master (no other instance is running
with same virtual router id), sends out advertisements and assigns the
VIP. But it doesn't want to stop...
Starting it on the command line without forking (./keepalived -D -f
`pwd`/../keepalived.conf), it doesn't stop when hitting Ctrl-C like it
does on master. When running it with forking, it does not stop on a
'kill -TERM <mainpid>'. The only way I'm able stop the running
Keepalived is the rough way, kill -9 on main+child.
Nothing odd is in the logs, nothing is logged on Ctrl-C or kill -TERM.
Anybody else experiencing such behavior?
(This is on CentOS 6.9)
Kind regards,
Robert
--------------D95AC60C0892788F748DC79A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="DejaVu Sans">Hi,<br>
<br>
Today I started to take a look at the beta branch of Keepalived.
The second thing I noticed was that it doesn't want to stop.<br>
<br>
Running with a minimal config:<br>
</font><br>
<font face="DejaVu Sans Mono">global_defs
{
<br>
router_id
LVS_DEVEL
<br>
}
<br>
<br>
vrrp_instance VI_1
{
<br>
state
MASTER
<br>
interface
eth4
<br>
virtual_router_id
251
<br>
priority
100
<br>
advert_int
1
<br>
<br>
virtual_ipaddress
{
<br>
192.168.100.16
<br>
}
<br>
}</font><br>
<font face="DejaVu Sans"><br>
It does start, goes from Backup to Master (no other instance is
running with same virtual router id), sends out advertisements and
assigns the VIP. But it doesn't want to stop...<br>
<br>
Starting it on the command line without forking (<font
face="DejaVu Sans Mono">./keepalived -D -f
`pwd`/../keepalived.conf</font>), it doesn't stop when hitting
Ctrl-C like it does on master. When running it with forking, it
does not stop on a 'kill -TERM <mainpid>'. The only way I'm
able stop the running Keepalived is the rough way, kill -9 on
main+child.<br>
Nothing odd is in the logs, nothing is logged on Ctrl-C or kill
-TERM.<br>
<br>
Anybody else experiencing such behavior?<br>
<br>
(This is on CentOS 6.9)<br>
<br>
Kind regards,<br>
Robert</font><br>
</body>
</html>
--------------D95AC60C0892788F748DC79A--
--===============5593129987254487617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============5593129987254487617==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
--===============5593129987254487617==--