[Bug 1805636] [NEW] netcfg doesn't work correctly with bond interfaces during ubuntu server installation

Tina 1805636 at bugs.launchpad.net
Wed Nov 28 13:57:08 UTC 2018


Public bug reported:

When trying to preseed an Ubuntu Server 16.04.4 LTS installation I have run in into a problem:
I have two ethernet interfaces, and configured a bond0 interface with a bond0.1 vlan interface. 

But I've noticed when the installer gets to the netcfg part
(v1.135ubuntu4.5) it first flushes all network interfaces, than brings
all interfaces down, and then brings up only one interface that was
chosen from the GUI installation  (all four interfaces were available,
and I chose bond0.1, it will likely behave the same way when trying to
automate it all using a BOOTIF=bond0.1 entry).

Having only one interface up is not very good, since bond0.1 needs bond0
and at least one hw interface up to work properly.

This results in the installer not being able to get the address from
DHCP, if I intervene after the error, manually bring up all the
interfaces, and then retry network auto-configuration it gets the
address from DHCP and I can continue installing as usual.

I believe it would be possible to fix this behaviour if netcfg would
check if the chosen interface is a bond* and then it would bring all
other bond interfaces and slaves (or at lease all the hw interfaces that
have a link) up.

** Affects: netcfg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bonding installation installer netcfg

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1805636

Title:
  netcfg doesn't work correctly with bond interfaces during ubuntu
  server installation

Status in netcfg package in Ubuntu:
  New

Bug description:
  When trying to preseed an Ubuntu Server 16.04.4 LTS installation I have run in into a problem:
  I have two ethernet interfaces, and configured a bond0 interface with a bond0.1 vlan interface. 

  But I've noticed when the installer gets to the netcfg part
  (v1.135ubuntu4.5) it first flushes all network interfaces, than brings
  all interfaces down, and then brings up only one interface that was
  chosen from the GUI installation  (all four interfaces were available,
  and I chose bond0.1, it will likely behave the same way when trying to
  automate it all using a BOOTIF=bond0.1 entry).

  Having only one interface up is not very good, since bond0.1 needs
  bond0 and at least one hw interface up to work properly.

  This results in the installer not being able to get the address from
  DHCP, if I intervene after the error, manually bring up all the
  interfaces, and then retry network auto-configuration it gets the
  address from DHCP and I can continue installing as usual.

  I believe it would be possible to fix this behaviour if netcfg would
  check if the chosen interface is a bond* and then it would bring all
  other bond interfaces and slaves (or at lease all the hw interfaces
  that have a link) up.

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



More information about the foundations-bugs mailing list