vip__public_old cant reach other nodes mgmt addr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Aleksandr Didenko |
Bug Description
ISO 212
upon looking at the stats for haproxy running in vip__public_old, I found that backends for nodes other than this one are reported down.
After examining the haproxy namespace for public, i found that there is no interface for hapr-m and no corresponding route
root@node-7:~# ip netns exec haproxy ip route
default dev hapr-p scope link metric 10
10.108.33.0/24 dev hapr-p proto kernel scope link src 10.108.33.20
This causes all of the other nodes to not be accessible and prevents proper load balancing.
I think if we add a hapr-m interface and a proper route, this should be resolved.
-------
Last updated: Tue May 20 21:39:36 2014
Last change: Tue May 20 21:37:11 2014 via cibadmin on node-7
Stack: classic openais (with plugin)
Current DC: node-7 - partition with quorum
Version: 1.1.10-42f2063
3 Nodes configured, 3 expected votes
17 Resources configured
Online: [ node-6 node-7 node-8 ]
vip__management_old (ocf::mirantis:
vip__public_old (ocf::mirantis:
Clone Set: clone_p_haproxy [p_haproxy]
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_mysql [p_mysql]
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_
ch-agent]
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_
Started: [ node-6 node-7 node-8 ]
p_neutron-
p_neutron-l3-agent (ocf::mirantis:
heat-engine (ocf::mirantis:
Migration summary:
* Node node-6:
* Node node-7:
* Node node-8:
Connection to the CIB terminated
Reconnecting...
root@node-7:~# ip netns
qrouter-
haproxy
root@node-7:~# ip netns exec haproxy ping node-6
PING node-6 (192.168.0.9) 56(84) bytes of data.
^C
--- node-6 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4024ms
root@node-7:~# ip netns exec haproxy ping node-8
PING node-8 (192.168.0.11) 56(84) bytes of data.
^C
--- node-8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2008ms
root@node-7:~# ping node-6
PING node-6 (192.168.0.9) 56(84) bytes of data.
64 bytes from node-6 (192.168.0.9): icmp_req=1 ttl=64 time=1.64 ms
^C
--- node-6 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.649/1.
root@node-7:~# ping node-7
PING node-7 (192.168.0.10) 56(84) bytes of data.
64 bytes from node-7 (192.168.0.10): icmp_req=1 ttl=64 time=0.086 ms
64 bytes from node-7 (192.168.0.10): icmp_req=2 ttl=64 time=0.095 ms
64 bytes from node-7 (192.168.0.10): icmp_req=3 ttl=64 time=0.057 ms
^C
--- node-7 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.057/0.
root@node-7:~# ip netns exec haproxy ip a
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
41: hapr-p: <BROADCAST,
link/ether 16:3a:0a:75:7f:a7 brd ff:ff:ff:ff:ff:ff
inet 10.108.33.20/24 scope global hapr-p
valid_lft forever preferred_lft forever
inet6 fe80::143a:
valid_lft forever preferred_lft forever
root@node-7:~# crm status
Last updated: Tue May 20 21:45:00 2014
Last change: Tue May 20 21:37:11 2014 via cibadmin on node-7
Stack: classic openais (with plugin)
Current DC: node-7 - partition with quorum
Version: 1.1.10-42f2063
3 Nodes configured, 3 expected votes
17 Resources configured
Online: [ node-6 node-7 node-8 ]
vip__managemen
vip__public_old (ocf::mirantis:
Clone Set: clone_p_haproxy [p_haproxy]
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_mysql [p_mysql]
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_
Started: [ node-6 node-7 node-8 ]
Clone Set: clone_p_
Started: [ node-6 node-7 node-8 ]
p_neutron-
p_neutron-l3-agent (ocf::mirantis:
heat-engine (ocf::mirantis:
root@node-7:~# ip netns exec haproxy ip a
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
41: hapr-p: <BROADCAST,
link/ether 16:3a:0a:75:7f:a7 brd ff:ff:ff:ff:ff:ff
inet 10.108.33.20/24 scope global hapr-p
valid_lft forever preferred_lft forever
inet6 fe80::143a:
valid_lft forever preferred_lft forever
root@node-7:~# ip netns exec haproxy ping node-7
PING node-7 (192.168.0.10) 56(84) bytes of data.
64 bytes from node-7 (192.168.0.10): icmp_req=1 ttl=64 time=0.110 ms
64 bytes from node-7 (192.168.0.10): icmp_req=2 ttl=64 time=0.115 ms
64 bytes from node-7 (192.168.0.10): icmp_req=3 ttl=64 time=0.118 ms
64 bytes from node-7 (192.168.0.10): icmp_req=4 ttl=64 time=0.119 ms
64 bytes from node-7 (192.168.0.10): icmp_req=5 ttl=64 time=0.120 ms
^C
--- node-7 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3997ms
rtt min/avg/max/mdev = 0.110/0.
root@node-7:~# ip netns exec haproxy ip route
default dev hapr-p scope link metric 10
10.108.33.0/24 dev hapr-p proto kernel scope link src 10.108.33.20
root@node-7:~# ssh node-6
Warning: Permanently added 'node-6,
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-18-generic x86_64)
* Documentation: https:/
Last login: Tue May 20 20:38:17 2014 from 10.108.32.2
root@node-6:~# ip netns exec haproxy ip a
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
23: hapr-m: <BROADCAST,
link/ether 1a:da:f0:7c:b8:70 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.8/24 scope global hapr-m
valid_lft forever preferred_lft forever
inet6 fe80::18da:
valid_lft forever preferred_lft forever
root@node-6:~# ip netns exec haproxy ping node-6
PING node-6 (192.168.0.9) 56(84) bytes of data.
64 bytes from node-6 (192.168.0.9): icmp_req=1 ttl=64 time=0.105 ms
64 bytes from node-6 (192.168.0.9): icmp_req=2 ttl=64 time=0.154 ms
^C
--- node-6 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.105/0.
root@node-6:~# ip netns exec haproxy ping node-7
PING node-7 (192.168.0.10) 56(84) bytes of data.
64 bytes from node-7 (192.168.0.10): icmp_req=1 ttl=63 time=1.29 ms
64 bytes from node-7 (192.168.0.10): icmp_req=2 ttl=63 time=0.353 ms
^C
--- node-7 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.353/0.
root@node-6:~# ip netns exec haproxy ping node-8
PING node-8 (192.168.0.11) 56(84) bytes of data.
64 bytes from node-8 (192.168.0.11): icmp_req=1 ttl=63 time=1.22 ms
64 bytes from node-8 (192.168.0.11): icmp_req=2 ttl=63 time=0.482 ms
64 bytes from node-8 (192.168.0.11): icmp_req=3 ttl=63 time=0.638 ms
64 bytes from node-8 (192.168.0.11): icmp_req=4 ttl=63 time=0.637 ms
^C
--- node-8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 0.482/0.
root@node-6:~#
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Alexander Didenko (adidenko) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
root@node-7:~# echo show stat | socat unix-connect: ///var/ lib/haproxy/ stats stdio svname, qcur,qmax, scur,smax, slim,stot, bin,bout, dreq,dresp, ereq,econ, eresp,wretr, wredis, status, weight, act,bck, chkfail, chkdown, lastchg, downtime, qlimit, pid,iid, sid,throttle, lbtot,tracked, type,rate, rate_lim, rate_max, check_status, check_code, check_duration, hrsp_1xx, hrsp_2xx, hrsp_3xx, hrsp_4xx, hrsp_5xx, hrsp_other, hanafail, req_rate, req_rate_ max,req_ tot,cli_ abrt,srv_ abrt, monitoring, FRONTEND, ,,0,2,8000, 1680,767859, 58827437, 0,0,0,, ,,,OPEN, ,,,,,,, ,1,1,0, ,,,0,0, 0,5,,,, 0,840,0, 0,840,0, ,0,5,1680, ,, monitoring, BACKEND, 0,0,0,1, 8000,840, 767859, 58827437, 0,0,,840, 0,0,0,UP, 0,0,0,, 0,1910, 0,,1,1, 0,,0,,1, 0,,3,,, ,0,0,0, 0,840,0, ,,,,0,0, FRONTEND, ,,0,6,8000, 6,1080, 2606,0, 0,4,,,, ,OPEN,, ,,,,,,, 1,2,0,, ,,0,0,0, 6,,,,0, 1,1,4,0, 0,,0,4, 6,,, node-6, 0,0,0,0, ,0,0,0, ,0,,0,0, 0,0,DOWN, 1,1,0,0, 1,1910, 1910,,1, 2,1,,0, ,2,0,,0, L4TOUT, ,2001,0, 0,0,0,0, 0,0,,,, 0,0, node-7, 0,0,0,1, ,2,1080, 1758,,0, ,0,0,0, 0,UP,1, 1,0,0,1, 1906,4, ,1,2,2, ,1,,2,0, ,2,L7OK, 301,7,0, 1,1,0,0, 0,0,,,, 0,0, node-8, 0,0,0,0, ,0,0,0, ,0,,0,0, 0,0,DOWN, 1,1,0,0, 1,1910, 1910,,1, 2,3,,0, ,2,0,,0, L4TOUT, ,2001,0, 0,0,0,0, 0,0,,,, 0,0, BACKEND, 0,0,0,1, 8000,2, 1080,2606, 0,0,,0, 0,0,0,UP, 1,1,0,, 1,1906, 4,,1,2, 0,,1,,1, 0,,2,,, ,0,1,1, 0,0,0,, ,,,0,0, 1,FRONTEND, ,,0,1,8000, 95,14155, 79705,0, 0,0,,,, ,OPEN,, ,,,,,,, 1,3,0,, ,,0,0,0, 1,,,,0, 95,0,0, 0,0,,0, 1,95,,, 1,node- 6,0,0,0, 0,,0,0, 0,,0,,0, 0,0,0,DOWN, 1,1,0,0, 1,1910, 1910,,1, 3,1,,0, ,2,0,,0, L4TOUT, ,2000,0, 0,0,0,0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,0,0,0, 0,,0,0, 0,,0,,0, 0,0,0,DOWN, 1,1,0,0, 1,1909, 1909,,1, 5,1,,0, ,2,0,,0, L4TOUT, ,2001,0, 0,0,0,0, 0,0,,,, 0,0, 1,node- 7,0,0,0, 0,,0,0, 0,,0,,0, 0,0,0,UP, 1,1,0,0, 1,1905, 4,,1,5, 2,,0,,2, 0,,0,L4OK, ,0,0,0, 0,0,0,0, 0,,,,0, 0, 1,node- 8,0,0,0, 0,,0,0, 0,,0,,0, 0,0,0,DOWN, 1,1,0,0, 1,1909, 1909,,1, 5,3,,0, ,2,0,,0, L4TOUT, ,2001,0, 0,0,0,0, 0,0,,,, 0,0, 1,BACKEND, 0,0,0,0, 8000,0, 0,0,0,0, ,0,0,0, 0,UP,1, 1,0,,1, 1905,4, ,1,5,0, ,0,,1,0, ,0,,,,0, 0,0,0,0, 0,,,,,0, 0, 2,FRONTEND, ,,0,1,8000, 1,263,2723, 0,0,0,, ,,,OPEN, ,,,,,,, ,1,6,0, ,,,0,0, 0,1,,,, 0,1,0,0, 0,0,,0, 1,1,,, 2,node- 6,0,0,0, 0,,0,0, 0,,0...
# pxname,
private_
private_
horizon,
horizon,
horizon,
horizon,
horizon,
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
keystone-
nova-api-
nova-api-
nova-api-
nova-api-
nova-api-
nova-api-
nova-api-