When navigating to the Licenses menu in the NSX UI, the following error message is displayed:
'Sync Failed: Error: VCF License async operation is already queued or in running state. (Error code: 3046)
VMware NSX 9.1
If an async process crashes unexpectedly, there is currently no recovery mechanism to reset the AsyncOperation status from RUNNING. Consequently, the system deadlocks, blocking all future async license requests indefinitely.
This is a known issue impacting VMware NSX.
Workaround:
As a workaround, a delete_async_records.py script can be uploaded to one of the NSX Managers and can be used to clean up the stuck records:
NOTE: The script should be to run only on one of the NSX Managers.
1. Make sure that there is a valid backup of NSX Manager and the password is known for the backup.
2. Download the delete_async_records.py file that is attached to this KB.
3. Upload the file to root (/) directory of NSX Manager. (you can use WinSCP with SCP protocol as root)
4. Login to NSX Manager over SSH as root
5. Navigate to root directory:
cd /
6. Run the script without adding extra parameters, this should remove the stuck records:
python delete_async_records.py
Broadcom Engineering is aware of this issue, and a fix will be provided in a future release.