After the vm unbinds the floating ip, there are residual ip rules in the qrouter namespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
environment: Stein
We perform the following operations:
1.Bind floating IP to virtual machine
[root@openstack597 /home/yuanshuo1]# ip netns exec qrouter-
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
2: rfp-f45f1272-
link/ether ea:40:b9:51:9c:41 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 169.254.102.246/31 scope global rfp-f45f1272-5
valid_lft forever preferred_lft forever
inet 169.254.120.48/31 scope global rfp-f45f1272-5
valid_lft forever preferred_lft forever
inet 169.254.94.174/31 scope global rfp-f45f1272-5
valid_lft forever preferred_lft forever
inet6 fe80::e840:
valid_lft forever preferred_lft forever
531: qr-6644cff4-ea: <BROADCAST,
link/ether fa:16:3e:b7:ec:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 brd 192.168.100.255 scope global qr-6644cff4-ea
valid_lft forever preferred_lft forever
inet6 fe80::f816:
valid_lft forever preferred_lft forever
[root@openstack597 /home/yuanshuo1]# ip netns exec qrouter-
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
52469: from 192.168.100.128 lookup 16
3232261121: from 192.168.100.1/24 lookup 3232261121
2.restart the l3-agent service
systemctl restart neutron-
3.The virtual machine unbinds the floating IP, observes the ip rule in the qrouter namespace, and finds that the configuration remains
[root@openstack597 /home/yuanshuo1]# ip netns exec qrouter-
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
52469: from 192.168.100.128 lookup 16
3232261121: from 192.168.100.1/24 lookup 3232261121
[root@openstack597 /home/yuanshuo1]# ip netns exec qrouter-
default via 169.254.94.175 dev rfp-f45f1272-5
This problem will cause the virtual machine to fail to access the Internet
tags: | added: l3-dvr-backlog |
yuanshuo, does this happen 100% of the time? I was unable to reproduce on my setup.