2022-02-22 18:48:34 |
Taihsiang Ho |
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:
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 |
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:~$ |
|