[Bug 1901817] [NEW] subiquity installation (on s390x) reusing existing partitions fails with 'Network plugin raised an exception'

Frank Heimes 1901817 at bugs.launchpad.net
Wed Oct 28 08:02:18 UTC 2020


Public bug reported:

While doing a 20.10 installation and trying to re-use existing partitions:
DASD 1:
/boot
swap
DASD 2:
root
the ssh session of the installer broke like this:

$ ssh installer at lpar
installer at lpar's password: 
Welcome to Ubuntu 20.10 (GNU/Linux 5.8.0-25-generic s390x)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Oct 28 07:39:05 UTC 2020

  System load:    0.21      Memory usage: 2%   Processes:       158
  Usage of /home: unknown   Swap usage:   0%   Users logged in: 0

  => There were exceptions while processing one or more plugins. See
     /var/log/landscape/sysinfo.log for more information.


0 updates can be installed immediately.
0 of these updates are security updates.


Last login: Wed Oct 28 07:34:11 2020 from 10.172.194.67
Connection to lpar closed.
$ 

in /var/log/landscape/sysinfo.log the following error is mentioned:
2020-10-28 07:39:05,527 ERROR    Network plugin raised an exception.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
    result = plugin.run()
  File "/usr/lib/python3/dist-packages/landscape/sysinfo/network.py", line 36, in run
    device_info = self._get_device_info()
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 163, in get_active_device_info
    speed, duplex = get_network_interface_speed(
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 256, in get_network_interface_speed
    raise e
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 248, in get_network_interface_speed
    fcntl.ioctl(sock, SIOCETHTOOL, packed)  # Status ioctl() call
InterruptedError: [Errno 4] Interrupted system call
2020-10-28 07:44:24,510 ERROR    Network plugin raised an exception.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
    result = plugin.run()

I've also attached the entire content of /var/crash and /var/log
(according to /var/crash it looks like there is also another problem, since I see UI.crash and install_fail.crash)

I logs let me assume that there is an issue with sfdisk that makes me
remembering LP 1899471.

** Affects: ubuntu-z-systems
     Importance: Undecided
         Status: New

** Affects: subiquity (Ubuntu)
     Importance: Undecided
     Assignee: Canonical Foundations Team (canonical-foundations)
         Status: New


** Tags: installer s390x

** Attachment added: "28102020.tgz"
   https://bugs.launchpad.net/bugs/1901817/+attachment/5428289/+files/28102020.tgz

** Also affects: ubuntu-z-systems
   Importance: Undecided
       Status: New

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

Title:
  subiquity installation (on s390x) reusing existing partitions fails
  with 'Network plugin raised an exception'

Status in Ubuntu on IBM z Systems:
  New
Status in subiquity package in Ubuntu:
  New

Bug description:
  While doing a 20.10 installation and trying to re-use existing partitions:
  DASD 1:
  /boot
  swap
  DASD 2:
  root
  the ssh session of the installer broke like this:

  $ ssh installer at lpar
  installer at lpar's password: 
  Welcome to Ubuntu 20.10 (GNU/Linux 5.8.0-25-generic s390x)

   * Documentation:  https://help.ubuntu.com
   * Management:     https://landscape.canonical.com
   * Support:        https://ubuntu.com/advantage

    System information as of Wed Oct 28 07:39:05 UTC 2020

    System load:    0.21      Memory usage: 2%   Processes:       158
    Usage of /home: unknown   Swap usage:   0%   Users logged in: 0

    => There were exceptions while processing one or more plugins. See
       /var/log/landscape/sysinfo.log for more information.

  
  0 updates can be installed immediately.
  0 of these updates are security updates.

  
  Last login: Wed Oct 28 07:34:11 2020 from 10.172.194.67
  Connection to lpar closed.
  $ 

  in /var/log/landscape/sysinfo.log the following error is mentioned:
  2020-10-28 07:39:05,527 ERROR    Network plugin raised an exception.
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
      result = plugin.run()
    File "/usr/lib/python3/dist-packages/landscape/sysinfo/network.py", line 36, in run
      device_info = self._get_device_info()
    File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 163, in get_active_device_info
      speed, duplex = get_network_interface_speed(
    File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 256, in get_network_interface_speed
      raise e
    File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 248, in get_network_interface_speed
      fcntl.ioctl(sock, SIOCETHTOOL, packed)  # Status ioctl() call
  InterruptedError: [Errno 4] Interrupted system call
  2020-10-28 07:44:24,510 ERROR    Network plugin raised an exception.
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
      result = plugin.run()

  I've also attached the entire content of /var/crash and /var/log
  (according to /var/crash it looks like there is also another problem, since I see UI.crash and install_fail.crash)

  I logs let me assume that there is an issue with sfdisk that makes me
  remembering LP 1899471.

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



More information about the foundations-bugs mailing list