[Bug 1922940] [NEW] plugininstall.py: lsblk -lp -oNAME, FSTYPE returned non-zero exit status 32

SlickMcRunfast 1922940 at bugs.launchpad.net
Wed Apr 7 17:23:30 UTC 2021


Public bug reported:

Trying to install 21.04 beta on an nvme drive using manually defined
partitions with root encrypted. Installs fails with the error below in
syslog.

target disk is /dev/nvme0n1
efi = /dev/nvme0n1p1
/boot = /dev/nvme0n1p2
/root = /dev/mapper/luks-5f9cbb8b-f8f2-4a0d-b5cc-2204485eee2

>From SYSLOG -

Apr  7 16:55:24 ubuntu plugininstall.py: Exception during installation:
Apr  7 16:55:24 ubuntu plugininstall.py: Traceback (most recent call last):
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 1863, in <module>
Apr  7 16:55:24 ubuntu plugininstall.py:     install.run()
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 60, in wrapper
Apr  7 16:55:24 ubuntu plugininstall.py:     func(self)
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 235, in run
Apr  7 16:55:24 ubuntu plugininstall.py:     self.configure_recovery_key()
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 891, in configure_recovery_key
Apr  7 16:55:24 ubuntu plugininstall.py:     lsblk_out = subprocess.check_output(args).decode(sys.stdout.encoding)
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
Apr  7 16:55:24 ubuntu plugininstall.py:     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/lib/python3.9/subprocess.py", line 528, in run
Apr  7 16:55:24 ubuntu plugininstall.py:     raise CalledProcessError(retcode, process.args,
Apr  7 16:55:24 ubuntu plugininstall.py: subprocess.CalledProcessError: Command '['lsblk', '-lp', '-oNAME,FSTYPE', '']' returned non-zero exit status 32.

Seems new

https://git.launchpad.net/ubiquity/diff/scripts/plugininstall.py?id=0e4ca86842759767dac7c8dee31a3873e2944d6e

Command ran outside of installer-

lsblk -lp -oNAME,FSTYPE

NAME                                                  FSTYPE
/dev/loop0                                            squashfs
/dev/loop1                                            squashfs
/dev/loop2                                            squashfs
/dev/loop3                                            squashfs
/dev/loop4                                            squashfs
/dev/loop5                                            squashfs
/dev/sda                                              
/dev/sda1                                             ext4
/dev/sdb                                              
/dev/sdb1                                             ntfs
/dev/sdc                                              iso9660
/dev/sdc1                                             iso9660
/dev/sdc2                                             vfat
/dev/sdc3                                             
/dev/sdc4                                             ext4
/dev/mapper/luks-5f9cbb8b-f8f2-4a0d-b5cc-2204485eee27 btrfs
/dev/nvme0n1                                          
/dev/nvme0n1p1                                        vfat
/dev/nvme0n1p2                                        ext4
/dev/nvme0n1p4                                        ntfs
/dev/nvme0n1p3                                        crypto_LUKS
/dev/nvme0n1p5                                        ext4

More info-

 cat /proc/partitions

 major minor  #blocks  name
 259        0 2000398680 nvme0n1
 259        1     537600 nvme0n1p1
 259        2     742400 nvme0n1p2
 259        4  250000384 nvme0n1p3
 259        3  999560192 nvme0n1p4
 259        5  749556736 nvme0n1p5

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

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

Title:
  plugininstall.py: lsblk -lp -oNAME,FSTYPE returned non-zero exit
  status 32

Status in ubiquity package in Ubuntu:
  New

Bug description:
  Trying to install 21.04 beta on an nvme drive using manually defined
  partitions with root encrypted. Installs fails with the error below in
  syslog.

  target disk is /dev/nvme0n1
  efi = /dev/nvme0n1p1
  /boot = /dev/nvme0n1p2
  /root = /dev/mapper/luks-5f9cbb8b-f8f2-4a0d-b5cc-2204485eee2

  From SYSLOG -

  Apr  7 16:55:24 ubuntu plugininstall.py: Exception during installation:
  Apr  7 16:55:24 ubuntu plugininstall.py: Traceback (most recent call last):
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 1863, in <module>
  Apr  7 16:55:24 ubuntu plugininstall.py:     install.run()
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 60, in wrapper
  Apr  7 16:55:24 ubuntu plugininstall.py:     func(self)
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 235, in run
  Apr  7 16:55:24 ubuntu plugininstall.py:     self.configure_recovery_key()
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 891, in configure_recovery_key
  Apr  7 16:55:24 ubuntu plugininstall.py:     lsblk_out = subprocess.check_output(args).decode(sys.stdout.encoding)
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
  Apr  7 16:55:24 ubuntu plugininstall.py:     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  Apr  7 16:55:24 ubuntu plugininstall.py:   File "/usr/lib/python3.9/subprocess.py", line 528, in run
  Apr  7 16:55:24 ubuntu plugininstall.py:     raise CalledProcessError(retcode, process.args,
  Apr  7 16:55:24 ubuntu plugininstall.py: subprocess.CalledProcessError: Command '['lsblk', '-lp', '-oNAME,FSTYPE', '']' returned non-zero exit status 32.

  Seems new

  https://git.launchpad.net/ubiquity/diff/scripts/plugininstall.py?id=0e4ca86842759767dac7c8dee31a3873e2944d6e

  Command ran outside of installer-

  lsblk -lp -oNAME,FSTYPE

  NAME                                                  FSTYPE
  /dev/loop0                                            squashfs
  /dev/loop1                                            squashfs
  /dev/loop2                                            squashfs
  /dev/loop3                                            squashfs
  /dev/loop4                                            squashfs
  /dev/loop5                                            squashfs
  /dev/sda                                              
  /dev/sda1                                             ext4
  /dev/sdb                                              
  /dev/sdb1                                             ntfs
  /dev/sdc                                              iso9660
  /dev/sdc1                                             iso9660
  /dev/sdc2                                             vfat
  /dev/sdc3                                             
  /dev/sdc4                                             ext4
  /dev/mapper/luks-5f9cbb8b-f8f2-4a0d-b5cc-2204485eee27 btrfs
  /dev/nvme0n1                                          
  /dev/nvme0n1p1                                        vfat
  /dev/nvme0n1p2                                        ext4
  /dev/nvme0n1p4                                        ntfs
  /dev/nvme0n1p3                                        crypto_LUKS
  /dev/nvme0n1p5                                        ext4

  More info-

   cat /proc/partitions

   major minor  #blocks  name
   259        0 2000398680 nvme0n1
   259        1     537600 nvme0n1p1
   259        2     742400 nvme0n1p2
   259        4  250000384 nvme0n1p3
   259        3  999560192 nvme0n1p4
   259        5  749556736 nvme0n1p5

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



More information about the foundations-bugs mailing list