"We understand Network Manager is good for desktop but not servers." I
would not phrase it this away. On Ubuntu, Desktop defaults to
NetworkManager and Server defaults to netplan&networkd. Previously we
defaulted to NetworkManager & ifupdown.

"But given the stability NetworkManager is bringing in and ease of use
across different operating systems, i assume users are not restricted
not to use NetworkManager for servers." I would significantly challenge
those statements. NetworkManager is extremely flakey, and consistently
fails to reliably bring complex network configurations up, as exercised
by our stress testing. It also is far from easy to use. Wrt. users
restrictions, Ubuntu tries to guide users to an obviously correct, easy,
default and obvious ways of doing things. However, we do indeed allow
users to break their systems and keep all the broken pieces.

"The reason being we going with network manager as explained is to reuse
the code for all distros." I don't believe that's the right thing to do,
as that does not validate how end customers will use respective distros
on z hardware. All customers will most likely use whatever each distro
installer sets up, and will not tear that out and go out of their way to
use networkmanager in a lowest common denominator configuration (e.g.
Ubuntu's network-manager is patched, and is at a different version level
than other distros)

"Note : Netplan is not present/installed in our ubuntu. So by default we
are expecting network manager to work."

After installing a system, if you want netplan to be out of the way -
and have the ability to use straight-up netwokrd/NM/etc, I'd rather
recommend removing /etc/netplan/* configs and rebooting, without
uninstalling netplan.io package. This would guarantee that interfaces
are undeclared as managed-on-unmanaged by anything.

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

Title:
  Network Manager is not able to manage the devices on Ubuntu 18.04

Status in Ubuntu on IBM z Systems:
  Invalid
Status in network-manager package in Ubuntu:
  Invalid

Bug description:
  NetworkManager is not able to manage the devices on latest Ubuntu(18.04)
   
  ---uname output---
  Linux (none) 4.15.0-12-generic #13-Ubuntu SMP Wed Mar 7 21:36:36 UTC 2018 
s390x s390x s390x GNU/Linux
   
  Machine Type = z14 s390 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   1. Install the latest Ubuntu(18.04) with Network Manager(1.10.4).
  2. Configure a network device and login to the partition through ssh.
  3. Now you can see the following output
          root@(none):~# nmcli d s
          DEVICE  TYPE      STATE      CONNECTION
          eth0    ethernet  unmanaged  --
          eth1    ethernet  unmanaged  --
          lo      loopback  unmanaged  --
   
  Userspace tool common name: 1.10.6-2ubuntu1: amd64 arm64 armhf i386 ppc64el 
s390x 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace rpm: NetworkManager --version 1.10.4

  Userspace tool obtained from project website:  na 
   

  Some more information about the issue:

  Network device has been configured manually after the image is up from 
Support Element(SE):
      - znetconf -a <dev_id>
      - cat /sys/bus/ccwgroup/drivers/qeth/<dev_id>/if_name
      - ifconfig <interface_name> <ip_address> netmask 255.255.255.0
      - route add default gw <gateway_address> <interface_name>
      - SSH service has been configured
      
  This helped us to login to the Lpar. In Lpar
      - output of znetconf -c
          Device IDs                 Type    Card Type      CHPID Drv. Name     
        State
          
-------------------------------------------------------------------------------------
          0.0.1a80,0.0.1a81,0.0.1a82 1731/01 OSD_10GIG         A8 qeth eth0     
        online
          0.0.1810,0.0.1811,0.0.1812 1731/01 OSD_1000          D0 qeth eth1     
        online

      - output of nmcli c s
          root@(none):~# nmcli c s
          NAME  UUID  TYPE  DEVICE
      
      - output of nmcli d s
          root@(none):~# nmcli d s
          DEVICE  TYPE      STATE      CONNECTION
          eth0    ethernet  unmanaged  --
          eth1    ethernet  unmanaged  --
          lo      loopback  unmanaged  --
          
          * The above output shows that devices are not managed by nmcli
          
  After some investigation we found couple of suggestions like
  1. Ubuntu(version <17.04): Creating an empty 
file(/etc/NetworkManager/conf.d/10-globally-managed-devices.conf) and 
restarting NM,
     solved the issue.
     
  2. Ubuntu(version 17.10): Copying the said 
file(10-globally-managed-devices.conf) from /usr/lib to /etc/ and modifying the 
     "unmanaged-devices" to none, resolved the issue.

  * link for reference: https://bugs.launchpad.net/ubuntu/+source
  /network-manager/+bug/1638842

  For the latest version(18.04), none of the above solutions worked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1772859/+subscriptions

-- 
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