Re: beta: doesn't want to stop
Robert Groenenberg <[email protected]> Wed, 9 May 2018 17:44:03 +0200
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============8021547896836224746==
Content-Type: multipart/alternative;
boundary="------------9D7C6EFA0A0F036EAA28E45F"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------9D7C6EFA0A0F036EAA28E45F
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
When I have the chance to look into it a bit more and find something,
I'll let you know!
(Not urgent, mainly I wanted to take a look at the VIP/interface
behavior you mentioned)
Robert
On 05/09/2018 05:19 PM, Quentin Armitage wrote:
> 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]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
--------------9D7C6EFA0A0F036EAA28E45F
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">When I have the chance to look into it a
bit more and find something, I'll let you know!<br>
(Not urgent, mainly I wanted to take a look at the VIP/interface
behavior you mentioned)<br>
<br>
Robert</font><br>
<div class="moz-cite-prefix"><br>
On 05/09/2018 05:19 PM, Quentin Armitage wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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" moz-do-not-send="true">http://sdm.link/slashdot</a></pre>
<pre>_______________________________________________
Keepalived-devel mailing list
<a href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>
<a href="https://lists.sourceforge.net/lists/listinfo/keepalived-devel" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/keepalived-devel</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>
--------------9D7C6EFA0A0F036EAA28E45F--
--===============8021547896836224746==
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
--===============8021547896836224746==
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
--===============8021547896836224746==--