ls -lh /repository/####/var/log/proton/nsxapi.log
RepoSyncThread-## DefaultCommandExecutionTask ## SYSTEM [nsx@## comp="nsx-manager" level="INFO" subcomp="manager"] Time taken to execute Command CommandImpl [getCommandList()=[/usr/bin/python3, /opt/vmware/nsx-common/python/nsx_utils/curl_wrapper, --silent, --head, https://####:443/repository/####, --show-error, --thumbprint, ####], getName()=null, getExecutionDirectory()=/tmp, getCommandExecutionConfiguration()=CommandExecutionConfigurationImpl [redirectErrorStream=true, timeout=0, properties={}]] is ## seconds
time /usr/bin/python3 /opt/vmware/nsx-common/python/nsx_utils/curl_wrapper --silent --head https://####:443/repository/#### --show-error --thumbprint ####
[...]
real #m##.##s
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX
A delay is introduced by the underlying network for each individual file being synced, either during resolution of the remote NSX Manager FQDN or during the actual HTTPS transaction.
Because REPO_SYNC will synchronise a large number of files between NSX Manager appliances, if every transaction take longer than expected, the overall completion time can be considerable.
time dig +short ####
real #m##.##s
time curl -sk #### > /dev/null
real #m##.##s
This is a condition that may occur in a VMware NSX environment.
To resolve this issue, address the underlying cause that introduces delay in the HTTPS transactions performed by REPO_SYNC.