Comment 4 for bug 1490043

Revision history for this message
Jakub Libosvar (libosvar) wrote :

Maybe this errors might be interesting - I'm not keepalived expert but someone might tell us whether keepalived terminates itself between process.active and process.disable()

Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived[22310]: Starting Keepalived v1.2.7 (08/14,2013)
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived[22312]: Starting VRRP child process, pid=22313
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Interface queue is empty
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, ovs-system
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, dummy0
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, test-br97456312
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, br-int183506321
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, br-tun481397143
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: No such interface, test-veth018779
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Registering Kernel netlink reflector
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Registering Kernel netlink command channel
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Error while registering gratuitous ARP shared channel
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Initializing ipvs 2.6
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived[22312]: Stopping Keepalived v1.2.7 (08/14,2013)
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 modprobe: ERROR: could not insert 'ip_vs': Operation not permitted
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: IPVS: Can't initialize ipvs: Permission denied (you must be root)
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Configuration is using : 55952 Bytes
Sep 3 07:00:32 devstack-trusty-hpcloud-b3-4739380 Keepalived_vrrp[22313]: Using LinkWatch kernel netlink reflector...

Also note that keepalived is actually 22313 [1] while we send sigterm to 22312 [2] which is likely a parent process of keepalived (maybe sudo, maybe rootwrap). I'm investigating how ProcessManager makes sure the actual child process is written to pid file so it doesn't contain wrong values in case machine is too slow and children weren't born yet.

[1] http://logs.openstack.org/91/189391/18/check/gate-neutron-dsvm-functional/41e8980/logs/syslog.txt.gz#_Sep__3_07_00_32
[2] http://logs.openstack.org/91/189391/18/check/gate-neutron-dsvm-functional/41e8980/testr_results.html.gz