Unable to install async drivers or offline bundles using the command line in ESXi
search cancel

Unable to install async drivers or offline bundles using the command line in ESXi

book

Article ID: 343838

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Cannot install async driver on the ESXi 5.x/6.x host using the command line (CLI)
  • Running the esxcli software vib install -d command fails
  • You see errors similar to:
    [MetadataDownloadError]
    
    Could not download from depot at zip:/var/log/vmware/update-from-esxi5.0-5.0_update01_new.zip?index.xml, skipping (('zip:/var/log/vmware/update-from-esxi5.0-5.0_update01_new.zip?index.xml', '', "Error extracting index.xml from /var/log/vmware/update-from-esxi5.0-5.0_update01_new.zip: [Errno 2] No such file or directory: '/var/log/vmware/update-from-esxi5.0-5.0_update01_new.zip'"))
    url = zip:/var/log/vmware/update-from-esxi5.0-5.0_update01_new.zip?index.xml
    
    Please refer to the log file for more details

 

Note: This sample error is specific to an ESXi 5.0 Update 1 offline software bundle. The error varies depending on the product you are installing.



Environment

  • VMware vSphere ESXi 5.x
  • VMware vSphere ESXi 6.x
  • VMware vSphere ESXi 7.0.x
  • VMware vSphere ESXi 8.0.x

Cause

This issue occurs if:
  • The full path of the specific driver and/or bundle is not specified.
  • The esxcli command syntax is incorrect.
  • If the offline zip is not extracted from the download zip bundle, esxcli software vib install will not be able open the zip and find the needed driver zip bundle.  It must be extracted first from the download package.

Resolution

To resolve this issue, ensure to use the full path to the zip bundle.

For example, use a command similar to:
# esxcli software vib install -d /vmfs/volume/<datastoreUUID>/<FILENAME>.zip

Note : To determine the Datastore UUID using the vSphere Client:
  1. Navigate to Configuration > Storage.
  2. Select the datastore.
  3. View Location under Datastore Details.

    The Datastore UUID appears similar to /vmfs/volumes/<datastoreUUID> where <datastoreUUID> is the UUID.
 
Notes:




Additional Information