Host Transport Node is not able to enter maintenance mode in VMware NSX-T 3.2.1.x
search cancel

Host Transport Node is not able to enter maintenance mode in VMware NSX-T 3.2.1.x

book

Article ID: 345032

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Symptoms:

  • NSX-T Data Center 3.2.1.x.
  • When attempting to enter an ESXi host transport node in to NSX Maintenance mode via the NSX-T Manager UI, it fails even when no VMs are attached on ESX host.
  • In var/log/proton/nsxapi.log you observe similar to the following error:
2022-07-15T19:46:25.965Z ERROR http-nio-127.0.0.1-7440-exec-43 TransportNodeServiceImpl 5356 FABRIC [nsx@6876 comp="nsx-manager" errorCode="MP8273" level="ERROR" subcomp="manager"] Cannot enter maintenance mode for TransportNode TransportNode/f9381cd1-####-####-####-########786 due to 3 VIF(s) attached.

Environment

VMware NSX-T Data Center
VMware NSX-T Data Center 3.x

Cause

This is due to a change in the count logic of VIFs on the Transport Nodes introduced in NSX-T 3.2.1, which can cause a miscalculation in the number of VIFs.

The VIFs count on the host can be confirmed by the following command:

nsxdp-cli kcp vif list

Resolution

This issue is resolved in NSX-T Data Center 3.2.2.

Workaround:

NSX Maintenance mode can be enabled/disabled via CLI without error. Below command can be used on the Transport Node:

nsxcli -c set maintenance-mode enabled

This change is not reflected the UI.