SDDC Async Patches showing "No Patches Available".
search cancel

SDDC Async Patches showing "No Patches Available".

book

Article ID: 408460

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

 

  • When attempting to patch ESXi hosts in a VMware Cloud Foundation (VCF) environment, the patch does not appear as an available update in the SDDC Manager interface.

  • Error in /var/log/vmware/vcf/lcm.log:
INFO  [vcf_lcm,68acc63ca80de98504ee746564343522,c665] [c.v.e.s.l.c.s.BundleManifestDownloadScheduler,Scheduled-8] Download VCF LCM Product Version Catalog
INFO  [vcf_lcm,68acc63ca80de98504ee746564343522,c665] [c.v.e.s.l.b.d.d.DepotBundleDownloadServiceImpl,Scheduled-8] Getting LCM product version catalog file from remote: /evo/vmw/lcm/productVersionCatalog/v1//COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog to local folder: /COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog
ERROR [vcf_lcm,68acc63ca80de98504ee746564343522,c665] [c.v.e.s.l.b.d.depot.DepotDownloader,Scheduled-8] Error getting file size, got response: 403 Forbidden HTTP/1.1
ERROR [vcf_lcm,68acc63ca80de98504ee746564343522,c665] [c.v.e.s.l.b.d.d.DepotBundleDownloadServiceImpl,Scheduled-8] Got Http error[403] while downloading LCM Product Version Catalog [/evo/vmw/lcm/productVersionCatalog/v1//COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog]
ERROR [vcf_lcm,68acc63ca80de98504ee746564343522,c665] [c.v.e.s.l.c.s.BundleManifestDownloadScheduler,Scheduled-8] Error occurred fetching product version catalog file from depot.com.vmware.evo.sddc.lcm.model.depot.exception.DepotConnectionFailureException: Error [403]  downloading LCM Product Version Catalog [/evo/vmw/lcm/productVersionCatalog/v1//COMP/SDDC_MANAGER_VCF/lcm/productVersionCatalog] from dl.broadcom.com:443, http error [403]
        at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.downloadLcmProductVersionCatalogFileWithRemotePath(DepotBundleDownloadServiceImpl.java:1895)
        at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.downloadLcmProductVersionCatalog(DepotBundleDownloadServiceImpl.java:1834)
        at com.vmware.evo.sddc.lcm.core.scheduler.BundleManifestDownloadScheduler.downloadProductVersionCatalog(BundleManifestDownloadScheduler.java:410)
        at com.vmware.evo.sddc.lcm.core.scheduler.BundleManifestDownloadScheduler.bundleManifestDownloadTask(BundleManifestDownloadScheduler.java:322)
        at com.vmware.evo.sddc.lcm.core.scheduler.BundleManifestDownloadScheduler.processTask(BundleManifestDownloadScheduler.java:594)
        at com.vmware.evo.sddc.lcm.model.task.AbstractLcmControllableScheduledTask.recieveMessage(AbstractLcmControllableScheduledTask.java:51)
        at jdk.internal.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)

Environment

VMware SDDC Manager 5.x

Cause

This issue is caused by an incorrect value for the lcm.depot.adapter.lcmProductVersionCatalogFile parameter in the application-prod.properties file used by Lifecycle Manager. This misconfiguration causes the LCM service to request a non-existent file path from the Broadcom depot, resulting in a 403 Forbidden error and preventing catalog synchronization.

Note: Most likely misconfiguration is the ".json" extension is missing at the end of the property value, and was changed from default value while editing other "Dir" (Directory) property values. This can be the situation for any of the "...File=..." property values that should have the appropriate extension at the end of the value.

Resolution

Follow the below steps:

Note: Take a snapshot of the SDDC Manager before making any changes.

  1. SSH to SDDC Manager with vcf user and su to root.

  2. Open the LCM configuration file:
    vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
  3. Modify the following properties.

    Edit the application-prod.properties file to update the following properties under ################### LCM PRODUCT VERSION CATALOG DOWNLOAD PROPERTIES ######################## 

  4. Locate the following parameter: lcm.depot.adapter.lcmProductVersionCatalogFile

    Update the value to the correct entry:

    lcm.depot.adapter.lcmProductVersionCatalogFile=productVersionCatalog.json
  5. Review the file for any other "...File=..." properties missing appropriate file extensions and correct the values.
  6. Restart the lcm service for the change to take effect.
    systemctl restart lcm
  7. Once restarted, the SDDC Manager should successfully download the product version catalog, and the missing patch will appear in the upgrade planner.

Additional Information