Activity log for bug #1494141

Date Who What changed Old value New value Message
2015-09-10 06:25:48 Claudio Kuenzler bug added bug
2015-09-10 06:26:57 Claudio Kuenzler description On a new installation of Ubuntu 14.04.3 LTS I installed HAProxy 1.5 from trusty-backports. When I restarted HAProxy, I got random HTTP 503 although the backend servers were all working fine. By checking netstat, I saw that HAProxy was listening multiple times on the frontend ports. It seems that the init script coming with the installation does not work correctly. The processes are not terminated correctly when using stop (or restart, in this matter, too, which uses the stop function). Only with a kill I was able to correctly terminate the HAProxy processes. The following output should show more clarity: root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy stop * Stopping haproxy haproxy [ OK ] root@mylinux:~# service haproxy status haproxy not running. root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# killall haproxy root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy start * Starting haproxy haproxy [ OK ] root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy restart * Restarting haproxy haproxy [ OK ] root@nzzad-lb01-test:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd On a new installation of Ubuntu 14.04.3 LTS I installed HAProxy 1.5 from trusty-backports (1.5.4-1ubuntu2.1~ubuntu14.04.1). When I restarted HAProxy, I got random HTTP 503 although the backend servers were all working fine. By checking netstat, I saw that HAProxy was listening multiple times on the frontend ports. It seems that the init script coming with the installation does not work correctly. The processes are not terminated correctly when using stop (or restart, in this matter, too, which uses the stop function). Only with a kill I was able to correctly terminate the HAProxy processes. The following output should show more clarity: root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy stop  * Stopping haproxy haproxy [ OK ] root@mylinux:~# service haproxy status haproxy not running. root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# killall haproxy root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy start  * Starting haproxy haproxy [ OK ] root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy restart  * Restarting haproxy haproxy [ OK ] root@nzzad-lb01-test:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd
2015-09-10 06:27:28 Claudio Kuenzler description On a new installation of Ubuntu 14.04.3 LTS I installed HAProxy 1.5 from trusty-backports (1.5.4-1ubuntu2.1~ubuntu14.04.1). When I restarted HAProxy, I got random HTTP 503 although the backend servers were all working fine. By checking netstat, I saw that HAProxy was listening multiple times on the frontend ports. It seems that the init script coming with the installation does not work correctly. The processes are not terminated correctly when using stop (or restart, in this matter, too, which uses the stop function). Only with a kill I was able to correctly terminate the HAProxy processes. The following output should show more clarity: root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy stop  * Stopping haproxy haproxy [ OK ] root@mylinux:~# service haproxy status haproxy not running. root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# killall haproxy root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy start  * Starting haproxy haproxy [ OK ] root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy restart  * Restarting haproxy haproxy [ OK ] root@nzzad-lb01-test:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd On a new installation of Ubuntu 14.04.3 LTS I installed HAProxy 1.5 from trusty-backports (1.5.4-1ubuntu2.1~ubuntu14.04.1). When I restarted HAProxy, I got random HTTP 503 although the backend servers were all working fine. By checking netstat, I saw that HAProxy was listening multiple times on the frontend ports. It seems that the init script coming with the installation does not work correctly. The processes are not terminated correctly when using stop (or restart, in this matter, either). Only with a kill I was able to correctly terminate the HAProxy processes. The following output should show more clarity: root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy stop  * Stopping haproxy haproxy [ OK ] root@mylinux:~# service haproxy status haproxy not running. root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 4221/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4653/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 4221/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# killall haproxy root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy start  * Starting haproxy haproxy [ OK ] root@mylinux:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd root@mylinux:~# service haproxy restart  * Restarting haproxy haproxy [ OK ] root@nzzad-lb01-test:~# netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 956/nginx tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 855/sshd tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN 8205/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8286/haproxy tcp 0 0 0.0.0.0:8099 0.0.0.0:* LISTEN 8205/haproxy tcp6 0 0 :::22 :::* LISTEN 855/sshd
2015-09-15 10:56:54 Robie Basak bug added subscriber Ubuntu Server Team
2015-09-15 16:11:55 Louis Bouchard haproxy (Ubuntu): assignee Louis Bouchard (louis-bouchard)
2015-09-16 15:16:13 Louis Bouchard haproxy (Ubuntu): status New In Progress
2015-09-16 15:16:15 Louis Bouchard haproxy (Ubuntu): importance Undecided Medium
2015-09-17 08:30:28 Louis Bouchard affects haproxy (Ubuntu) trusty-backports
2015-09-17 08:59:30 Louis Bouchard bug task added haproxy (Ubuntu)
2015-09-17 08:59:44 Louis Bouchard nominated for series Ubuntu Trusty
2015-09-17 08:59:44 Louis Bouchard bug task added haproxy (Ubuntu Trusty)
2015-09-17 08:59:58 Louis Bouchard haproxy (Ubuntu): status New Fix Released
2015-09-17 09:00:04 Louis Bouchard haproxy (Ubuntu Trusty): status New Invalid
2015-09-17 09:32:15 Louis Bouchard attachment added lp1494141_fix_stop_failure.debdiff https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1494141/+attachment/4466700/+files/lp1494141_fix_stop_failure.debdiff
2015-09-17 14:26:04 Louis Bouchard attachment removed lp1494141_fix_stop_failure.debdiff https://bugs.launchpad.net/trusty-backports/+bug/1494141/+attachment/4466700/+files/lp1494141_fix_stop_failure.debdiff
2015-09-23 10:19:02 Hauke Bruno bug added subscriber Hauke Bruno
2015-10-20 20:26:19 Mark Casey bug added subscriber Mark Casey
2015-10-22 14:52:59 Maykel Moya bug added subscriber Maykel Moya
2015-10-29 15:58:02 Matt Cholick bug added subscriber Matt Cholick
2015-11-04 23:11:35 Mathew Hodson haproxy (Ubuntu): importance Undecided Medium
2015-11-04 23:11:37 Mathew Hodson haproxy (Ubuntu Trusty): importance Undecided Medium
2015-11-04 23:21:23 Mathew Hodson bug added subscriber Mathew Hodson
2015-11-27 06:13:23 Mathew Hodson bug task deleted haproxy (Ubuntu Trusty)
2015-11-27 06:13:31 Mathew Hodson removed subscriber Mathew Hodson
2015-11-27 11:12:06 Louis Bouchard trusty-backports: assignee Louis Bouchard (louis-bouchard)
2015-12-01 03:00:10 Mathew Hodson tags haproxy trusty
2015-12-01 03:06:46 Mathew Hodson bug task deleted haproxy (Ubuntu)
2016-02-08 14:30:57 Louis Bouchard summary HAProxy 1.5 init script does not terminate processes Please backport haproxy 1.5.14-1ubuntu0.15.10.1 from wily-updates
2016-02-08 15:20:08 Iain Lane trusty-backports: status In Progress Fix Released