Spring Application Advisor Error: 'Specified Name is Not Available for This Repository', when applying tanzu-spring-sdk advice
search cancel

Spring Application Advisor Error: 'Specified Name is Not Available for This Repository', when applying tanzu-spring-sdk advice

book

Article ID: 440001

calendar_today

Updated On:

Products

VMware Tanzu Platform Core

Issue/Introduction

When you attempt to apply the Tanzu Spring SDK advice using the Cloud Foundry (cf) CLI or Spring Application Advisor, the command fails with the following error message:

The specified name is not available for this repository. Please, run "advisor advice list" to check available projects.

You encounter this when running : 

cf repo apply-advice --name=tanzu-spring-sdk

or

advisor advice apply --name=tanzu-spring-sdk

Environment

  • Tool: Tanzu Spring Application Advisor
  • Interface: cf CLI / advisor CLI

Cause

The advice name tanzu-spring-sdk is no longer valid. The name of the advice changed to tanzu-spring-starter. Current documentation still refers to the legacy name, leading to this mismatch during execution.

Resolution

To resolve this error, you must use the updated advice name in your command. This is

cf repo apply-advice --name=tanzu-spring-starter

or

advisor advice apply --name=tanzu-spring-starter

 

(Optional) To verify all available advice names in your specific repository, run the following commands:

Application Advisor CLI:

advisor advice list


Tanzu cf CLI:

cf repo advice

Broadcom Spring R&D is currently updating the official documentation to reflect this name change.