Transport Node ErrorsTransport Node Maintenance Mode Config: Host ########-####-####-####-############ replied error code 8754 for TN maintenance mode setting, state: DISABLED., retries: 0
nsx-cli failed with the error: Command not foundesxi-host>set maintenance-mode% Command not found: set maintenance-mode
esxi-host> set maintenance-mode enable% Command not found: set maintenance-mode enable
esxi-host> set maintenance-mode disable% Command not found: set maintenance-mode disable
/var/log/nsx-syslog.logEr(179) nsx-opsagent[803500]: NSX 803500 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="804047" level="ERROR" errorCode="MPA42011"] [PersistMmodeCfgToFile] Failed to open maintenance mode config file [/etc/vmware/nsxa/host_config_mmode.bin]: Operation not permittedEr(179) nsx-opsagent[803500]: NSX 803500 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="804047" level="ERROR" errorCode="MPA41024"] Execution of cmd [/opt/vmware/nsx-cli/bin/scripts/nsxcli --cmd "set maintenance-mode enabled"] failed with return code [2] and reply [% Command not found: set maintenance-mode enabledNote: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX 4.1.2.3
VMware NSX 4.2.x
This is due to the missing nsx-cli command to set maintenance-mode
This issue is resolved in VMware NSX 4.2.2 available at Broadcom Downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround:
If exiting Maintenance Mode fails, use the SYNC button from the Out Of Sync Error that should appear for the same ESXi Host Transport node.