[Bug 2080474] Re: ubuntu installation failing for systems having SAN disk
Olivier Gayot
2080474 at bugs.launchpad.net
Wed Apr 23 09:45:00 UTC 2025
I run the same steps as Christian did and observed the same symptoms.
However
> [...] the installer properly detected the disk state.
Only on actually going to deployment did it crash.
Yes, it crashes but the state of the disks were not correctly detected
during the second install.
Instead of a single multipath disk, it detected two separate disks with
the same label, offering to partition each disk separately. See the list
of "USED DEVICES" in
https://bugs.launchpad.net/subiquity/+bug/2080474/comments/48 compared
to https://bugs.launchpad.net/subiquity/+bug/2080474/comments/47. The
type "local disk" should also be "multipath device".
The installation errors when we attempt to run `lvcreate`:
Running command ['lvcreate', 'ubuntu-vg-1', '--name', 'ubuntu-lv', '--zero=y', '--wipesignatures=y', '--yes', '--size', '6706692096B'] with allowed codes [0] (capture=False)
WARNING: Not using device /dev/sda3 for PV 5tXJHt-wdEZ-WBCP-BFQ6-GVGL-IyWe-UUH32z
WARNING: PV 5tXJHt-wdEZ-WBCP-BFQ6-GVGL-IyWe-UUH32z prefers device /dev/sdb3 because device is used by LV.
Cannot update volume group ubunt-vg-1 with duplicate PV devices.
Now, the crash is different from what was originally reported (here's
it's failing when installing vs the original report is about failure
during detection). But I suspect that being unable to see the device has
a multipath device is at least part of the problem in both scenarios.
--
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/2080474
Title:
ubuntu installation failing for systems having SAN disk
Status in subiquity:
New
Status in The Ubuntu-power-systems project:
Incomplete
Status in multipath-tools package in Ubuntu:
New
Status in subiquity package in Ubuntu:
New
Bug description:
== Comment: - Anushree Mathur ==
OS: 24.04 LTS (Noble Numbat)
I started the Ubuntu installation for 24.04 LTS (Noble Numbat) on L1(HOST) having SAN disk, it failed with the following error just after I chose the disk.
Ubuntu 24.04 LTS ubuntu-server hvc0
connecting...
waiting for cloud-init...
generating crash report
report saved to /var/crash/1724388235.797082424.ui.crash
Traceback (most recent call last):
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/client/controllers/filesystem.py", line 273, in _guided_choice
self.ui.set_body(FilesystemView(self.model, self))
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 485, in __init__
self.refresh_model_inputs()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 540, in refresh_model_inputs
self.avail_list.refresh_model_inputs()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/ui/views/filesystem/filesystem.py", line 417, in refresh_model_inputs
for obj, cells in summarize_device(device, filter):
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/ui/views/filesystem/helpers.py", line 32, in summarize_device
anns = labels.annotations(device) + labels.usage_labels(device)
File "/snap/subiquity/5745/usr/lib/python3.10/functools.py", line 889, in wrapper
return dispatch(args[0].__class__)(*args, **kw)
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/common/filesystem/labels.py", line 100, in _annotations_vg
member = next(iter(vg.devices))
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/snap/subiquity/5745/usr/bin/subiquity", line 8, in <module>
sys.exit(main())
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/cmd/tui.py", line 158, in main
asyncio.run(run_with_loop())
File "/snap/subiquity/5745/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/snap/subiquity/5745/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/cmd/tui.py", line 156, in run_with_loop
await subiquity_interface.run()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquity/client/client.py", line 403, in run
await super().run()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquitycore/tui.py", line 351, in run
await super().run()
File "/snap/subiquity/5745/lib/python3.10/site-packages/subiquitycore/core.py", line 134, in run
raise exc
RuntimeError: coroutine raised StopIteration
Ubuntu 24.04 LTS ubuntu-server hvc0
connecting...
ProblemType: Bug
Architecture: ppc64el
CrashDB: {'impl': 'launchpad', 'project': 'subiquity'}
I tried following 2 installation methods, it is failing in both the ways:
1) kexec method
2) attaching vdvd and starting installer
NOTE: It is happening only when the system has SAN disks otherwise this installation worked fine.
I will be attaching the crash report for this!
== Comment:- Hariharan T S ==
Verified the following cases.
Installation on Disk from VIOS - PASSED
Installatoin on Disk from VIOS and system had Disks from SAN - FAILED
Installation on Disk from SAN and system ahd Disk from VIOS - FAILED
== Comment:- Vaibhav Jain ==
Problem seems to happening when Subuquity enters the disk partition view. The system has a SAN disk and an existing Mullti Path DM volume on it.
Mirroring to distro
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2080474/+subscriptions
More information about the foundations-bugs
mailing list