Redeploying product fails with "no such file or directory" at "Creating and uploading releases"
search cancel

Redeploying product fails with "no such file or directory" at "Creating and uploading releases"

book

Article ID: 298385

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

It may happen that when redeploying a product with bosh you encounter the following error.
 
$ bosh -d cf-fd47824a0a30f8ba7858 deploy cf-fd47824a0a30f8ba7858
Using environment '172.31.100.101' as client 'ops_manager'
Using deployment 'cf-fd47824a0a30f8ba7858'
Creating and uploading releases:
 - Uploading release 'cf-cli/1.38.0':
      stat /var/tempest/releases/cf-cli-1.38.0-ubuntu-xenial-621.261.tgz: no such file or directory


Environment

Product Version: 2.12

Resolution

This happens when running the BOSH deploy command from a VM that is not Ops Manager. That is the reason behind not finding the releases under /var/tempest/releases.

Running the deploy command from Ops Manager VM should solve the problem.