Skip to Content
1

SAP HANA Express HDI Deploy into tenant Database

Nov 24, 2016 at 04:27 PM

391

avatar image
Former Member

Hi,

I try like in the title you can already see to deploy the HDI-Container into a tenant database.

First i registered the Database in XSA as Logical Database after that mapped it to the Organization.

When i try to build the DB Module in the Webide i get the following log:

17:16:10 (Builder) Build of /Testdb/db started.
17:16:12 (DIBuild) Build of /Testdb/db in progress
17:16:17 (DIBuild) ********** Printing /Testdb/db Build Log **********[INFO] Injecting source code into builder...[INFO] Source code injection finished[INFO] ------------------------------------------------------------------------sap-hdi-deploy@2.0.0 node_modules/sap-hdi-deploy├── async@1.4.2├── hdb@0.5.3└── sap-xsenv@1.2.2 (debug@2.2.0, verror@1.6.0)> deploy@ start /hana/shared/HXE/xs/ea_data/hxehost/executionroot/892290b9-43cc-4b05-a4e0-ac012a2ed903/app/tomcat/temp/builder/hdi-builder/builds/build-5650374540857877362/db> node node_modules/sap-hdi-deploy/deploy.jssap-hdi-deploy, version 2.0.0Collecting files...Collecting files... ok (0s 2ms)Processing grants files...Processing grants files... ok (0s 0ms)Preprocessing files...Preprocessing files... ok (0s 2ms)Synchronizing files with the container "2EI5KRZNRSSNL70O_TESTDB_HDI_CONTAINER"...Deployment to container 2EI5KRZNRSSNL70O_TESTDB_HDI_CONTAINER failed - error authentication failed [Deployment ID: none].Error: Error: authentication failed(0s 128ms)npm ERR! Linux 3.12.49-11-defaultnpm ERR! argv "/hana/shared/HXE/xs/ea_data/hxehost/executionroot/892290b9-43cc-4b05-a4e0-ac012a2ed903/app/resources/nodejs/vendor/node4.4/bin/node" "/hana/shared/HXE/xs/ea_data/hxehost/executionroot/892290b9-43cc-4b05-a4e0-ac012a2ed903/app/resources/nodejs/vendor/node4.4/lib/node_modules/npm/bin/npm-cli.js" "start"npm ERR! node v4.4.6npm ERR! npm v2.15.5npm ERR! code ELIFECYCLEnpm ERR! deploy@ start: `node node_modules/sap-hdi-deploy/deploy.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the deploy@ start script 'node node_modules/sap-hdi-deploy/deploy.js'.npm ERR! This is most likely a problem with the deploy package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node node_modules/sap-hdi-deploy/deploy.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs deploynpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm ERR! npm owner ls deploynpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! /hana/shared/HXE/xs/ea_data/hxehost/executionroot/892290b9-43cc-4b05-a4e0-ac012a2ed903/app/tomcat/temp/builder/hdi-builder/builds/build-5650374540857877362/db/npm-debug.log

But if i remove the mapping it builds just fine without any errors.

Hope someone have an idea how to fix it.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Jan 03 at 01:55 AM
0

Hi

did you figure out how to fix the above error ?If so can u please share.

Thanks

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Jan 07 at 06:38 AM
0

Hi Kevin,

The error you've provided , suggest that something is not configured well in your system, It failed when it tried to create a hana hdi container service, as a preparation to the build.

"...Deployment to container 2EI5KRZNRSSNL70O_TESTDB_HDI_CONTAINER failed - error authentication failed [Deployment ID: none].Error: Error: authentication failed..."


You could manually try that by login to your XSA using XSA client command line interface, most likely it's already installed on your HXE system and target the space where the Builder was enabled (usually PROD)

and then execute the commands:

xs target -s PROD
xs create-service hana hdi-shared myservicename

I assume you will get the same error.

Unfortunately I do not know what exactly is wrong with the configuration , maybe additional reader could help here.

I will follow this thread
Good luck and Regards
Roy

Share
10 |10000 characters needed characters left characters exceeded