** Changed in: network-manager (Ubuntu)
   Importance: Undecided => High

** Changed in: network-manager (Ubuntu)
       Status: New => In Progress

** Package changed: network-manager (Ubuntu) => procps (Ubuntu)

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.

  Wired interface gets impossibly high metric 20100

Status in procps package in Ubuntu:
  In Progress

Bug description:
  Actually this might be a heisenbug. I've had an issue with this all
  morning since network-manager got an update this morning, but just now
  *while this bug was being submitted* it decided to correct itself.

  What I was getting was, on a machine (Dell XPS 13 9370) with WiFi and
  a (Caldigit) Thunderbolt 3 dock with an ethernet port: After the
  network-manager update I noticed everything was slower than I was used
  to, and in gnome-shell the network icon showing was the WiFi one, not
  the wired one.

  Looking at the output of route, or route -n for simplicity, I would
  see this:

  rachel@rainbow:~$ route -n
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    600    0        0 wlp2s0         UG    20100  0        0 
enp63s0     U     1000   0        0 wlp2s0   U     100    0        0 
enp63s0   U     600    0        0 wlp2s0

  So the metric on the default route on enp63s0 had 20,000 mysteriously
  added to it, which would obviously make it extremely low-priority. The
  system was choosing the wifi connection instead, which isn't that
  great in my office, hence observable slowness.

  Now, this morning, this seemed to be the sticky situation. It didn't
  show any sign of changing, whatever I did, after restarts of network-
  manager, undock/redock, reboots, etc. I could change it manually with
  ifmetric (and it would work), but that was about it.

  I would have reported the bug then, but I had to go out. When I got
  back I plugged in and initially saw the same thing again (that's where
  the above snippet was pasted from). But *while* the ubuntu-bug
  network-manager command was running, I noticed the gnome-shell network
  icon switch to wired, checked again, and saw:

  rachel@rainbow:~$ route -n
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    100    0        0 
enp63s0         UG    20600  0        0 wlp2s0     U     1000   0        0 wlp2s0   U     100    0        0 
enp63s0   U     600    0        0 wlp2s0

  So now the wifi connection has 20,000 added to it, which may still be
  wrong? But I wouldn't otherwise have noticed it because the system is
  again *behaving* as expected.

  This all seemed to happen after the network-manager upgrade (from
  1.12.6-0ubuntu4 to 1.15.2-0ubuntu1) this morning. I can't say if these
  metric+20,000 values were present before then, because I didn't have
  any cause to go looking at it, it always just worked. Could it be some
  issue with how the newer network-manager, or one of its associated
  packages, is figuring out the metrics on new connections? Like it's
  running some new heuristic to determine which one should really be the
  preferred? If it's like it was just now, when it fixed itself after a
  minute or so, that's not really a problem, but if it's like it was
  this morning when it just seemed to be stuck with the ethernet
  connection at 20100, it is.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: network-manager 1.15.2-0ubuntu1
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  Uname: Linux 4.18.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu19
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Feb  1 13:15:06 2019
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2018-09-11 (142 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
   default via dev wlp2s0 proto dhcp metric 600 
   default via dev enp63s0 proto dhcp metric 20100 dev wlp2s0 scope link metric 1000 dev enp63s0 proto kernel scope link src metric 
100 dev wlp2s0 proto kernel scope link src metric 
   1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to disco on 2019-01-13 (18 days ago)
                                CONNECTION      CON-UUID                        
   wlp2s0   wifi      connected  full              limited           
/org/freedesktop/NetworkManager/Devices/2  Strange Noises  
   enp63s0  ethernet  connected  limited           limited           
/org/freedesktop/NetworkManager/Devices/4  enp63s0         
   lo       loopback  unmanaged  unknown           unknown           
/org/freedesktop/NetworkManager/Devices/1  --              --                   
   running  1.15.2   connected  started  full          enabled     enabled  
enabled  enabled  enabled

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to