This issue is resolved in VMware NSX-T Data Center 2.2, available at VMware Downloads.
Workaround:
To work around this issue, reduce the inventory sync processing.
- Log in to the NSX Manager appliance with the root user.
- Update the repositories:
# apt-get update
- Install zip & unzip:
# apt-get install zip unzip
- Modify the inventory-config.properties configuration file:
# mkdir inventory
# cd inventory
~/inventory# cp /opt/vmware/proton-tomcat/webapps/nsxapi/WEB-INF/lib/inventory-mgmt-1.0.jar .
~/inventory# unzip inventory-mgmt-1.0.jar
~/inventory# ls -l
builddef.lst com
inventory-config.properties
inventory-mgmt-1.0.jar META-INF
~/inventory# vim inventory-config.properties
Change "inventory.discovery.message.processing.batch.size=10" to "inventory.discovery.message.processing.batch.size=1"
save and exit (:wq)
- Clean up and replace original inventory-mgmt-1.0.jar with modified version:
~/inventory# rm inventory-mgmt-1.0.jar
~/inventory# zip -r inventory-mgmt-1.0.jar .
~/inventory# cp inventory-mgmt-1.0.jar /opt/vmware/proton-tomcat/webapps/nsxapi/WEB-INF/lib/
- Restart proton:
~/inventory# /etc/init.d/proton restart