Publishing an app as a service fails with "p-identity does not exist"
search cancel

Publishing an app as a service fails with "p-identity does not exist"

book

Article ID: 448061

calendar_today

Updated On:

Products

VMware Tanzu Platform Core

Issue/Introduction

Trying to publish an app as a service but it fails with:

Unable to publish application. Please try publishing again. "create managed could not be completed: Service p-identity does not exist"

Environment

Tanzu Hub

Cause

The tanzu-service-publisher plan must be enabled for the org where the publishing app is hosted.

Resolution

First un-publish the failed App publication on Hub UI

Check what orgs have access to the p.identity plans. Ensure the tanzu-service-publisher plan is enabled for the org where the publishing app is hosted.

cf service-access

Grant the application org access to the p-identity service plans 

cf enable-service-access p-identity -p <Plan> -b identity-service-broker -o <App Org>

Publish the application as a Service