VxRail:平台服務失敗,並顯示錯誤「assert len(boot_devs) == 1,「我們有多個開機裝置」
Summary: 由於開機裝置報告不正確,平台服務無法啟動。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
VxRail 平台服務失敗並顯示錯誤 assert len(boot_devs) == 1, 'We have multiple boot devices? 報告於 platform_svc.logVxVerfy 顯示錯誤'2 Fail | 536795 | bmc: Firmware test timeout. Check Platform Service」。Platform_svc.log 顯示位於路徑的執行指令檔有問題 /opt/vxrail/bin/utility/host.py 第 443 行。
第 443 行 host.py 指令檔負責檢查 ESXi 上的可開機裝置,如下所示:
def get_service_datastore_path():
"""get the service datastore path
This is a guess work. The assumption is that we will have one and only one VMFS ds on
the boot device.
"""
boot_devs = {
dev['Device'] for dev in esxcli('storage core device list')
if dev['Is Boot Device']
}
assert len(boot_devs) == 1, 'We have multiple boot devices?'
dev = boot_devs.pop()
with HostConnection() as host_conn:
ds = host_conn.get_vmfs_datastore_on_bootdev(dev)
if ds:
return ds[0].info.url
return None Cause
當您執行 esxcli storage core device list | grep -i dellboss -A40、 DELLBOSS_VD 未設置為引導設備,如下所示,這會導致腳本崩潰。
[management@esxi03:~] esxcli storage core device list | grep -i dellboss -A40
t10.ATA_____DELLBOSS_VD_____________________________d2f1e897dd2e001000000000
Display Name: Local ATA Disk (t10.ATA_____DELLBOSS_VD_____________________________d2f1e897dd2e001000000000)
Has Settable Display Name: true
Size: 228872
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/t10.ATA_____DELLBOSS_VD_____________________________d2f1e897dd2e001000000000
Vendor: ATA
Model: DELLBOSS VD
Revision: 00-0
SCSI Level: 5
Is Pseudo: false
Status: on
Is RDM Capable: false
Is Local: true
Is Removable: false
Is SSD: false
Is VVOL PE: false
Is Offline: false
Is Perennially Reserved: false
Queue Full Sample Size: 0
Queue Full Threshold: 0
Thin Provisioning Status: yes
Attached Filters:
VAAI Status: unsupported
Other UIDs: vml.0100000000643266316538393764643265303031300000000044454c4c424f
Is Shared Clusterwide: false
Is SAS: false
Is USB: false
Is Boot Device: false
Device Max Queue Depth: 31
No of outstanding IOs with competing worlds: 31
Drive Type: unknown
RAID Level: unknown
Number of Physical Drives: unknown
Protection Enabled: false
PI Activated: false
PI Type: 0
PI Protection Mask: NO PROTECTION
Supported Guard Types: NO GUARD SUPPORT
DIX Enabled: false
DIX Guard Type: NO GUARD SUPPORT
Emulated DIX/DIF Enabled: false
Resolution
要解決此問題:
- 讓伺服器進入維護模式。
- 將伺服器重新開機。
- 確認
Is Boot Device : true使用命令:esxcli storage core device list | grep -i dellboss -A40
如果重新開機節點無法解決問題,請按照下列方式排空節點電力:PowerEdge:如何重設並排空電力,或進行虛擬 AC 電源重新啟動
Affected Products
VxRail, VxRail Appliance Series, VxRail D Series Nodes, VxRail D560, VxRail D560F, VxRail E Series Nodes, VxRail E560, VxRail E560F, VxRail E560N, VxRail E660, VxRail E660F, VxRail E660N, VxRail E665, VxRail E665F, VxRail E665N, VxRail G560
, VxRail G560F, VxRail P570, VxRail P570F, VxRail P580N, VxRail P670F, VxRail P670N, VxRail P675N, VxRail S570, VxRail S670, VxRail Software, VxRail V570, VxRail V570F, VXRAIL V670F, VxRail VD-4510C, VxRail VD-4520C, VxRail VE-660, VxRail VE-6615, VxRail VE-670, VxRail VP-760, VxRail VP-7625, VxRail VP-770, VxRail VS-760
...
Article Properties
Article Number: 000079974
Article Type: Solution
Last Modified: 24 Mar 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.