[Bug 1565804] Re: ifup of vlan interfaces failing during networking start - RTNETLINK answers: File exists
Cassondra Foesch
puellanivis at gmail.com
Thu May 19 07:39:06 UTC 2016
I'm running into this issue as well. By moving my "mtu 9000" to the same
"post-up ifconfig $IFACE mtu 9000" that I was using for all of my other
interfaces, it at least started to actually bring the interface up, and
set the gateway correctly. But it is still not setting the mtu properly
for the vlan4 device, and only the vlan4 device.
(Irrelevant data trimmed from pastes below)
$ cat /etc/network/interfaces
# The primary network interface
auto enp3s0f0
iface enp3s0f0 inet manual
bond-master bond0
post-up ifconfig $IFACE mtu 9000
auto enp3s0f1
iface enp3s0f1 inet manual
bond-master bond0
post-up ifconfig $IFACE mtu 9000
auto bond0
iface bond0 inet manual
bond-slaves enp3s0f0 enp3s0f1
post-up ifconfig $IFACE mtu 9000
auto mesh0
iface mesh0 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
post-up ifconfig $IFACE mtu 9000
auto vlan4
iface vlan4 inet static
address 10.42.0.6
netmask 255.255.255.0
gateway 10.42.0.1
post-up ifconfig $IFACE mtu 9000
vlan-raw-device mesh0
$ systemctl status networking
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
└─50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since Do 2016-05-19 07:22:30 UTC; 9min ago
Docs: man:interfaces(5)
Process: 3610 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 3341 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 3610 (code=exited, status=1/FAILURE)
Mai 19 07:22:27 gloss.orion.snow.mesh ifup[3610]: /sbin/ifup: waiting for lock on /run/network/ifstate.enp3s0f0
Mai 19 07:22:29 gloss.orion.snow.mesh ifup[3610]: /sbin/ifup: waiting for lock on /run/network/ifstate.enp3s0f1
Mai 19 07:22:29 gloss.orion.snow.mesh ifup[3610]: Waiting for mesh0 to get ready (MAXWAIT is 2 seconds).
Mai 19 07:22:30 gloss.orion.snow.mesh ifup[3610]: Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Mai 19 07:22:30 gloss.orion.snow.mesh ifup[3610]: RTNETLINK answers: File exists
Mai 19 07:22:30 gloss.orion.snow.mesh ifup[3610]: Failed to bring up vlan4.
Mai 19 07:22:30 gloss.orion.snow.mesh systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Mai 19 07:22:30 gloss.orion.snow.mesh systemd[1]: Failed to start Raise network interfaces.
Mai 19 07:22:30 gloss.orion.snow.mesh systemd[1]: networking.service: Unit entered failed state.
Mai 19 07:22:30 gloss.orion.snow.mesh systemd[1]: networking.service: Failed with result 'exit-code'.
$ /sbin/ifconfig
bond0 Link encap:Ethernet HWaddr 00:25:90:14:cb:d8
inet6 addr: fe80::225:90ff:fe14:cbd8/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
RX packets:27794 errors:0 dropped:0 overruns:0 frame:0
TX packets:78498 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:1000
enp3s0f0 Link encap:Ethernet HWaddr 00:25:90:14:cb:d8
UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
RX packets:9964 errors:0 dropped:0 overruns:0 frame:0
TX packets:39249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
enp3s0f1 Link encap:Ethernet HWaddr 00:25:90:14:cb:d8
UP BROADCAST RUNNING SLAVE MULTICAST MTU:9000 Metric:1
RX packets:17830 errors:0 dropped:0 overruns:0 frame:0
TX packets:39249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
mesh0 Link encap:Ethernet HWaddr 00:25:90:14:cb:d8
inet6 addr: fe80::225:90ff:fe14:cbd8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:103632 errors:0 dropped:0 overruns:0 frame:0
TX packets:7722 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
vlan4 Link encap:Ethernet HWaddr 16:4d:22:46:c5:54
inet addr:10.42.0.6 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::144d:22ff:fe46:c554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14949 errors:0 dropped:0 overruns:0 frame:0
TX packets:7714 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
But at least now, I'll be stuck wondering why my transfer speeds are
capped at 2Gb/s now instead of “why can I talk to everything BUT the
actual server itself?” (I can even access the two virtual machines
underneath!)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1565804
Title:
ifup of vlan interfaces failing during networking start - RTNETLINK
answers: File exists
Status in ifupdown package in Ubuntu:
New
Bug description:
/e/n/i:
auto lo
iface lo inet loopback
dns-nameservers 10.245.168.2
dns-search dellstack
auto eth0
iface eth0 inet static
gateway 10.245.168.1
address 10.245.168.17/21
dns-nameservers 10.245.168.2
mtu 1500
auto eth1
iface eth1 inet manual
mtu 1500
auto eth1.2667
iface eth1.2667 inet static
address 10.245.184.20/24
vlan-raw-device eth1
mtu 9000
vlan_id 2667
output from networking startup:
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
└─50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since Mon 2016-04-04 12:14:26 UTC; 1h 33min ago
Docs: man:interfaces(5)
Process: 1255 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 868 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited,
Main PID: 1255 (code=exited, status=1/FAILURE)
Apr 04 12:14:25 reflecting-attraction systemd[1]: Starting Raise network interfaces...
Apr 04 12:14:26 reflecting-attraction ifup[1255]: Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
Apr 04 12:14:26 reflecting-attraction ifup[1255]: RTNETLINK answers: File exists
Apr 04 12:14:26 reflecting-attraction ifup[1255]: Failed to bring up eth1.2667.
Apr 04 12:14:26 reflecting-attraction systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Apr 04 12:14:26 reflecting-attraction systemd[1]: Failed to start Raise network interfaces.
Apr 04 12:14:26 reflecting-attraction systemd[1]: networking.service: Unit entered failed state.
Apr 04 12:14:26 reflecting-attraction systemd[1]: networking.service: Failed with result 'exit-code'.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ifupdown 0.8.10ubuntu1
ProcVersionSignature: User Name 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
Date: Mon Apr 4 13:42:48 2016
SourcePackage: ifupdown
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1565804/+subscriptions
More information about the foundations-bugs
mailing list