Summary: |
systemd-networkd: won't bring up interface with many VLANs |
Product: |
systemd
|
Reporter: |
Malte Starostik <bugs> |
Component: |
general | Assignee: |
Tom Gundersen <teg> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
systemd-bugs |
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
test script
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 95657 [details] test script systemd-networkd fails to properly bring up a network interface when the number of VLANs configured on it exceeds a certain amount. The exact number of VLANs required to trigger the problem varies, but in general it starts to get unreliable somewhere at 20+ VLANs. The problem is in the failing case, the underlying interface's link is not brought up and thus all the VLANs sit there in M-DOWN state. Once the link is brought up with e.g. ip link set enp11s0f0 up and systemd-networkd restarted, things start to work even after failure. A script to test this is attached, contains two configurables and a safety measure. Affected system runs Gentoo, first noticed with 210, still happens with 211. Working case with 10 VLANs: 512: test-2@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 513: test-3@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 514: test-4@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 515: test-5@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 516: test-6@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 517: test-7@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 518: test-8@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 519: test-9@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 520: test-10@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 509: enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 510: enp11s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether a4:4c:11:de:6d:e1 brd ff:ff:ff:ff:ff:ff 511: test-1@enp11s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff -- Logs begin at Tue 2014-03-11 14:52:35 CET, end at Wed 2014-03-12 13:27:00 CET. -- Mar 12 13:26:57 jmbvirt04 systemd[1]: Stopped Network Service. Mar 12 13:26:57 jmbvirt04 systemd[1]: Starting Network Service... Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-1: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-2: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-3: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-4: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-5: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-6: netdev ready Mar 12 13:26:57 jmbvirt04 systemd[1]: Started Network Service. Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-7: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-8: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-9: netdev ready Mar 12 13:26:57 jmbvirt04 systemd-networkd[3240]: test-10: netdev ready Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: enp11s0f0: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-2: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: enp11s0f0: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-7: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-4: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-2: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-1: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-4: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-5: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-5: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-9: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-3: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-7: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-6: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-9: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-8: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-10: link configured Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-1: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-3: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-6: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-8: link is up Mar 12 13:26:58 jmbvirt04 systemd-networkd[3240]: test-10: link is up Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: enp11s0f0: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-1: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-2: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-3: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-4: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-5: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-6: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-7: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-8: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-9: carrier on Mar 12 13:27:00 jmbvirt04 systemd-networkd[3240]: test-10: carrier on ============= Broken case with 40 VLANs, note the missing link up and link configured messages for enp11s0f0: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 651: enp11s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 652: enp11s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether a4:4c:11:de:6d:e1 brd ff:ff:ff:ff:ff:ff 653: test-1@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 654: test-2@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 655: test-3@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 656: test-4@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 657: test-5@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 658: test-6@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 659: test-7@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 660: test-8@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 661: test-9@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 662: test-10@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 663: test-11@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 664: test-12@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 665: test-13@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 666: test-14@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 667: test-15@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 668: test-16@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 669: test-17@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 670: test-18@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 671: test-19@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 672: test-20@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 673: test-21@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 674: test-22@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 675: test-23@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 676: test-24@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 677: test-25@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 678: test-26@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 679: test-27@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 680: test-28@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 681: test-29@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 682: test-30@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 683: test-31@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 684: test-32@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 685: test-33@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 686: test-34@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 687: test-35@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 688: test-36@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 689: test-37@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 690: test-38@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 691: test-39@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff 692: test-40@enp11s0f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether a4:4c:11:de:6d:e0 brd ff:ff:ff:ff:ff:ff -- Logs begin at Tue 2014-03-11 14:52:35 CET, end at Wed 2014-03-12 13:29:03 CET. -- Mar 12 13:29:01 jmbvirt04 systemd[1]: Stopped Network Service. Mar 12 13:29:02 jmbvirt04 systemd[1]: Starting Network Service... Mar 12 13:29:02 jmbvirt04 systemd[1]: Started Network Service. Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-1: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-2: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-6: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-10: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-3: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-12: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-9: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-4: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-18: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-7: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-19: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-14: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-15: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-16: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-26: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-11: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-8: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-13: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-21: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-32: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-24: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-20: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-25: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-27: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-17: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-22: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-35: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-28: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-5: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-23: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-29: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-34: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-33: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-31: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-39: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-40: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-38: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-30: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-37: link configured Mar 12 13:29:02 jmbvirt04 systemd-networkd[3925]: test-36: link configured