Workaround:
To work around this issue, we will need to work on both the ESXi host(s) and NSX manager.
Steps:
1 - ESXi:
- Verify if the issue is in fact, NSXA, using the above command: net-dvs -l | grep "nsxa"
- Assuming it's down, remove the files under the nsxa folder: rm -rf /etc/vmware/nsxa/*
2 - Make API call to recreate the deleted config
- Make the following MP API calls to re-populate the contents of the host_config file.
a. GET api/v1/transport-nodes/<tn-id>.
b. PUT api/v1/transport-nodes/<tn-id> with the returned payload in step 1);
c. Repeat Step 1) and 2) again.
- After Step 1, re-check the "host_config" file.
For example:
/etc/vmware/nsxa] ls -l
total 4
-rw-r--r-T 1 root root 528 22:18 host_config.bin
-rw-r--r-T 1 root root 0 06:06 host_config_mmode.bin
3- ESXi:
- Restart ESXi host services: services.sh restart
- Wait a few seconds and run the check again; nsxa should be up.