Public bug reported: Ubuntu 20.04 installation fails on a disk attached behind Broadcom/LSI MegaRAID adapter in presence of some disks with pre-installed OS. I am attaching Full report of installation failure which has more details.
Below are reproduction steps and some details: 1. There are two Broadcom/LSI megaraid adapters. Controller 1 has two Virtual disks(disk1 and disk2) and Controller 2 has 1 virtual disk(disk3). 2. disk 1 and disk 3 have some pre-installed OS. Ubuntu 20.04 OS installation is to be done on disk2. 3. After installation disk(disk2) is chosen and configured, installer reports "Installation failure" and generate one report. Report is attached to the bug. 4. I looked into the report logs and found some error logs: -------------- previous partition number for 'partition-sda6' found to be '2' previous partition: /sys/class/block/sda/sda2 An error occured handling 'partition-sda6': FileNotFoundError - [Errno 2] No such file or directory: '/sys/class/block/sda/sda2/size' finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring partition: partition-sda6 TIMED BLOCK_META: 6.739 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Traceback (most recent call last): File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper return log_time("TIMED %s: " % msg, func, *args, **kwargs) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time return func(*args, **kwargs) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 88, in block_meta return meta_custom(args) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1786, in meta_custom handler(command, storage_config_dict) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 670, in partition_handler util.load_file(os.path.join(previous_partition, "size"))) File "/snap/subiquity/1569/lib/python3.6/site-packages/curtin/util.py", line 561, in load_file with open(path, "rb") as fp: FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/block/sda/sda2/size' [Errno 2] No such file or directory: '/sys/class/block/sda/sda2/size' --------------- /dev/sda is referenced as disk1 which has pre-installed OS. Ubuntu 20.04 installation is to be done on /dev/sdb. 5. I tried with option "scsi_mod.scan=async" passed to grub prompt of installation media but it did not work too. Expectation is OS installation should not halt as drive which reports errors is not the one on which Ubuntu 20.04 installation is attempted. Please let me know if you need more details. ** Affects: subiquity Importance: Undecided Status: New ** Tags: focal ** Attachment added: "Ubuntu 20.04 Installation failure report" https://bugs.launchpad.net/bugs/1877432/+attachment/5367943/+files/1588868482.229006529.install_fail.crash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1877432 Title: Ubuntu 20.04 installation fails in presence of a disk which has some pre-installed OS To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1877432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs