NSX-T 3.X and NSX 4.X.
This is due to the /nonconfig/diskonlycorfutable/ directory missing on the manager node during creation. This can be confirmed by the below log entries:
Error code MP370017 is reported on the NSX manager node in var/log/syslog as per below:
2023-08-13T23:34:53.382Z ABCDEFG9842 NSX 1935793 - [nsx@6876 comp="nsx-manager" errorCode="MP370017" level="ERROR" subcomp="idps-reporting"] Exception occurred while creating tables - java.lang.Exception: org.corfudb.runtime.exceptions.unrecoverable.UnrecoverableCorfuError: java.lang.reflect.InvocationTargetException
2023-08-13T23:34:53.384Z ABCDEFG9842 NSX 1935793 - [nsx@6876 comp="nsx-manager" errorCode="MP370017" level="ERROR" subcomp="idps-reporting"] Exception occurred while creating tables - com.vmware.nsx.securitydataservice.common.SecurityDataServiceException: Failed to create corfu tables
Checking in var/log/idps-reporting/idps.log we see the error for no such file or directory:
2023-08-13T11:42:22.812Z ERROR WrapperSimpleAppMain IDSEventDataServiceImpl 3309335 - [nsx@6876 comp="nsx-manager" errorCode="MP370017" level="ERROR" subcomp="idps-reporting"] Ex
ception occurred while creating tables - java.lang.Exception: org.corfudb.runtime.exceptions.unrecoverable.UnrecoverableCorfuError: java.lang.reflect.InvocationTargetException
java.lang.Exception: org.corfudb.runtime.exceptions.unrecoverable.UnrecoverableCorfuError: java.lang.reflect.InvocationTargetException
Caused by: org.corfudb.runtime.exceptions.unrecoverable.UnrecoverableCorfuError: org.rocksdb.RocksDBException: while open a file for lock: /nonconfig/diskonlycorfutable/idps/t_id
s_event_data/LOCK: No such file or directory
Caused by: org.rocksdb.RocksDBException: while open a file for lock: /nonconfig/diskonlycorfutable/idps/t_ids_event_data/LOCK: No such file or directory
NOTE: The preceding log excerpts are only examples. Date, time and environmental variables may vary depending on your environment.
There are 2 workarounds to this issue:
First - create folder manually:
On the affected nodes (which do not have the /nonconfig/diskonlycorfutable/idps) run the following CLI commands as root:
Once folder is created switch to the admin CLI (use command "su admin") and restart the IDPS service:
Second - deploy a new node:
Delete the node(s) missing the /nonconfig/diskonlycorfutable directory and redeploy these nodes. This can be done via the following methods:
Detach to failed node missing /nonconfig/diskonlycorfutable:
Join the newly deployed node with the necessary directory: