[Bug 2107523] Comment bridged from LTC Bugzilla

bugproxy 2107523 at bugs.launchpad.net
Sun Oct 26 21:39:31 UTC 2025


------- Comment From Anushree.Mathur2 at ibm.com 2025-10-26 17:38 EDT-------
Hi Amit/Hari,

I tried the exact same steps to run on the latest ubuntu and the guest
installation is working fine even when the SAN disks are attached to the
guest and the multipathd service is running on the host.

Host details:

root at ubuntu:~# uname -a
Linux ubuntu 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 ppc64le GNU/Linux
root at ubuntu:~# libvirtd --version
libvirtd (libvirt) 11.6.0
root at ubuntu:~# qemu-system-ppc64 --version
QEMU emulator version 10.1.0 (Debian 1:10.1.0+ds-5ubuntu2)
Copyright (c) 2003-2025 Fabrice Bellard and the QEMU Project developers

Steps I tried:
1) Started the guest with SAN disks attached as installation disk for guest
2) Started the multipath service on host
3) Proceeded with the installation on the guest.

[  133.011155] cloud-init[1140]: +----[SHA256]-----+
[  133.011579] sh[1542]: Completed socket interaction for boot stage final

Ubuntu 25.10 ubuntu hvc0

ubuntu login: root
Password:
Login incorrect

ubuntu login: ubuntu
Password:
Welcome to Ubuntu 25.10 (GNU/Linux 6.17.0-5-generic ppc64le)

* Documentation:  https://docs.ubuntu.com
* Management:     https://landscape.canonical.com
* Support:        https://ubuntu.com/pro

System information as of Sun Oct 26 21:35:49 UTC 2025

System load:  0.2                Processes:               215
Usage of /:   23.7% of 28.37GB   Users logged in:         0
Memory usage: 4%                 IPv4 address for enp0s1: 192.168.122.19
Swap usage:   0%

4 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

ubuntu at ubuntu:~$

Installation is done on the guest and it is working fine too!

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

Title:
  Ubuntu25.04: Guest installation is failing when host has multipath
  [SAN disks]

Status in The Ubuntu-power-systems project:
  New
Status in Release Notes for Ubuntu:
  Fix Released
Status in subiquity package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Anushree Mathur <Anushree.Mathur2 at ibm.com> - 2025-04-16 23:58:15 ==
  HOST ENV:
  OS : Ubuntu25.04
  kerne; : 6.14.0-15-generic
  qemu : QEMU emulator version 9.2.1 (Debian 1:9.2.1+ds-1ubuntu5)
  libvirt : 11.0.0

  
  GUEST ENV:
  OS : Ubuntu25.04

  
  I attached the SAN disks to my guest and enabled multipath on my lpar, when I tried to install the guest on my system after that it is failing!

  Preparing to boot Linux version 6.14.0-13-generic (buildd at bos03-ppc64el-036) (powerpc64le-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu1) 14.2.0, GNU ld (GNU Binutils for Ubuntu) 2.44) #13-Ubuntu SMP Wed Mar 26 21:29:12 UTC 2025 (Ubuntu 6.14.0-13.13-generic 6.14.0)
  Detected machine type: 0000000000000101
  command line: BOOT_IMAGE=/casper/vmlinux quiet ---
  Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
  Calling ibm,client-architecture-support... done
  memory layout at init:
    memory_limit : 0000000000000000 (16 MB aligned)
    alloc_bottom : 000000000a440000
    alloc_top    : 0000000030000000
    alloc_top_hi : 0000000400000000
    rmo_top      : 0000000030000000
    ram_top      : 0000000400000000
  instantiating rtas at 0x000000002fff0000... done
  prom_hold_cpus: skipped
  copying OF device tree...
  Building dt strings...
  Building dt structure...
  Device tree strings 0x000000000a450000 -> 0x000000000a450bc6
  Device tree struct  0x000000000a460000 -> 0x000000000a470000
  Quiescing Open Firmware ...
  Booting Linux via __start() @ 0x0000000000280000 ...
  Linux ppc64le
  #13-Ubuntu SMP Wpasswd: password changed.
  Using CD-ROM mount point /cdrom/
  Identifying... [cb3fbf0b83d77ea3941656bec5543fab-2]
  Scanning disc for index files...
  Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
  Found label 'Ubuntu-Server 25.04 _Plucky Puffin_ - Daily ppc64el (20250408)'
  This disc is called:
  'Ubuntu-Server 25.04 _Plucky Puffin_ - Daily ppc64el (20250408)'
  Copying package lists...gpgv: Signature made Tue Apr  8 12:48:16 2025 UTC
  gpgv:                using RSA key 843938DF228D22F7B3742BC0D94AA3F0EFE21092
  gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key (2012) <cdimage at ubuntu.com>"
  gpgv: asserted signer '843938DF228D22F7B3742BC0D94AA3F0EFE21092' with algo rsa4096
  Reading Package Indexes... Done
  Writing new source list
  Source list entries for this disc are:
  deb cdrom:[Ubuntu-Server 25.04 _Plucky Puffin_ - Daily ppc64el (20250408)]/ plucky main restricted
  Repeat this process for the rest of the CDs in your set.
  chown: warning: '.' should be ':': 'ubuntu-server.ubuntu-server'
  chown: warning: '.' should be ':': 'ubuntu-server.ubuntu-server'
  [   14.551479] sh[8769]: Completed socket interaction for boot stage local
  [   15.178829] sh[11780]: Completed socket interaction for boot stage network
  [   16.474740] sh[13851]: Completed socket interaction for boot stage config
  ^[[29;1R                                                                                                 ^[[29;106R
  Ubuntu Plucky Puffin (development branch) ubuntu-server hvc0

  
  [   23.217051] sh[29766]: Completed socket interaction for boot stage final
  connecting...
  waiting for cloud-init...
  generating crash report
  report saved to /var/crash/1744864968.550963163.ui.crash
  Traceback (most recent call last):
    File "/snap/subiquity/6582/usr/bin/subiquity", line 8, in <module>
      sys.exit(main())
               ^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/cmd/tui.py", line 161, in main
      asyncio.run(run_with_loop())
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/runners.py", line 194, in run
      return runner.run(main)
             ^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/runners.py", line 118, in run
      return self._loop.run_until_complete(task)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
      return future.result()
             ^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/cmd/tui.py", line 159, in run_with_loop
      await subiquity_interface.run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/client/client.py", line 426, in run
      await super().run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/tui.py", line 390, in run
      await super().run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/core.py", line 133, in run
      raise exc
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/events.py", line 88, in _run
      self._context.run(self._callback, *self._args)
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/asyncio_loop.py", line 104, in wrapper
      return callback(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/main_loop.py", line 650, in entering_idle
      self.draw_screen()
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/main_loop.py", line 667, in draw_screen
      canvas = self._topmost_widget.render(self.screen_size, focus=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/popup.py", line 127, in render
      self._update_overlay(size, focus)
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/popup.py", line 100, in _update_overlay
      canv = self._original_widget.render(size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 711, in render
      canv = get_delegate(self).render(size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/attr_map.py", line 158, in render
      canv = self._original_widget.render(size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/pile.py", line 873, in render
      canv = w.render(w_size, focus=focus and item_focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 711, in render
      canv = get_delegate(self).render(size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 112, in cached_render
      canv = fn(self, size, focus=focus)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/pile.py", line 873, in render

  
  Steps to reproduce:
  1) Enable the multipath in the lpar
  2) Start the installation of guest(plucky-live-server-ppc64el.iso with this iso) 
  3) I saw the error messages as mentioned above 
  4) When I chose the storage disk after this it got stuck

             Configure a guided storage layout, or create a custom one:

             (X)  Use an entire disk
                  ?????????????????????????????????
                  ? /dev/vda local disk 10.000G ? ?
                  ?????????????????????????????????
                  [X]  Set up this disk as an LVM group

                       [ ]  Encrypt the LVM group with LUKS

                                    Passphrase:

  
                            Confirm passphrase:

  
                                            [ ]  Also create a recovery key
                                                 The key will be stored as ~/recovery-key.txt in
                                                 the live system and will be copied to
                                                 /var/log/installer/ in the target system.

             ( )  Custom storage layout

                                                [ Done       ]
                                                [ Back       ]

  I clicked on the storage disk and after this the installation is just stuck at this point! Seeing this error also in dimes 
  [    8.652870] systemd[1]: Started systemd-journald.service - Journal Service.
  [    8.666247] EXT4-fs (dm-0): re-mounted 7516bed6-e57d-4984-867e-f46d697e4d3f r/w. Quota mode: none.
  [    8.771772] Adding 8388544k swap on /swap.img.  Priority:-2 extents:6 across:56492032k SS
  [    8.772994] systemd-journald[1070]: Received client request to flush runtime journal.
  [    8.774327] systemd-journald[1070]: File /var/log/journal/b730b801224848f786c8ea305bda54c2/system.journal corrupted or uncleanly shut down, renaming and replacing.
  [    8.820337] device-mapper: multipath service-time: version 0.3.0 loaded
  [    8.820524] device-mapper: table: 252:3: multipath: error getting device (-EBUSY)
  [    8.820535] device-mapper: ioctl: error adding target to table
  [    8.843130] alua: device handler registered
  [    8.843378] sd 6:0:0:1: alua: supports implicit TPGS
  [    8.843398] sd 6:0:0:1: alua: device naa.60050768108101af2800000000000408 port group 18 rel port 600
  [    8.843418] sd 6:0:1:1: alua: supports implicit TPGS
  [    8.843422] sd 6:0:1:1: alua: device naa.60050768108101af2800000000000408 port group 19 rel port e00
  [    8.870143] device-mapper: table: 252:4: multipath: error getting device (-EBUSY)
  [    8.870152] device-mapper: ioctl: error adding target to table
  [    9.084817] sd 6:0:0:1: alua: transition timeout set to 60 seconds
  [    9.084833] sd 6:0:0:1: alua: port group 18 state A non-preferred supports tolusna
  [    9.274595] spl: loading out-of-tree module taints kernel.
  [    9.356553] zfs: module license 'CDDL' taints kernel.
  [    9.356561] Disabling lock debugging due to kernel taint
  [    9.356581] zfs: module license taints kernel.
  [   10.038486] EXT4-fs (sdf2): mounted filesystem c93423e6-4646-40f3-aad1-3826950f129c r/w with ordered data mode. Quota mode: none.

  == Comment: #1 - Anushree Mathur <Anushree.Mathur2 at ibm.com> - 2025-04-17 01:13:13 ==
  Now I can see the crash happening after I destroyed and started the guest again!

  
  connecting...
  generating crash report
  report saved to /var/crash/1744869429.503988743.ui.crash
  Traceback (most recent call last):
    File "/snap/subiquity/6582/usr/bin/subiquity", line 8, in <module>
      sys.exit(main())
               ^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/cmd/tui.py", line 161, in main
      asyncio.run(run_with_loop())
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/runners.py", line 194, in run
      return runner.run(main)
             ^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/runners.py", line 118, in run
      return self._loop.run_until_complete(task)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
      return future.result()
             ^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/cmd/tui.py", line 159, in run_with_loop
      await subiquity_interface.run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/client/client.py", line 426, in run
      await super().run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/tui.py", line 390, in run
      await super().run()
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/core.py", line 133, in run
      raise exc
    File "/snap/subiquity/6582/usr/lib/python3.12/asyncio/events.py", line 88, in _run
      self._context.run(self._callback, *self._args)
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/asyncio_loop.py", line 104, in wrapper
      return callback(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/display/_posix_raw_display.py", line 273, in wrapper
      return self.parse_input(event_loop, callback, self.get_available_raw_input())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/display/_raw_display_base.py", line 488, in parse_input
      callback(decoded_codes, raw_codes)
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/main_loop.py", line 466, in _update
      self.process_input(keys)
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/event_loop/main_loop.py", line 566, in process_input
      handled_key = self._topmost_widget.keypress(self.screen_size, key)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/popup.py", line 140, in keypress
      return self._current_widget.keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquity/ui/frame.py", line 34, in keypress
      return super().keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 729, in keypress
      return get_delegate(self).keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 729, in keypress
      return get_delegate(self).keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/ui/container.py", line 186, in keypress
      upkey = self.focus.keypress(tsize, downkey)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/view.py", line 147, in keypress
      key = super().keypress(size, key)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/widget.py", line 729, in keypress
      return get_delegate(self).keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/padding.py", line 441, in keypress
      return self._original_widget.keypress(maxvals, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/ui/container.py", line 186, in keypress
      upkey = self.focus.keypress(tsize, downkey)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/padding.py", line 441, in keypress
      return self._original_widget.keypress(maxvals, key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/ui/container.py", line 460, in keypress
      return lb.keypress(size, key)
             ^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/lib/python3.12/site-packages/subiquitycore/ui/container.py", line 335, in keypress
      upkey = super().keypress(size, downkey)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/listbox.py", line 1328, in keypress
      self.make_cursor_visible((maxcol, maxrow))
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/listbox.py", line 1292, in make_cursor_visible
      self.shift_focus((maxcol, maxrow), -(cy))
    File "/snap/subiquity/6582/usr/lib/python3/dist-packages/urwid/widget/listbox.py", line 1108, in shift_focus
      raise ListBoxError(f"Invalid offset_inset: {offset_inset!r}, only {maxrow!r} rows in list box")
  urwid.widget.listbox.ListBoxError: Invalid offset_inset: 0, only 0 rows in list box
  ^[[63;1R^[[63;21
  Ubuntu Plucky Puffin (development branch) ubuntu-server hvc0

  Attaching all the crash logs in zip file.

  == Comment: #2 - Anushree Mathur <Anushree.Mathur2 at ibm.com> - 2025-04-17 01:19:39 ==
  Steps to reproduce(more clear):
  1) Create a qcow2 image 
  qemu-img create -f qcow2 ubuntu_qcow2.qcow2 10G

  2) Start the installation on this fresh qcow2 image
  3) It gets stuck at the storage part of the installation and we see the error messages as mentioned in description 

  4) Destroy the guest and start it again, after this will see the crash
  report getting generated!

  == Comment: #3 - Anushree Mathur <Anushree.Mathur2 at ibm.com> - 2025-04-17 01:24:31 ==
  Contents present in this crash folder:

  crash/1744869429.503988743.ui.meta
  crash/1744869391.690808773.ui.crash
  crash/kdump_lock
  crash/1744869391.690808773.ui.meta
  crash/1744869429.503988743.ui.crash

  == Comment: #4 - Anushree Mathur <Anushree.Mathur2 at ibm.com> - 2025-04-17 01:25:31 ==
  Content in this installer folder:

  installer/subiquity-client-info.log.26955
  installer/subiquity-client-debug.log.26955
  installer/subiquity-client-info.log
  installer/subiquity-client-info.log.14814
  installer/subiquity-client-debug.log
  installer/subiquity-traceback.txt
  installer/subiquity-client-info.log.30785
  installer/subiquity-client-debug.log.30785
  installer/subiquity-client-debug.log.14814
  installer/subiquity-server-info.log
  installer/subiquity-server-info.log.28164
  installer/subiquity-server-debug.log.28164
  installer/block/
  installer/block/discover.log
  installer/block/probe-data.json
  installer/subiquity-client-debug.log.30718
  installer/subiquity-client-info.log.30718
  installer/subiquity-server-debug.log

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




More information about the foundations-bugs mailing list