Spring Cloud Services Deployment fails with can't resolve link error in PAS 2.2
search cancel

Spring Cloud Services Deployment fails with can't resolve link error in PAS 2.2

book

Article ID: 292928

calendar_today

Updated On:

Products

VMware Spring Runtime

Issue/Introduction

Symptoms:

Here is the error message:

Task 433 | 16:36:14 | Preparing deployment: Preparing deployment (00:00:00)
                    L Error: Failed to resolve links from deployment 'p-spring-cloud-services-bd8c1435c80fcfc0bcd9'. See errors below:
  - Can't resolve link 'credhub' for job 'deploy-service-broker' in instance group 'deploy-service-broker' in deployment 'p-spring-cloud-services-bd8c1435c80fcfc0bcd9'
Task 433 | 16:36:14 | Error: Failed to resolve links from deployment 'p-spring-cloud-services-bd8c1435c80fcfc0bcd9'. See errors below:
  - Can't resolve link 'credhub' for job 'deploy-service-broker' in instance group 'deploy-service-broker' in deployment 'p-spring-cloud-services-bd8c1435c80fcfc0bcd9'

Environment


Cause

This occurs because the tile metadata includes a link syntax that is no longer supported in the latest version of the BOSH Director.  The "{}" needs to be "null" in the below example.  The following will be observed in the Operations Manager Changelog when this issue occurs. 

+   jobs:
+   - consumes:
+       credhub: {}


The correct syntax for this BOSH link should be "null" in order to represent a null link

+   jobs:
+   - consumes:
+       credhub: null

Resolution

Pivotal Application Service version 2.2 requires SCS tile version 1.5.6. Upgrading to SCS version 1.5.6 will satisfy the BOSH links requirement and the preparing deployment step will succeed.