:::: MENU ::::

esxcliでCould not download from depot at zip

ESXiのホストにSSHで接続し、下記のようなコマンドでインストール若しくはアップグレードしようとすると、「Could not download from depot at zip…」のエラーとなる。

esxcli software vib install -d ESXi510-201210001.zip
[MetadataDownloadError]
Could not download from depot at zip:/var/log/vmware/ESXi510-201210001.zip?index.xml, skipping ((‘zip:/var/log/vmware/ESXi510-201210001.zip?index.xml’, ”, “Error extracting index.xml from /var/log/vmware/ESXi510-201210001.zip: [Errno 2] No such file or directory: ‘/var/log/vmware/ESXi510-201210001.zip'”))
url = zip:/var/log/vmware/ESXi510-201210001.zip?index.xml
Please refer to the log file for more details.
/vmfs/volumes/5089330b-b7dad582-0a21-000c29913bb7 # cd /var/log/vmware/

下記のように、適用ファイルのフルパスを指定すると上手くいく。

# esxcli software vib install -d /vmfs/volumes/datastore1/ESXi510-201210001.zip
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_esx-base_5.1.0-0.5.838463
….
….


So, what do you think ?