VCF Operations Upgrade Fails at "Stage Precheck Binaries" Phase with Offline Depot
search cancel

VCF Operations Upgrade Fails at "Stage Precheck Binaries" Phase with Offline Depot

book

Article ID: 447079

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Upgrading VMware Cloud Foundation (VCF) Operations to version 9.1.0.0100 using an offline depot, the upgrade precheck fails during the Stage Precheck Binaries phase.

Error on SDDC lcm debug looks something similar to below snippet(/var/log/vmware/vcf/lcm) : 

Log Snippet :ERROR ... [PAK_MANAGER_ACTION_LOGGER.lambda$stage$1:235]
Unexpected exception during stage operation: 404 Not Found on GET request for
"https://fqdnn/depot-service/content-gateway/PROD/COMP/VROPS/APUAT-for-8.14.x-9.1.0.0.25435043.pak

Environment

 

  • VMware Cloud Foundation (VCF) 9.x

  • VCF Operations 9.1.x

 

 

Cause

The upgrade bundle files (such as .pak, .sig, and .ova files) are physically present in the correct directories on the offline depot server. However, the upgrade fails because Microsoft IIS, by default, restricts downloading file types that do not have an explicitly mapped MIME type. Because extensions like .pak or .sig are missing from the default IIS MIME Types configuration

Resolution

Configure Windows IIS to serve .sig files with the MIME type application/octet-stream.

To do so, follow the steps below.

  1. Log into the IIS hosting server as an administrator.
  2. Click Start > Windows System > Windows Administrative Tools
  3. In Administrative Tools, double-click Internet Information Services (IIS) Manager.
  4. Click the server name and click MIME Types. 
  5. In the Actions menu on the right hand side, click Add..
  6. Enter the file extension and MIME type, then click OK.
    File name extension:.ova
    MIME Type: application/octet-stream

Additional Information

Refer to the Knowledge Base article VCF Offline Depot deployment for more information.