Product Version Catalog (PVC) does not exist. Binary Management in VCF Installer 9.x does not list or load binaries.
search cancel

Product Version Catalog (PVC) does not exist. Binary Management in VCF Installer 9.x does not list or load binaries.

book

Article ID: 412548

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • 9.x VCF Installer is launched:
    VCF installer > Depot Settings and Binary Management.

  • An offline depot configuration is being used:
    Offline Depot > Edit depot connection > Configure.

  • After clicking configure the Offline Depot is successfully configured. Once the Product and version is selected it you get the error "Product Version Catalog (PVC) does not exist"

  • We validate the offline depot configuration followed from KB VCF Offline Depot deployment , is accurate and the Offline depot directory structure is valid.
  • lcm-debug.log, points the error to download the productVersionCatalog.sig file.

    yyyy-mm-ddThh:mm:ss.068+0000 INFO  [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.d.DepotBundleDownloadServiceImpl,Scheduled-BMD-1] Getting Pvc Signature file from remote: /metadata/productVersionCatalog/v1/productVersionCatalog.sig to local folder: /nfs/vmware/vcf/nfs-mount/bundle/depot/local/tmpDir/productVersionCatalog.sig
    yyyy-mm-ddThh:mm:ss.069+0000 DEBUG [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.d.utils.CookieUtils,Scheduled-BMD-1] VCF_DEPOT Depot Http Cookies: []
    yyyy-mm-ddThh:mm:ss.073+0000 DEBUG [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.depot.DepotDownloader,Scheduled-BMD-1] Getting file size for [/metadata/productVersionCatalog/v1/productVersionCatalog.sig] from URL[http://ipaddress:80/PROD/metadata/productVersionCatalog/v1/productVersionCatalog.sig]
    yyyy-mm-ddThh:mm:ss.073+0000 DEBUG [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.depot.DepotDownloader,Scheduled-BMD-1] Executing HEAD /PROD/metadata/productVersionCatalog/v1/productVersionCatalog.sig
    yyyy-mm-ddThh:mm:ss.075+0000 DEBUG [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.depot.DepotDownloader,Scheduled-BMD-1] Got response: 404 Not Found HTTP/1.1
    yyyy-mm-ddThh:mm:ss.075+0000 ERROR [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.depot.DepotDownloader,Scheduled-BMD-1] Error getting file size, got response: 404 Not Found HTTP/1.1
    yyyy-mm-ddThh:mm:ss.075+0000 ERROR [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.b.d.d.DepotBundleDownloadServiceImpl,Scheduled-BMD-1] Got Http error[404] while downloading Pvc Signature[/metadata/productVersionCatalog/v1/productVersionCatalog.sg]
    yyyy-mm-ddThh:mm:ss.075+0000 ERROR [vcf_lcm,68c915023416705ac05295e4d5256baa,eb39] [c.v.e.s.l.s.i.BundleManifestDownloadServiceImpl,Scheduled-BMD-1] Error occurred fetching product version catalog file from depot
    com.vmware.evo.sddc.lcm.model.depot.exception.DepotFileNotFoundException: Error downloadingPvc Signature[/metadata/productVersionCatalog/v1/productVersionCatalog.sig]. File not found.
            at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.downloadFile(DepotBundleDownloadServiceImpl.java:2254)
            at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.downloadLcmProductVersionCatalogSignature(DepotBundleDownloadServiceImpl.java:2173)
            at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotBundleDownloadServiceImpl.downloadLcmProductVersionCatalogSignature(DepotBundleDownloadServiceImpl.java:2196)
            at com.vmware.evo.sddc.lcm.services.impl.BundleManifestDownloadServiceImpl.downloadProductVersionCatalog(BundleManifestDownloadServiceImpl.java:515)

        

Environment

VCF 9.0

Cause

The offline depot server is a Windows IIS webserver, and it is missing file extensions as MIME types in IIS.
The webserver could not identify the extension .sig with the appropriate MIME type to download the productVersionCatalog.sig. Thus it returned a 404 error.  

Resolution

  • Add the file extensions as MIME types in IIS to ensure that the server correctly identifies and downloads the files required for the VCF installation. 

  • You can add a wildcard file name extension (.*) as MIME Type for the Windows IIS webserver, this will allow download of all files.
    For more information refer - Adding File Name Extensions.

Additional Information

Run the following commands on the VCF installer appliance SSH -

# curl --head http://IP-depot-server:80/PROD/metadata/productVersionCatalog/v1/productVersionCatalog.json
# curl --head http://IP-depot-server:80/PROD/metadata/productVersionCatalog/v1/productVersionCatalog.sig

With the difference in the response you will be able to see that Installer can fetch productVersionCatalog.json, but not productVersionCatalog.sig.