[20.04.4.ga.rc.20220218.1][block_probe_fail][arm64] ValueError: Invalid dep_id (disk-dm-0) not in storage config

Bug #1961829 reported by Taihsiang Ho
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

image: 20.04.4.ga.rc.20220218.1
platform: saber thunderX2

Steps to Reproduce:
1. Boot with PXE
2. Get into subiquity prompt
3. Select rich mode
4. Follow the prompt instruction

Expected Result:
1. installation begins

Actual Result:
I was dropped into subiquity shell on filling the prompt of username and password. By collecting the logs I found (see more traceback details in the attachment tarball):

 2022-02-22 18:06:58,889 ERROR root:39 finish: subiquity/Filesystem/_probe/probe_once: FAIL: Invalid dep_id (disk-dm-0) not in storage config
 2022-02-22 18:06:58,890 ERROR block-discover:433 block probing failed restricted=False
 Traceback (most recent call last):
   File "/snap/subiquity/3095/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 427, in _probe
     await asyncio.wait_for(self._probe_once_task.task, 15.0)
   File "/snap/subiquity/3095/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
     return fut.result()
   File "/snap/subiquity/3095/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
     return await meth(self, **kw)
   File "/snap/subiquity/3095/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 412, in _probe_once
     self.model.load_probe_data(storage)
   File "/snap/subiquity/3095/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 1287, in load_probe_data
     self.reset()
   File "/snap/subiquity/3095/lib/python3.8/site-packages/subiquity/models/filesystem.py", line 965, in reset
     self._orig_config = storage_config.extract_storage_config(
   File "/snap/subiquity/3095/lib/python3.8/site-packages/curtin/storage_config.py", line 1346, in extract_storage_config
     tree = get_config_tree(cfg.get('id'), final_config)
   File "/snap/subiquity/3095/lib/python3.8/site-packages/curtin/storage_config.py", line 306, in get_config_tree
     for dep in find_item_dependencies(item, sconfig):
   File "/snap/subiquity/3095/lib/python3.8/site-packages/curtin/storage_config.py", line 276, in find_item_dependencies
     _validate_dep_type(item_id, dep_key, dep, config)
   File "/snap/subiquity/3095/lib/python3.8/site-packages/curtin/storage_config.py", line 223, in _validate_dep_type
     raise ValueError(
 ValueError: Invalid dep_id (disk-dm-0) not in storage config

Additional Information:
lsblk as postmortem information of the target platform (saber thunderX2)
installer@ubuntu-server:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.2G 1 loop /cdrom
loop1 7:1 0 351.2M 1 loop /media/filesystem
loop2 7:2 0 237.4M 1 loop
loop3 7:3 0 65M 1 loop /usr/lib/modules
loop4 7:4 0 60.7M 1 loop /snap/lxd/21843
loop5 7:5 0 30.8M 1 loop /snap/subiquity/3095
loop6 7:6 0 37.7M 1 loop /snap/snapd/14982
loop7 7:7 0 57.5M 1 loop /snap/core20/1332
sda 8:0 1 1.9G 0 disk
└─sda1 8:1 1 1.9G 0 part
  └─osprober-linux-sda1 253:0 0 1.9G 1 dm
sdb 8:16 0 223.6G 0 disk
├─sdb1 8:17 0 512M 0 part
└─sdb2 8:18 0 223.1G 0 part
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 1024M 0 rom
sr2 11:2 1 1024M 0 rom
sr3 11:3 1 1024M 0 rom
installer@ubuntu-server:~$

Tags: iso-testing
Revision history for this message
Taihsiang Ho (tai271828) wrote :
Revision history for this message
Taihsiang Ho (tai271828) wrote :
Revision history for this message
Taihsiang Ho (tai271828) wrote :
Revision history for this message
Taihsiang Ho (tai271828) wrote :

Additional information: the same step is NOT reproducible on Hisilicon D05 and X6000.

description: updated
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1961829

tags: added: iso-testing
Revision history for this message
Taihsiang Ho (tai271828) wrote :

I did not reproduce this issue with 20.04.4 with pxe installation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.