Recovery
If this issue has been experienced, it is necessary to restore the NSX Manager from backup.
Prevention
To prevent this issue from occurring, VMware recommends an upgrade to NSX 4.1.0.2.
If for some reason an upgrade is not possible then the following steps can be followed to prevent the issue from occurring in a 4.1.0 environment.
The workaround should be performed on all the 3 NSX managers sequentially. The user should wait for the manager cluster to stabilize before proceeding to apply the workaround on the next manager.
Step 1. Download the Debian package
Link: https://ftpsite.vmware.com/download?domain=FTPSITE&id=61e3498f56fe4db6b45b957b38cd0f0a-1c2f44d7feae46788cd2ce930ed81cc0
Step 2. Move the deb package to /image/ directory via winscp or other means and validate the md5sum
root@nsxmanager:~# md5sum /image/nsx-corfu-server_4.1.20230509211150.7973.1_all.deb
b665c2c58df41645bc4468b16d22e5fb nsx-corfu-server_4.1.20230509211150.7973.1_all.deb
Step 3. Install the Debian package
root@nsxm-PR3182420:~# dpkg -i /image/nsx-corfu-server_4.1.20230509211150.7973.1_all.deb
(Reading database ... 61995 files and directories currently installed.)
Preparing to unpack nsx-corfu-server_4.1.20230509211150.7973.1_all.deb ...
Synchronizing state of corfu-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable corfu-server
Removed /etc/systemd/system/nsx-custom.target.wants/corfu-server.service.
Synchronizing state of corfu-nonconfig-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable corfu-nonconfig-server
Removed /etc/systemd/system/nsx-custom.target.wants/corfu-nonconfig-server.service.
Software Integrity Check is not Enabled
Unpacking nsx-corfu-server (4.1.20230509211150.7973.1) over (4.1.20230215040838.1096.1) ...
Setting up nsx-corfu-server (4.1.20230509211150.7973.1) ...
Synchronizing state of corfu-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable corfu-server
Created symlink /etc/systemd/system/nsx-custom.target.wants/corfu-server.service -> /lib/systemd/system/corfu-server.service.
Synchronizing state of corfu-nonconfig-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable corfu-nonconfig-server
Created symlink /etc/systemd/system/nsx-custom.target.wants/corfu-nonconfig-server.service -> /lib/systemd/system/corfu-nonconfig-server.service.
Synchronizing state of corfu-log-replication-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable corfu-log-replication-server
Created symlink /etc/systemd/system/nsx-custom.target.wants/corfu-log-replication-server.service -> /lib/systemd/system/corfu-log-replication-server.service.
Starting corfu-server
Starting corfu-nonconfig-server
Processing triggers for systemd (245.4-4ubuntu3.13) ...
Step 4. Validate the latest Tanuki version. The Version (a106826) verifies the installation
root@nsxmanager:~# grep Version /var/log/corfu/tanuki.log
INFO | jvm 1 | 2023/05/23 11:28:51 | Version (3fb572f)
INFO | jvm 1 | 2023/05/23 17:02:02 | Version (a106826) <<<<<<<<<<<<< The a106826
Step 5. Wait for the Manager cluster to stabilize and repeat steps 2,3, and 4 on the other 2 Managers
root@nsxmanager:~# su admin -c get cluster status
Tue May 23 2023 UTC 17:09:20.067
Cluster Id: ef688269-9d2e-4345-ba51-203feff85e46
Overall Status: STABLE
Group Type: DATASTORE
Group Status: STABLE
Members:
UUID FQDN IP IPv6 STATUS
7e4f2842-xxxx-xxxx-xxxx-3488xxxxxx nsxm-xxxxx X.X.X.1 - UP
8c4f3842-xxxx-xxxx-xxxx-3488xxxxxx nsxm-xxxxx X.X.X.2 - UP
9c5c1234-xxxx-xxxx-xxxx-3488xxxxxx nsxm-xxxxx X.X.X.3 - UP
** NOTE: The workaround should be reapplied in the case of Manager node redeployment when on 4.1.0.