Later I do following: * singletoning neutron server to the node-1 * enabling debug on node-1 * restarting on node-1 server and agents
some time l3-agent don't create router namespaces: root@node-1:/var/log/neutron# ip netns haproxy root@node-1:/var/log/neutron# neutron l3-agent-list-hosting-router router04 +--------------------------------------+--------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+--------+----------------+-------+ | 021bce30-d7da-4143-bc61-0a2995a086ce | node-1 | True | :-) | +--------------------------------------+--------+----------------+-------+ root@node-1:/var/log/neutron# ip netns haproxy
but some tome after:
root@node-1:/var/log/neutron# neutron l3-agent-list-hosting-router router04 +--------------------------------------+--------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+--------+----------------+-------+ | 021bce30-d7da-4143-bc61-0a2995a086ce | node-1 | True | :-) | +--------------------------------------+--------+----------------+-------+ root@node-1:/var/log/neutron# ip netns qrouter-8334420c-818c-4abb-9e78-3a9d12288f1a qrouter-8dd0cb25-054e-4373-a191-91cb8dbc9c64 haproxy root@node-1:/var/log/neutron# ip netns exec qrouter-8dd0cb25-054e-4373-a191-91cb8dbc9c64 ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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 80: qr-13a0e6db-b0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether fa:16:3e:91:5e:71 brd ff:ff:ff:ff:ff:ff inet 192.168.111.1/24 brd 192.168.111.255 scope global qr-13a0e6db-b0 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe91:5e71/64 scope link valid_lft forever preferred_lft forever 82: qg-19bc0777-d6: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether fa:16:3e:10:76:fd brd ff:ff:ff:ff:ff:ff inet 10.77.11.130/24 brd 10.77.11.255 scope global qg-19bc0777-d6 valid_lft forever preferred_lft forever inet 10.77.11.138/32 brd 10.77.11.138 scope global qg-19bc0777-d6 valid_lft forever preferred_lft forever inet 10.77.11.139/32 brd 10.77.11.139 scope global qg-19bc0777-d6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe10:76fd/64 scope link valid_lft forever preferred_lft forever root@node-1:/var/log/neutron# ip netns exec qrouter-8dd0cb25-054e-4373-a191-91cb8dbc9c64 ping 192.168.111.33 PING 192.168.111.33 (192.168.111.33) 56(84) bytes of data. From 192.168.111.1 icmp_seq=1 Destination Host Unreachable From 192.168.111.1 icmp_seq=2 Destination Host Unreachable From 192.168.111.1 icmp_seq=3 Destination Host Unreachable From 192.168.111.1 icmp_seq=4 Destination Host Unreachable From 192.168.111.1 icmp_seq=5 Destination Host Unreachable From 192.168.111.1 icmp_seq=6 Destination Host Unreachable ^C --- 192.168.111.33 ping statistics --- 9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8117ms pipe 3 root@node-1:/var/log/neutron# ip netns exec qrouter-8dd0cb25-054e-4373-a191-91cb8dbc9c64 ping 192.168.111.29 PING 192.168.111.29 (192.168.111.29) 56(84) bytes of data. From 192.168.111.1 icmp_seq=1 Destination Host Unreachable From 192.168.111.1 icmp_seq=2 Destination Host Unreachable From 192.168.111.1 icmp_seq=3 Destination Host Unreachable From 192.168.111.1 icmp_seq=4 Destination Host Unreachable From 192.168.111.1 icmp_seq=5 Destination Host Unreachable From 192.168.111.1 icmp_seq=6 Destination Host Unreachable ^C --- 192.168.111.29 ping statistics --- 6 packets transmitted, 0 received, +6 errors, 100% packet loss, time 5013ms pipe 3 root@node-1:/var/log/neutron#
Later I do following:
* singletoning neutron server to the node-1
* enabling debug on node-1
* restarting on node-1 server and agents
some time l3-agent don't create router namespaces: 1:/var/ log/neutron# ip netns 1:/var/ log/neutron# neutron l3-agent- list-hosting- router router04 ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ d7da-4143- bc61-0a2995a086 ce | node-1 | True | :-) | ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ 1:/var/ log/neutron# ip netns
root@node-
haproxy
root@node-
+------
| id | host | admin_state_up | alive |
+------
| 021bce30-
+------
root@node-
haproxy
but some tome after:
root@node- 1:/var/ log/neutron# neutron l3-agent- list-hosting- router router04 ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ d7da-4143- bc61-0a2995a086 ce | node-1 | True | :-) | ------- ------- ------- ------- ----+-- ------+ ------- ------- --+---- ---+ 1:/var/ log/neutron# ip netns 8334420c- 818c-4abb- 9e78-3a9d12288f 1a 8dd0cb25- 054e-4373- a191-91cb8dbc9c 64 1:/var/ log/neutron# ip netns exec qrouter- 8dd0cb25- 054e-4373- a191-91cb8dbc9c 64 ip a UP,LOWER_ UP> mtu 65536 qdisc noqueue state UNKNOWN UP,LOWER_ UP> mtu 1500 qdisc noqueue state UNKNOWN 3eff:fe91: 5e71/64 scope link UP,LOWER_ UP> mtu 1500 qdisc noqueue state UNKNOWN 3eff:fe10: 76fd/64 scope link 1:/var/ log/neutron# ip netns exec qrouter- 8dd0cb25- 054e-4373- a191-91cb8dbc9c 64 ping 192.168.111.33 1:/var/ log/neutron# ip netns exec qrouter- 8dd0cb25- 054e-4373- a191-91cb8dbc9c 64 ping 192.168.111.29 1:/var/ log/neutron#
+------
| id | host | admin_state_up | alive |
+------
| 021bce30-
+------
root@node-
qrouter-
qrouter-
haproxy
root@node-
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
80: qr-13a0e6db-b0: <BROADCAST,
link/ether fa:16:3e:91:5e:71 brd ff:ff:ff:ff:ff:ff
inet 192.168.111.1/24 brd 192.168.111.255 scope global qr-13a0e6db-b0
valid_lft forever preferred_lft forever
inet6 fe80::f816:
valid_lft forever preferred_lft forever
82: qg-19bc0777-d6: <BROADCAST,
link/ether fa:16:3e:10:76:fd brd ff:ff:ff:ff:ff:ff
inet 10.77.11.130/24 brd 10.77.11.255 scope global qg-19bc0777-d6
valid_lft forever preferred_lft forever
inet 10.77.11.138/32 brd 10.77.11.138 scope global qg-19bc0777-d6
valid_lft forever preferred_lft forever
inet 10.77.11.139/32 brd 10.77.11.139 scope global qg-19bc0777-d6
valid_lft forever preferred_lft forever
inet6 fe80::f816:
valid_lft forever preferred_lft forever
root@node-
PING 192.168.111.33 (192.168.111.33) 56(84) bytes of data.
From 192.168.111.1 icmp_seq=1 Destination Host Unreachable
From 192.168.111.1 icmp_seq=2 Destination Host Unreachable
From 192.168.111.1 icmp_seq=3 Destination Host Unreachable
From 192.168.111.1 icmp_seq=4 Destination Host Unreachable
From 192.168.111.1 icmp_seq=5 Destination Host Unreachable
From 192.168.111.1 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.111.33 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8117ms
pipe 3
root@node-
PING 192.168.111.29 (192.168.111.29) 56(84) bytes of data.
From 192.168.111.1 icmp_seq=1 Destination Host Unreachable
From 192.168.111.1 icmp_seq=2 Destination Host Unreachable
From 192.168.111.1 icmp_seq=3 Destination Host Unreachable
From 192.168.111.1 icmp_seq=4 Destination Host Unreachable
From 192.168.111.1 icmp_seq=5 Destination Host Unreachable
From 192.168.111.1 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.111.29 ping statistics ---
6 packets transmitted, 0 received, +6 errors, 100% packet loss, time 5013ms
pipe 3
root@node-