PING health-monitor in LBaaS Haproxy sends a TCP request to members
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Low
|
Unassigned |
Bug Description
There are different health-monitors in LBaaS:
1) PING 2) TCP 3) HTTP and 4) HTTPS
I was trying PING health-monitor with Haproxy, but it seem to be sending TCP requests to the members instead of PING requests.
varunlodaya@
+------
| Field | Value |
+------
| admin_state_up | True |
| delay | 30 |
| id | fb5d0e4b-
| max_retries | 2 |
| pools | {"status": "ACTIVE", "status_
| tenant_id | 6d560cf5767d4f1
| timeout | 5 |
| type | PING |
+------
The Haproxy config it generates for backend is:
*********
backend 93d03b4e-
mode http
balance roundrobin
option forwardfor
timeout check 5s
server 07285f2e-
On the member, I opened tcpdump to check whats being received:
sudo tcpdump -i eth0 -v icmp
sudo: unable to resolve host ubuntu-vm
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
ubuntu@ubuntu-vm:~$ sudo tcpdump -i eth0 -n src host 10.0.0.5 -vv
sudo: unable to resolve host ubuntu-vm
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
23:03:53.434592 IP (tos 0x0, ttl 64, id 4614, offset 0, flags [DF], proto TCP (6), length 60)
10.0.0.5.55697 > 10.0.0.4.80: Flags [S], cksum 0xc228 (correct), seq 3491668946, win 29200, options [mss 1460,sackOK,TS val 1552852 ecr 0,nop,wscale 7], length 0
23:03:58.441968 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.4 tell 10.0.0.5, length 28
23:04:23.439097 IP (tos 0x0, ttl 64, id 30112, offset 0, flags [DF], proto TCP (6), length 60)
10.0.0.5.55704 > 10.0.0.4.80: Flags [S], cksum 0x3862 (correct), seq 635615873, win 29200, options [mss 1460,sackOK,TS val 1560353 ecr 0,nop,wscale 7], length 0
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel
tags: | added: lbaas |
affects: | barbican → neutron |
Changed in neutron: | |
milestone: | none → kilo-3 |
Changed in neutron: | |
milestone: | kilo-3 → kilo-rc1 |
Changed in neutron: | |
assignee: | nobody → Numan Siddique (numansiddique) |
Changed in neutron: | |
importance: | Undecided → Critical |
importance: | Critical → Low |
Changed in neutron: | |
assignee: | Numan Siddique (numansiddique) → venkata anil (anil-venkata) |
No code, and no activity...can't see this land in RC1