health-manager subprocess remain alive after restart the service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[root@controller1 ~]# systemctl status octavia-
● octavia-
Loaded: loaded (/usr/lib/
Active: active (running) since Mon 2017-03-20 14:31:48 CST; 19h ago
Main PID: 1698 (python)
CGroup: /system.
├─ 1157 /opt/openstack/
├─ 1698 /opt/openstack/
├─ 1720 /opt/openstack/
├─ 7347 /opt/openstack/
├─30731 /opt/openstack/
└─32732 /opt/openstack/
Mar 20 14:31:50 controller1 python[1698]: self._target(
Mar 20 14:31:50 controller1 python[1698]: File "/opt/openstack
Mar 20 14:31:50 controller1 python[1698]: update_
Mar 20 14:31:50 controller1 python[1698]: File "/opt/openstack
Mar 20 14:31:50 controller1 python[1698]: self.update(
Mar 20 14:31:50 controller1 python[1698]: File "/opt/openstack
Mar 20 14:31:50 controller1 python[1698]: self.sock.
Mar 20 14:31:50 controller1 python[1698]: File "/usr/lib64/
Mar 20 14:31:50 controller1 python[1698]: return getattr(
Mar 20 14:31:50 controller1 python[1698]: error: [Errno 98] Address already in use
Hint: Some lines were ellipsized, use -l to show in full.
Exactly octavia-
hm_listener_proc subprocess is still alive after restart the octavia-
[root@controller1 ~]# netstat -nulp |grep 5555
udp 0 0 192.168.26.131:5555 0.0.0.0:* 7347/python
[root@controller1 ~]# ps -fp 7347
UID PID PPID C STIME TTY TIME CMD
octavia 7347 1 0 Mar17 ? 00:10:13 /opt/openstack/
[root@controller1 ~]# ps -fp 7347
UID PID PPID C STIME TTY TIME CMD
octavia 7347 1 0 Mar17 ? 00:10:13 /opt/openstack/
[root@controller1 ~]# ps -ef |grep octavia-health
octavia 1157 1 0 Mar20 ? 00:01:26 /opt/openstack/
octavia 1698 1 0 Mar20 ? 00:00:00 /opt/openstack/
octavia 1720 1698 0 Mar20 ? 00:01:25 /opt/openstack/
octavia 7347 1 0 Mar17 ? 00:10:14 /opt/openstack/
root 27477 26550 0 09:57 pts/10 00:00:00 grep --color=auto octavia-health
octavia 30731 1 0 Mar20 ? 00:01:45 /opt/openstack/
octavia 32732 1 0 Mar20 ? 00:01:28 /opt/openstack/
Take care of STIME column , it is weird that process 7347 STIME is Mar 17!
Here is /usr/lib/
[Unit]
Description=
After=syslog.target network.target
[Service]
Type=simple
User=octavia
ExecStart=
PrivateTmp=false
KillMode=process
[Install]
WantedBy=
Changed in octavia: | |
assignee: | nobody → qi zhang (saiisgod) |
description: | updated |
information type: | Public → Public Security |
information type: | Public Security → Public |
Hello,
I think this is working as designed. The subprocesses will not shutdown until they finish processing the currently active processing. For example, if the health manager is in the process of failing over a failed amphroa, it will not exit until the failover is complete or has gone into error.
Can you post the fill health manager logs? Also, please state which version of octavia you are running.