SAP-samples / btp-cap-multitenant-saas

Sample project that demonstrates how to setup a multitenant application for a Software-as-a-Service scenario, leveraging the Kyma and Cloud Foundry Runtimes of the SAP Business Technology Platform. Developers learn how to implement their own CAP (mtxs) based SaaS app including an SaaS API and integration with various essential SAP BTP service of...
Apache License 2.0
75 stars 38 forks source link

Subscription fails for subscriber tenant #9

Closed yevgentrukhin closed 7 months ago

yevgentrukhin commented 8 months ago

When performing tenant subscription for Saas dev plan, I get the 500 Error:

2023-12-18T17:47:16.969+0000 [APP/PROC/WEB/0] STDOUT Subscription Params: [object Object] 2023-12-18T17:47:16.969+0000 [APP/PROC/WEB/0] STDOUT Custdomain null 2023-12-18T17:47:16.969+0000 [APP/PROC/WEB/0] STDOUT [mtx|sap-provisioning] - subscribing tenant 2023-12-18T17:47:17.023+0000 [APP/PROC/WEB/0] STDOUT [mtx|] - creating HDI container for { tenant: '' } with { 2023-12-18T17:47:17.023+0000 [APP/PROC/WEB/0] STDOUT provisioning_parameters: {

2023-12-18T17:47:30.065+0000 [APP/PROC/WEB/0] STDOUT [mtx|] - finished HANA deployment artifact preparation 2023-12-18T17:47:30.067+0000 [APP/PROC/WEB/0] STDERR [mtx|] - refreshing credentials failed with Error: Connect failed (invalid SERVERNODE '') 2023-12-18T17:47:30.067+0000 [APP/PROC/WEB/0] STDERR at Socket. (/home/vcap/deps/0/node_modules/@sap/hana-client/lib/index.js:53:13) 2023-12-18T17:47:30.067+0000 [APP/PROC/WEB/0] STDERR at Socket.emit (node:events:517:28) 2023-12-18T17:47:30.067+0000 [APP/PROC/WEB/0] STDERR at addChunk (node:internal/streams/readable:335:12)

alperdedeoglu commented 7 months ago

Hi Yevgen, Please check if you have the correct versions of cds. I can not reproduce this, therefore I close it. Feel free to open it if you encounter issue again. This could be a version mismatch between cds and cds-mtx.