Symptoms:
VMware NSX-T Data Center
VMware NSX-T Data Center 2.x
VMware NSX-T Data Center 3.x
During the upgrade, the DFW module (VSIP) registers with the RTM, to let it know an upgrade is in progress.
When this issue occurs the RTM value does not get reverted back to 0 again once the upgrade is complete.
When an upgrade is completed a timer kicks in and sends an unregister event, this should unregister the VSIP module from RTM and set the RTM value back to 0:
In the above log sample from the 'vmkernel.log', it was unable to acquire the portset.
As it was unable to acquire the portset, the unregister event was not sent out.
The reason it fails to get the portset lock happens if the portset has changed during the time it found the portset and the time it tried to get the lock.
This issue has been resolved with the release of NSX-T 3.1.3.1
Workaround:
Migrate VM to other host.
After the migration the VM should correctly get DFW rules applied again.