How to check a Diego cell for placement tag values?
search cancel

How to check a Diego cell for placement tag values?

book

Article ID: 377750

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

A user may need to check the "Placement Tags" associated with a Diego cell and/or experience error(s) similar to below:

ERR Failed to stage build: found no compatible cell with placement tag "mytestcells"

Resolution

Users can check for the placement tags for a Diego cell by checking the Diego vm's "/var/vcap/jobs/rep/config" directory:

1. ssh onto diego cell:
bosh -d <CF-DEPLOYMENT-NAME> ssh <DIEGO-CELL-ID> 

2. cd to directory /var/vcap/jobs/rep/config

3. run below command:
cat rep.json | grep placement

 

The above commands output should look similar to below example:

Example:

The user can see in the above output if a placement tag is associated with the Diego cell.

Additional Information

To add/remove placement tags from a Diego cell, users can follow step 3 from this KB article.