← Back to team overview

touch-packages team mailing list archive

[Bug 1414544] Re: Machine never boots, stuck at network bringup

 

I'm trying to reproduce this in a VM with two ethernet cards (-net user
-net nic,model=virtio -net nic,model=virtio). Like that it fails with

$ sudo ifup -a
Cannot find device "bond0"
Failed to bring up bond0.

I tried to install ifenslave, is that the package you are using/have
installed too? With that I get further: "sudo ifup -a" succeeds in a
second with "Waiting for bond master bond0 to be ready", "ip a" shows
that eth0 and eth1 are UP, eth0 has 10.0.2.15, eth1 has no IP, and bond0
is UP and has 10.0.2.16.

"ip route" looks a little odd:

default via 10.0.2.2 dev bond0
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15
10.0.2.0/24 dev bond0 proto kernel scope link src 10.0.2.16

so I have two routes to the same network. IP connections don't actually
work, neither outside, nor inside, even through the local port
forwarding (-redir tcp:22000::22).

This is all with upstart, so I guess I don't understand yet how bond
interfaces are supposed to work and how to reproduce them.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1414544

Title:
  Booting stuck at network bringup with bond interfaces

Status in systemd package in Ubuntu:
  Triaged

Bug description:
  root@lantea:~# cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # Physical network interfaces
  auto eth0
  iface eth0 inet manual
      bond-master bond0

  auto eth1
  iface eth1 inet manual
      bond-master bond0

  # Bond
  auto bond0
  iface bond0 inet dhcp
      bond-slaves none
      bond-mode 802.3ad
      bond-miimon 100
      hwaddress 00:1b:21:2c:0d:4b

  
  That's a fairly common bond configuration which works great with upstart but which when booting with systemd will hang at network bringup time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1414544/+subscriptions


References