yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41030
[Bug 1515535] [NEW] Multiple tap device in HA dhcp namespace for the same subnet
Public bug reported:
in an HA environment( 3 controller node in Kilo), normally,the DHCP agent works well, when I create an network for 192.168.1.0/24,
commonly, the ip for dhcp port will be 192.168.1.2/3/4.
but after some testcases, either by restart the HOST, or unplug the
HOST networks ( I am not sure about the concrete reason),
the dhcp netns changes as below:
in general , a) the ip for tap device in the namespace changed. b)
the 1st dhcp ns has one tap device, and 2nd has two tap device, and 3rd
has three
------------------------------------------------------------------------------------------------------------------
[root@controller1 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
20: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
[root@controller2 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
129: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
valid_lft forever preferred_lft forever
[root@controller3 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
17: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
valid_lft forever preferred_lft forever
141: tapf300a0aa-ae: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:5e:fe:92 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.186/24 brd 192.168.207.255 scope global tapf300a0aa-ae
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tapf300a0aa-ae
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe5e:fe92/64 scope link
valid_lft forever preferred_lft forever
** Affects: neutron
Importance: Undecided
Status: New
** Description changed:
- in an HA environment( 3 controller node), normally,the DHCP agent works well, when I create an network for 192.168.1.0/24,
+ in an HA environment( 3 controller node in Kilo), normally,the DHCP agent works well, when I create an network for 192.168.1.0/24,
commonly, the ip for dhcp port will be 192.168.1.2/3/4.
- but after some testcases, either by restart the HOST, or unplug the
+ but after some testcases, either by restart the HOST, or unplug the
HOST networks ( I am not sure about the concrete reason),
- the dhcp netns changes as below:
-
- in general , a) the ip for tap device in the namespace changed. b) the 1st dhcp ns has one tap device, and 2nd has two tap device, and 3rd has three
+ the dhcp netns changes as below:
+
+ in general , a) the ip for tap device in the namespace changed. b)
+ the 1st dhcp ns has one tap device, and 2nd has two tap device, and 3rd
+ has three
------------------------------------------------------------------------------------------------------------------
[root@controller1 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
- 20: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe1f:5799/64 scope link
- valid_lft forever preferred_lft forever
+ 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
+ 20: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe1f:5799/64 scope link
+ valid_lft forever preferred_lft forever
[root@controller2 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
- 14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe1f:5799/64 scope link
- valid_lft forever preferred_lft forever
- 129: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
- valid_lft forever preferred_lft forever
+ 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
+ 14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe1f:5799/64 scope link
+ valid_lft forever preferred_lft forever
+ 129: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
+ valid_lft forever preferred_lft forever
[root@controller3 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
- 14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe1f:5799/64 scope link
- valid_lft forever preferred_lft forever
- 17: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
- valid_lft forever preferred_lft forever
- 141: tapf300a0aa-ae: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- link/ether fa:16:3e:5e:fe:92 brd ff:ff:ff:ff:ff:ff
- inet 192.168.207.186/24 brd 192.168.207.255 scope global tapf300a0aa-ae
- valid_lft forever preferred_lft forever
- inet 169.254.169.254/16 brd 169.254.255.255 scope global tapf300a0aa-ae
- valid_lft forever preferred_lft forever
- inet6 fe80::f816:3eff:fe5e:fe92/64 scope link
- valid_lft forever preferred_lft forever
+ 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
+ 14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe1f:5799/64 scope link
+ valid_lft forever preferred_lft forever
+ 17: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
+ valid_lft forever preferred_lft forever
+ 141: tapf300a0aa-ae: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
+ link/ether fa:16:3e:5e:fe:92 brd ff:ff:ff:ff:ff:ff
+ inet 192.168.207.186/24 brd 192.168.207.255 scope global tapf300a0aa-ae
+ valid_lft forever preferred_lft forever
+ inet 169.254.169.254/16 brd 169.254.255.255 scope global tapf300a0aa-ae
+ valid_lft forever preferred_lft forever
+ inet6 fe80::f816:3eff:fe5e:fe92/64 scope link
+ valid_lft forever preferred_lft forever
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1515535
Title:
Multiple tap device in HA dhcp namespace for the same subnet
Status in neutron:
New
Bug description:
in an HA environment( 3 controller node in Kilo), normally,the DHCP agent works well, when I create an network for 192.168.1.0/24,
commonly, the ip for dhcp port will be 192.168.1.2/3/4.
but after some testcases, either by restart the HOST, or unplug the
HOST networks ( I am not sure about the concrete reason),
the dhcp netns changes as below:
in general , a) the ip for tap device in the namespace changed.
b) the 1st dhcp ns has one tap device, and 2nd has two tap device,
and 3rd has three
------------------------------------------------------------------------------------------------------------------
[root@controller1 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
20: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
[root@controller2 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
129: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
valid_lft forever preferred_lft forever
[root@controller3 ~]# ip netns exec qdhcp-dde8c382-0660-41a8-bbcc-cdc7e0b8b20a 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
14: tap1ea190c7-d8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1f:57:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.184/24 brd 192.168.207.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tap1ea190c7-d8
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1f:5799/64 scope link
valid_lft forever preferred_lft forever
17: tape6f6da9c-34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:1a:dd:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.185/24 brd 192.168.207.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tape6f6da9c-34
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe1a:dd18/64 scope link
valid_lft forever preferred_lft forever
141: tapf300a0aa-ae: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:5e:fe:92 brd ff:ff:ff:ff:ff:ff
inet 192.168.207.186/24 brd 192.168.207.255 scope global tapf300a0aa-ae
valid_lft forever preferred_lft forever
inet 169.254.169.254/16 brd 169.254.255.255 scope global tapf300a0aa-ae
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe5e:fe92/64 scope link
valid_lft forever preferred_lft forever
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1515535/+subscriptions