Re: beta: doesn't want to stop
Quentin Armitage <[email protected]> Wed, 09 May 2018 16:19:54 +0100
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Organization | The Armitage family |
| Message-ID | <[email protected]> |
--===============1885462536620162887==
Content-Type: multipart/alternative; boundary="=-y1VqjQt4SxOFXI4Umv/5"
--=-y1VqjQt4SxOFXI4Umv/5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
I've just tested this on my CentOS 6.9 VM and it too seems to not be
responding to signals. This is not a generic issue with the beta
version of keepalived, since kill -TERM works on Fedora 26 and other
distros.
I will have a look after I have finished the current bit I am working
on, so may be a day or two - unless you (Robert) can investigate it. I
have done a quick test to make sure it isn't something related to using
signalfd(), but that doesn't seem to be the problem.
Quentin Armitage
On Wed, 2018-05-09 at 16:38 +0200, Robert Groenenberg wrote:
> 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
>
>
>
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot__________
> _____________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
--=-y1VqjQt4SxOFXI4Umv/5
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#2e3436" bgcolor="#ffffff" link="#2a76c6" vlink="#2e3436"><div>I've just tested this on my CentOS 6.9 VM and it too seems to not be responding to signals. This is not a generic issue with the beta version of keepalived, since kill -TERM works on Fedora 26 and other distros.</div><div><br></div><div>I will have a look after I have finished the current bit I am working on, so may be a day or two - unless you (Robert) can investigate it. I have done a quick test to make sure it isn't something related to using signalfd(), but that doesn't seem to be the problem.</div><div><br></div><div>Quentin Armitage</div><div><br></div><div>On Wed, 2018-05-09 at 16:38 +0200, Robert Groenenberg wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding
-left:1ex">
<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>
<pre>------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></pre><pre>_______________________________________________
Keepalived-devel mailing list
<a href="mailto:[email protected]">[email protected]</a>
<a href="https://lists.sourceforge.net/lists/listinfo/keepalived-devel">https://lists.sourceforge.net/lists/listinfo/keepalived-devel</a>
</pre></blockquote></body></html>
--=-y1VqjQt4SxOFXI4Umv/5--
--===============1885462536620162887==
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
--===============1885462536620162887==
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
--===============1885462536620162887==--