on 12-28-2021 1:40 PM
Hi!
I try to deploy my CAP project using cds deploy command. Here is my log:
cds deploy --to hana
Debugger attached.
[cds.deploy] - Starting deploy to SAP HANA ...
[cds.deploy] - Creating build tasks
[cds.deploy] - Running build
[cds.deploy] - Using container payops_api-db-hdi-container
[cds.deploy] - Running 'cf create-service hana hdi-shared payops_api-db-hdi-container' with options {}
Creating service "payops_api-db-hdi-container"...
FAILED: Asynchronous job 'Creating service instance 'payops_api-db-hdi-container' [service: 'hana', plan:'hdi-shared'] of [Org 'booking', Space 'DEV'].' failed: service instance 'payops_api-db-hdi-container' [service: 'hana', plan:'hdi-shared'] of [Org 'booking', Space 'DEV'] with same name already exists.
[ERROR] [cds.deploy] - Create request failed
From what I see :we have a method _getOrCreateCFService like this:
however there is no fallback scenario so it's not really true that it tries to get or create - it always tries to create and if it already exists - just fails.
Could you please have a look? I'm just following this guide actually https://cap.cloud.sap/docs/guides/databases#cds-deploy-hana
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.