NSX-T Edge Node 3.2 Upgrade Issue – Hugepage Support
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:
Edge 188.8.131.52.0.19067356/Edge/nub/VMware-NSX-edge-184.108.40.206.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" .
This thread on VMTN provided the answer and an explanation, so I won’t repeat that here but I did want to share this.
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!Follow @vStephanMcTighehttps://platform.twitter.com/widgets.js