cancel
Showing results for 
Search instead for 
Did you mean: 

SCP Multitenant: Not able to deploy SaaS applications into different subaccounts in same region

0 Kudos
828

Hello,

I have four subaccounts.

  1. Provider1(US East (VA) region)
  2. Consumer1(US East (VA) region)
  3. Provider2(US East (VA) region)
  4. Consumer2(US East (VA) region)

I have created a saas-multi tenant application and deployed it into the Provider1 subaccount. Deployment successful subscribed from the Consumer1 subaccount.

Now I am trying to deploy the same application into the Provider2 subaccount getting the below error.

Error creating service "myappsaas-registry" from offering "saas-registry" and plan "application": CF-ServiceBrokerBadResponse(10001): Service broker error: Service broker saas-registry failed with: SaaS application/service with the same appName (its value is: myappsaas) already registered in SaaS".

Could you please help with this issue?

Not able to deploy same saas application into multiple subaccounts which is in the same region.

I can able to deploy the same application into different subaccount which is in a different region.

Regards,

Chamdeep

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Hi Chamdeep,

I think the error message is clear. You would need to define a different name for the "myappsaas-registry" service. I would suggest to use the variable:

${space}

in the mta.yaml.

CU
Gregor

0 Kudos

Hello Gregor,

Thanks for the quick response. Below is my code. Can you suggest me where can I add ${space}.

Regards,

Chamdeep

gregorw
SAP Mentor
SAP Mentor
0 Kudos
xsappname: ~{sapsaasapp-uaa/XSAPPNAME}-${space}
0 Kudos

Hello Gregor

I tried with that getting below error.

Regards,

Chamdeep

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Seems you also need to adjust the appName.

0 Kudos

Hello Gregor,

Thanks for the solution. I have one more small query.

Why saas-registry checks for different subaccounts ? Is it that saas-registry is applicable at global level ?

Regards,

Chamdeep

gregorw
SAP Mentor
SAP Mentor

As apps available for subscription are only visible inside a region of a global account this check must be done to keep them unique.

0 Kudos

Got it.Thanks for the update.

Answers (0)