首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >当探测块设备时,服务器安装程序崩溃

当探测块设备时,服务器安装程序崩溃
EN

Ask Ubuntu用户
提问于 2023-02-01 02:11:59
回答 1查看 1.3K关注 0票数 1

问题:Ubuntu22.04服务器安装程序在选择磁盘之前一直在崩溃。坠机报告说block_probe_fail

背景:我正在尝试在戴尔R710上安装ubuntu22.04Server。我以前在这台机器上安装了Debian,但是我换掉了默认的RAID控制器,戴尔PERC H310闪到了IT模式,这样我就可以直接将磁盘传递给操作系统了。如果重要的话,我必须使用不同的PCIe插槽,因为新的RAID控制器不适合旧的RAID控制器(如果它检测到与该插槽中的原卡不同的话,R710就不会启动)。然而,BIOS可以看到我连接的每个磁盘都很好。

到目前为止,我尝试在BIOS和UEFI模式下安装22.04,结果相同。安装程序总是正确地引导并引导我完成选择。我下载最新的安装程序,选择我的键盘布局,代理,镜像等,并在镜像之后,安装程序立即崩溃。有时这是一个完全崩溃,有时它确实允许我继续设置我的分区(它显示了我的所有磁盘)。然而,如果我继续超过这一点,安装程序完全崩溃,我必须重新启动。

我还试着拔掉我的以太网连接和禁用我的网卡只是为了排除他们,但没有任何效果。

任何帮助,以了解什么是我的根本问题,将不胜感激。我有一种感觉,在我闪现我的RAID控制器并将SAS地址设置回原来的状态后,其他的东西没有被正确设置。坠机报告的相关部分如下:

代码语言:javascript
运行
复制
 2023-02-01 06:27:59,304 DEBUG probert.multipath:48 Extracted multipath maps fields: ['ok']
 2023-02-01 06:27:59,304 DEBUG probert.multipath:52 Failed to parse multipath maps entry: ok: __new__() missing 2 required positional arguments: 'sysfs' and 'paths'
 2023-02-01 06:27:59,317 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sda', '6SJ3PJY7', '[orphan]', '[undef]', '0x5000c50043c20035', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,317 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sdb', 'WD-CA1D77EK', '[orphan]', '[undef]', '0x4433221100000000', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,318 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sdc', '6SJ3MA4M', '[orphan]', '[undef]', '0x5000c50043bdc74d', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,318 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sdd', 'WD-CA1D5TNK', '[orphan]', '[undef]', '0x4433221101000000', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,318 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sde', 'WD-WX12D412TP77', '[orphan]', '[undef]', '0x4433221106000000', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,318 DEBUG probert.multipath:48 Extracted multipath paths fields: ['sdf', 'WD-WX12D412T8YU', '[orphan]', '[undef]', '0x4433221107000000', '[undef]', '[undef]', '0000:00:05.0']
 2023-02-01 06:27:59,417 ERROR root:39 finish: subiquity/Filesystem/_probe/probe_once: FAIL: 'MD_LEVEL'
 2023-02-01 06:27:59,418 ERROR block-discover:442 block probing failed restricted=False
 Traceback (most recent call last):
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 436, in _probe
     await asyncio.wait_for(self._probe_once_task.task, timeout)
   File "/snap/subiquity/3698/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
     return fut.result()
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
     return await meth(self, **kw)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 404, in _probe_once
     storage = await run_in_thread(
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/async_helpers.py", line 46, in run_in_thread
     return await loop.run_in_executor(None, func, *args)
   File "/snap/subiquity/3698/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
     result = self.fn(*self.args, **self.kwargs)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/prober.py", line 59, in get_storage
     return Storage().probe(probe_types=probe_types)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/probert/storage.py", line 186, in probe
     probed_data[ptype] = pfunc(context=self.context)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/probert/raid.py", line 143, in probe
     'raidlevel': device['MD_LEVEL'],
   File "/snap/subiquity/3698/lib/python3.8/site-packages/pyudev/device/_device.py", line 957, in __getitem__
     return self.properties.__getitem__(prop)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/pyudev/device/_device.py", line 1084, in __getitem__
     raise KeyError(prop)
 KeyError: 'MD_LEVEL'
 2023-02-01 06:27:59,428 DEBUG subiquitycore.common.errorreport:384 generating crash report
 2023-02-01 06:27:59,430 INFO subiquitycore.common.errorreport:406 saving crash report 'block probing crashed with KeyError' to /var/crash/1675232879.428982496.block_probe_fail.crash
 2023-02-01 06:27:59,430 INFO root:39 start: subiquity/ErrorReporter/1675232879.428982496.block_probe_fail/add_info: 
 2023-02-01 06:27:59,431 DEBUG root:39 start: subiquity/Filesystem/_probe/probe_once: restricted=True
InstallerServerLogInfo:
 2023-02-01 06:27:27,373 INFO subiquity:112 Starting Subiquity server revision 3698
 2023-02-01 06:27:27,373 INFO subiquity:113 Arguments passed: ['/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/cmd/server.py']
 2023-02-01 06:27:28,216 INFO aiohttp.access:233  [01/Feb/2023:06:27:28 +0000] "GET /meta/status?cur=null HTTP/1.1" 200 419 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:57,966 INFO root:39 start: subiquity/apply_autoinstall_config: 
 2023-02-01 06:27:57,978 INFO root:39 finish: subiquity/apply_autoinstall_config: SUCCESS: 
 2023-02-01 06:27:57,979 INFO root:39 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "cloud_init_ok": tr...
 2023-02-01 06:27:57,997 INFO aiohttp.access:233  [01/Feb/2023:06:27:28 +0000] "GET /meta/status?cur=%22CLOUD_INIT_WAIT%22 HTTP/1.1" 200 411 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:58,000 INFO root:39 start: subiquity/Meta/client_variant_GET: 
 2023-02-01 06:27:58,003 INFO root:39 finish: subiquity/Meta/client_variant_GET: SUCCESS: 200 "server"
 2023-02-01 06:27:58,005 INFO aiohttp.access:233  [01/Feb/2023:06:27:57 +0000] "GET /meta/client_variant HTTP/1.1" 200 193 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:58,017 INFO root:39 start: subiquity/Meta/status_GET: 
 2023-02-01 06:27:58,019 INFO root:39 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "cloud_init_ok": tr...
 2023-02-01 06:27:58,020 INFO aiohttp.access:233  [01/Feb/2023:06:27:58 +0000] "GET /meta/status?cur=null HTTP/1.1" 200 411 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:58,021 INFO root:39 start: subiquity/Meta/client_variant_POST: 
 2023-02-01 06:27:58,054 INFO root:39 finish: subiquity/Meta/client_variant_POST: SUCCESS: 200 null
 2023-02-01 06:27:58,055 INFO aiohttp.access:233  [01/Feb/2023:06:27:58 +0000] "POST /meta/client_variant?variant=%22server%22 HTTP/1.1" 200 189 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:58,058 INFO root:39 start: subiquity/Meta/status_GET: 
 2023-02-01 06:27:58,090 INFO aiohttp.access:233  [01/Feb/2023:06:27:58 +0000] "GET /locale HTTP/1.1" 200 194 "-" "Python/3.8 aiohttp/3.6.2"
 2023-02-01 06:27:59,417 ERROR root:39 finish: subiquity/Filesystem/_probe/probe_once: FAIL: 'MD_LEVEL'
 2023-02-01 06:27:59,418 ERROR block-discover:442 block probing failed restricted=False
 Traceback (most recent call last):
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 436, in _probe
     await asyncio.wait_for(self._probe_once_task.task, timeout)
   File "/snap/subiquity/3698/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
     return fut.result()
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
     return await meth(self, **kw)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/controllers/filesystem.py", line 404, in _probe_once
     storage = await run_in_thread(
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/async_helpers.py", line 46, in run_in_thread
     return await loop.run_in_executor(None, func, *args)
   File "/snap/subiquity/3698/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
     result = self.fn(*self.args, **self.kwargs)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/prober.py", line 59, in get_storage
     return Storage().probe(probe_types=probe_types)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/probert/storage.py", line 186, in probe
     probed_data[ptype] = pfunc(context=self.context)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/probert/raid.py", line 143, in probe
     'raidlevel': device['MD_LEVEL'],
   File "/snap/subiquity/3698/lib/python3.8/site-packages/pyudev/device/_device.py", line 957, in __getitem__
     return self.properties.__getitem__(prop)
   File "/snap/subiquity/3698/lib/python3.8/site-packages/pyudev/device/_device.py", line 1084, in __getitem__
     raise KeyError(prop)
 KeyError: 'MD_LEVEL'
 2023-02-01 06:27:59,430 INFO subiquitycore.common.errorreport:406 saving crash report 'block probing crashed with KeyError' to /var/crash/1675232879.428982496.block_probe_fail.crash
 2023-02-01 06:27:59,430 INFO root:39 start: subiquity/ErrorReporter/1675232879.428982496.block_probe_fail/add_info:
InterpreterPath: /snap/subiquity/3698/usr/bin/python3.8
Lspci:

等等等等。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2023-02-01 23:56:10

probert中的这个bug可能是您的问题:如果系统上存在不活动的raid,则prober将失败(并停止安装)

11月份出现了一个修补程序,可能会修复该漏洞。希望在发布后的22.04.2中包含这一内容。

或者,每天的构建似乎包括修补程序http://cdimage.ubuntu.com/cdimage/ubuntu-server/jammy/daily-live/pending/

或者您可以在安装之前擦除磁盘和旧的RAID配置。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1452905

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档