VM setting "chipset.motherboardLayout" value changed to "null" or reverted to "acpi" following Storage vMotion
search cancel

VM setting "chipset.motherboardLayout" value changed to "null" or reverted to "acpi" following Storage vMotion

book

Article ID: 462815

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This KB is to document a known limitation, an provide available workarounds.

Is some scenarios VDI VMs migrated, via Storage DRS could end up having have the value changed for chipset.motherboardLayout, see KB chipset.motherboardLayout is automatically changed to "acpi" when provisioning a virtual machine from the Content Library after upgrading the hardware version to 20 and higher
That will trigger unexpected VM behavior like BSOD, unresponsive etc.


Environment

vSphere 8.X
Vsphere Cloud Foundation 9.x
Vsphere Cloud Foundation 9.1.X

Cause

The VCDB column chipset_motherboardlayout (vpx_non_orm_vm_config_info) is written, only when the VM's configuration is first saved.
Any incremental update - like KB 396781, does not update the value afterwards.
A VPXD restart/ crash etc. followed by a Storage VMotion, will rebuild the VMs, based on the initial entry in the VCDB. 

Resolution

VMware Engineering has acknowledged this limitation, and is working towards a permanent fix, which is planned in a future release 
Please follow these steps to avoid any unintended outages, for the Virtual Machines

  1. Get the VM ID from the UI/ URL [select VM in question and copy the VM ID]



  2. Check if the VM value is changed/ reflected in the VCDB.
    Run a compare against the step from below

    PowerCLi
    Connect-VIServer <Vcenter_fqdn> --user [email protected]
    (Get-View -Id 'VirtualMachine-vm-##' -Property Config.Hardware.MotherboardLayout).Config.Hardware.MotherboardLayout


    or via PSQL
    # psql -d VCDB -U postgres -c "\x" -c "SELECT id,chipset_motherboardlayout from vpx_non_orm_vm_config_info where id='##';"

  3. Compare value with the actual VM 

    locate VM directory
    # cd /vmfs/volumes/daytastore_TBD/VM_Folder_name

    For the Virtual Machine template:
    # grep chipset *.vmtx

    For the Virtual Machine deployed via the Content Library:
    grep chipset' *.vmx

  4. If the line is absent, the VM is using the default.
    A null value means the entry is unset, which the API treats as the default i440bxHostBridge.
    A value is wrong, only if it doesn't match chipset.motherboardLayout in the VM's .vmx file.

  5. Should the values differ, there are 2 options, that should be taken into account, before Storage vMotion
    -> Follow steps in Reloading a vmx file without removing the virtual machine from inventory which requires downtime
    -> or Snapshot and consolidate the VM, same effect via Snapshot based backup - recommendation leans strongly towards Reloading the VM
    -> check again/ compare values after the refresh, see points 2 and 3 
    -> Proceed with Storage vMotion


  6. You can/ should repeat the check after every vpxd restart.
    We've seen some scenarios vpxd loads the stale value again
    Reloading the VM seems to overwrite the value persistently, when compared with the Snapshot process,

Additional Information

Reload VM KB https://knowledge.broadcom.com/external/article/343248/reloading-a-vmx-file-without-removing-th.html 
Chipset KB      https://knowledge.broadcom.com/external/article/396781/chipsetmotherboardlayout-is-automaticall.html