cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Why my deploy "Deploy using cf deploy" is failed?

BinHuang
Discoverer
0 Likes
903

Link: https://developers.sap.com/tutorials/cp-cap-java-deploy-cf.html

Step 7:

I do it. But I got the error:

Error while binding service instance "bookstore-db" to application "bookstore-db-deployer": Could not bind service "bookstore-db" to application "bookstore-db-deployer": 422 Unprocessable Entity: CF-UnprocessableEntity(10008): Service instance not found
Error while binding service instance "bookstore-db" to application "bookstore-srv": Could not bind service "bookstore-db" to application "bookstore-srv": 422 Unprocessable Entity: CF-UnprocessableEntity(10008): Service instance not found

And I check the instance in the SAP BTP Cockpit Overview.

The "bookstore-db" instance is Creation failed.

I follow the all step in the lesson. Did I forget which step?

 

Thanks.

Best Regards,

Bin Huang

Accepted Solutions (0)

Answers (2)

Answers (2)

ArunJacob
Active Participant
0 Likes

Hello Bin,

Is the db instance created on BTP?

from the error message, 'There is no database available' it looks like the SAP BTP trial subaccount (Cloud Foundry environment) does not have an SAP HANA Cloud database instance provisioned yet.

Can you try creating a HANA db?

ArunJacob_0-1746002757864.png

Start Using SAP HANA Cloud Trial in SAP BTP Cockpit | SAP Tutorials

Thanks

Willem_Pardaens
Product and Topic Expert
Product and Topic Expert
0 Likes

When the "bookstore-db" is in status failed it means it couldn't create the HDI container (schema) in your HANA database. So best would be to verify if your HANA Cloud is created, running, and mapped to the subaccount/space you are deploying your application in. (Step 1) You can also click on the "failed" message in the cockpit to learn more about the reason.

Once verified that HC is ready, you have to delete "bookstore-db" via the cockpit and retry the deployment.

BinHuang
Discoverer
0 Likes

The message:

Service broker error: Service broker hana-broker failed with: Can not create service instance 'bookstore-db': There is no database available. Ensure that you have a database available in space 'dev' within organization '8a8eaab0trial'.

How can I check the database?  And how can I create it?

Thanks.

Best Regards,

Bin Huang