I recently did the first NSX upgrade in my Homelab! My Lab is running older hardware, HPE DL380 Gen8’s to be exact and this lead to an upgrade issue when attempting to upgrade my Edge node!
Here is the error I was faced with:
1Edge 184.108.40.206.0.19067356/Edge/nub/VMware-NSX-edge-220.127.116.11.0.19067362.nub switch OS task failed on edge TransportNode c7aa6c6e-1a49-423a-a5c2-87cfa0ba9e1c: clientType EDGE , target edge fabric node id c7aa6c6e-1a49-423a-a5c2-87cfa0ba9e1c, return status switch\_os execution failed with msg: An unexpected exception occurred: CommandFailedError: Command \['chroot', '/os\_bak', '/opt/vmware/nsx-edge/bin/config.py', '--update-only'\] returned non-zero code 1: b"lspci: Unable to load libkmod resources: error -12\\nlspci: Unable to load libkmod resources: error -12\\nlspci: Unable to load libkmod resources: error -12\\nlspci: Unable to load libkmod resources: error -12\\nlspci: Unable to load libkmod resources: error -12\\nSystem has not been booted with systemd as init system (PID 1). Can't operate.\\nERROR: Unable to get maintenance mode information\\nNsxRpcClient encountered an error: \[Errno 2\] No such file or directory\\nWARNING: Exception reading InbandMgmtInterfaceMsg from nestdb, Command '\['/opt/vmware/nsx-nestdb/bin/nestdb-cli', '--json', '--cmd', 'get', 'InbandMgmtInterfaceMsg'\]' returned non-zero exit status 1.\\nINFO: Corelist count is rounded to 2 from 3\\nERROR: NSX Edge configuration has failed. **1G hugepage support required**\\n" .
In order to work around this issue, you need to power off the Edge node VM, add the following advanced setting and power back on.
featMask.vm.cpuid.pdpe1gb = Val:1
Once back online, you can continue with the upgrade!
Hopefully this will help any homelabbers out there running older hardware!
As always, thanks for reading!
If you like my content, consider following me on Twitter so you don’t miss out!