Issue is fixed in NSX-T 3.2.2 version.
Workaround:
Step 1: Take the standard backup of the environment.
Step 2: Download the attached jar file and copy it to one of the manager nodes. (Any manager node would work but advice is to execute on the leader of the Corfu cluster.)
Verify the integrity of the jar file after copying to the NSX Manager with the following command.
Run this command from the place where the jar file is copied to.
MD5 (libcorfu-data-corrector-lib.jar) = fa0036bb4e3cbd2bac7784aa99427782
Step 3: Run the below command:
java -cp "libcorfu-data-corrector-lib.jar:/opt/vmware/proton-tomcat/webapps/nsxapi/WEB-INF/lib/*:/usr/tomcat/lib/*" -Dcorfu-property-file-path=/opt/vmware/proton-tomcat/conf/ufo-factory.properties -Djava.io.tmpdir=/image/corfu-tools/temp com.vmware.nsx.management.migration.impl.BgpNeighborDummyUpdate <username> <password>
Note: Enter Policy API credentials in place of <username> and <password> . The above script will execute the MP APIs to dummy update(without changing the payload) on each BgpNeighbor for each Tier0
Step 4: Delete the PrefixList/Routemap/Tier0 which currently stuck in deletion.