[Bug 1537136] Re: ISST-LTE: no network after install due to interface order change

Martin Pitt martin.pitt at ubuntu.com
Mon Jan 25 11:41:06 UTC 2016


This has nothing to do with bug 1473542, as in 15.04 the network
interface naming was completely changed (see
https://lists.ubuntu.com/archives/ubuntu-devel/2015-May/038761.html).

Is the attached 70-persistent-net.rules right or wrong? I. e. is the
problem that this assigns the wrong name to eth2, or that the file is
right but it is not actually applied correctly during boot? Or, in other
words, which MAC address do you actually *want* to see as eth2?

As far as I can see, the installer gives both cards (eth2 and eth3 as
they were named at install time) the exact same name:

  ? eth2: Mellanox Technologies MT27500 Family [ConnectX-3] ?
  ? eth3: Mellanox Technologies MT27500 Family [ConnectX-3] ?

So it's not immediately clear which one you want. However, it should of
course create a consistent 70-persistent-net.rules file and
/etc/network/interfaces either way.

Are you sure that eth2 and eth3 moved around? They have completely
different MAC addresses, while eth0 to eth2+eth5 and eth3/eth4 seem to
be related to each other (ascending MACs), i. e. eth0/1/2/5 are the
Emulex  ones while eth3/4 are the Mellanox ones.

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

Title:
  ISST-LTE: no network after install due to interface order change

Status in debian-installer package in Ubuntu:
  Triaged

Bug description:
  == Comment: #0 - Chanh H. Nguyen <chnguyen at us.ibm.com> - 2015-12-10 20:32:29 ==
  We use the network to install Ubuntu 14.04.4 version. The installation is successful but then there is no network after system reboot in post install. Checking the network and I saw the order of interface are changed. This is causing no network at all. 

  There is 2 cards (Houston 4ports & Mellanox 2 ports). We are using the Mellanox interface for this installation.  
  At the installation menu, we select this interface eth2 (mellanox card)

  ??????????????????????? [!!] Configure the network ????????????????????????
    ?                                                                         ?
    ? Your system has multiple network interfaces. Choose the one to use as   ?
    ? the primary network interface during the installation. If possible,     ?
    ? the first connected network interface found has been selected.          ?
    ?                                                                         ?
    ? Primary network interface:                                              ?
    ?                                                                         ?
    ?       eth0: Emulex Corporation OneConnect NIC (Lancer)                  ?
    ?       eth1: Emulex Corporation OneConnect NIC (Lancer)                  ?
    ?       eth2: Mellanox Technologies MT27500 Family [ConnectX-3]           ?
    ?       eth3: Mellanox Technologies MT27500 Family [ConnectX-3]           ?
    ?       eth4: Emulex Corporation OneConnect NIC (Lancer)                  ?
    ?       eth5: Emulex Corporation OneConnect NIC (Lancer)                  ?
    ?                                                                         ?
    ?     <Go Back>                                                           ?
    ?                                                                         ?
    ???????????????????????????????????????????????????????????????????????????

  After install,
  root at monklp3:~# ifconfig
  eth2      Link encap:Ethernet  HWaddr 00:00:c9:d1:be:28
            UP BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  lo        Link encap:Local Loopback
            inet addr:127.0.0.1  Mask:255.0.0.0
            inet6 addr: ::1/128 Scope:Host
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
            RX packets:32 errors:0 dropped:0 overruns:0 frame:0
            TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0
            RX bytes:2368 (2.3 KB)  TX bytes:2368 (2.3 KB)
  root at monklp3:~# ifconfig -a|grep eth
  eth0      Link encap:Ethernet  HWaddr 00:00:c9:d1:be:26
  eth1      Link encap:Ethernet  HWaddr 00:00:c9:d1:be:27
  eth2      Link encap:Ethernet  HWaddr 00:00:c9:d1:be:28
  eth3      Link encap:Ethernet  HWaddr 00:02:c9:b7:60:b0
  eth4      Link encap:Ethernet  HWaddr 00:02:c9:b7:60:b1
  eth5      Link encap:Ethernet  HWaddr 00:00:c9:d1:be:29
  root at monklp3:~# 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

  # The primary network interface
  auto eth2
  iface eth2 inet dhcp
  root at monklp3:~# dmesg |grep "eth"
  [    0.950725] ibmveth: IBM Power Virtual Ethernet Driver 1.05
  [    0.950735] ehea: IBM eHEA ethernet device driver (Release EHEA_0107)
  [    9.810472] mlx4_en: eth3: Link Up
  [   40.554271] be2net 0001:80:00.2 eth2: Link is Down
  [   40.560738] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
  root at monklp3:~#

  The mellanox inteface is now on eth3 but on the /etc/network/interface
  file, it is set on eth2.

  == Comment: #19 - Erwan Prioul <erwan.prioul at fr.ibm.com> - 2016-01-21 06:50:41 ==
  This makes me think it's related to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1473542

  Canonical:  please backport to 14.04.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1537136/+subscriptions



More information about the foundations-bugs mailing list