Unknown location error in BOSH using bosh-blobstore-gcs
search cancel

Unknown location error in BOSH using bosh-blobstore-gcs

book

Article ID: 293653

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

While using Google Cloud Storage (GCS) as the blobstore, the BOSH director is unable to connect with the Blobstore. In Google Cloud Platform (GCP), only certain locations are hard coded and if you use one of the new locations you receive the following error message: 
Getting blob from inner blobstore: Getting blob from inner blobstore: Shelling out to bosh-blobstore-gcs cli: Running command: 'bosh-blobstore-gcs -c /var/vcap/bosh/etc/blobstore-gcs.json get fb1sswc343a8b-972ec1efd9 /var/vcap/data/tmp/bosh-blobstore-externalBlobstore-Get921172128', stdout: '', stderr: '2020/02/02 11:59:56 unknown location


Environment

Product Version: 2.6

Resolution

This issue is affecting the following versions of Operations Manager (Ops Manager): 
  • Ops Manager 2.5
  • Ops Manager 2.6
  • Ops Manager 2.7
The issue is with the version of the bosh-gcs-cli that the stemcell in the tile is using. The affected bosh-gcs-cli version is 0.0.3. To confirm if you are affected by this issue you can ssh into the director and run the following command:
bosh/0:/var/vcap/packages/bosh-gcscli/bin# ./bosh-gcscli --v

If you are affected by this issue you should see output similar to below: 
version 0.0.3-4ba9ac0-2017-07-27T22:28:21Z

This has been resolved in the bosh-gcs-cli version 0.0.8 and above. This fix has been added to the following stemcell versions: 
  • 621.29
  • 456.77
  • 315.146
  • 456.100
  • 315.171
  • 250.185
  • 170.205
  • 97.234
The fix has been included in Operations Manager 2.8 and the versions listed below. If you are affected you will need to upgrade to one of the following minimum versions: 
  • Ops Manager 2.6.18
  • Ops Manager 2.7.8
It can also affect other tiles depending on the version of the bosh-gcs-cli that is contained within the stemcell that the tile is using. Please refer to Unsupported GCP regions for Pivotal and Partner Tiles for more information.