VxRail: O serviço da plataforma apresentou falha com o erro "assert len(boot_devs) == 1, "Temos vários dispositivos de inicialização"
Summary: Falha ao iniciar o serviço da plataforma devido a relatórios incorretos do dispositivo de inicialização.
Symptoms
Falha no serviço da plataforma VxRail com erro assert len(boot_devs) == 1, 'We have multiple boot devices? relatado no platform_svc.logVxVerfy está mostrando erro '2 Fail | 536795 | bmc: Firmware test timeout. Check Platform Service'.Platform_svc.log está mostrando problemas com a execução do script localizado no caminho /opt/vxrail/bin/utility/host.py linha 443.
Linha 443 na host.py é responsável por fazer as verificações nos dispositivos inicializáveis no ESXi, conforme mostrado abaixo:
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
Quando você executa esxcli storage core device list | grep -i dellboss -A40O DELLBOSS_VD não está definido como um dispositivo de inicialização, conforme mostrado abaixo, o que faz com que o script trave.
[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
Para resolver esse problema:
- Coloque o servidor no modo de manutenção.
- Reinicie o servidor.
- Confirm
Is Boot Device : trueUsando o comando:esxcli storage core device list | grep -i dellboss -A40
Se a reinicialização do nó não corrigir o problema, drene a energia do nó a seguir: PowerEdge: Como redefinir e drenar a energia ou fazer um ciclo CA virtual