vCenter patch shows no patches available, ESXi and NSX do not show the latest patches
SDDC 5.2
The issue is caused due to an extra space at the end of the following properties in /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
From the below line, notice an extra space at the end of the line
lcm.depot.adapter.remote.lcmProductVersionCatalogDir=/COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog $
SSH into the SDDC cli
Navigate to the directory /opt/vmware/vcf/lcm/lcm-app/conf/
Type # cat -A application-prod.properties
This will show a dollar at the end of the actual line. This will help us check if there is any extra space at the end of the line
Take a backup of the file
# cp application-prod.properties application-prod.properties.bck
# vi application-prod.properties
Remove the extra space at the end of the line from the below line
lcm.depot.adapter.remote.lcmProductVersionCatalogDir=/COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog $
:wq! to save and close the properties
Restart the LCM service by running the command below
# systemctl restart lcm
Please note: It will take a couple of hours for the depot to sync the new patches and to show up on the Plan Patching