Skip to Content
0

Error deploying SHINE for SAP HANA XS Advanced Model to my HANA 2.0, express edition via Web IDE

Feb 13, 2017 at 04:26 PM

736

avatar image

Dear experts,

when trying to deploy the SHINE for SAP HANA XS Advanced Model to my HANA 2.0, express edition via Web IDE, the starting of application "shine-user-db" times out:

 Uploading application "shine-user-db"...
 Matched files count: 0
 Matched resources processed, total size is 0
 Upload status: finished
 Scaling application "shine-user-db"...
 Stopping application "shine-user-db"...
 Starting application "shine-user-db"...
 Node.js
 Node.js buildpack version 3.2.3
 Avoid using semver ranges starting with '>' in engines.node
 Available Node.js runtimes: node6.9,node4.6
 Npm install not needed - attempting partial runtime download
 Downloading Node.js...
 Unpacking Node.js archive...
 Omitting npm install: node_modules directory is already present
 Copying SSL CA certificates...
 Application "shine-user-db" staged
 1 of 1 instances running (1 running,4 crashed)
 Application "shine-user-db" started
 Starting application "shine-user-db" timed out
ERR    Starting application "shine-user-db" timed out

When checking the details with xs logs shine-user-db --recent I get the following:

Connected, dumping recent logs for app "shine-user-db"
13/02/17 16:10:39.243 [API] OUT   Starting new instance 'd684a49b-5ce1-4e9b-83c1-3de599bd04c6' of application "shine-user-db" (port
40449, index 2).
13/02/17 16:11:08.421 [API] ERR   Please check state of application "shine-user-db" (space "SAP") as the total downtime is below a c
ritical threshold.
13/02/17 16:11:08.428 [API] ERR   Number of running instances for application "shine-user-db" is 0 but should be 1. Trying to adapt
number of running instances...
13/02/17 16:11:08.464 [API] OUT   Cleared instance '3b4e3ed1-2b09-49c9-8366-a23c7f6bab14' of application "shine-user-db" (port 40446
, pid 29840).
13/02/17 16:11:09.319 [API] OUT   Starting new instance '8441ab98-1c96-4ab0-b76c-573edad7b06c' of application "shine-user-db" (port
40450, index 3).
13/02/17 16:11:09.577 [APP/3-3] ERR    Error: service XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container not found; either
 the service definition does not exist or it is not tagged with the tag "hana"
13/02/17 16:11:09.578 [APP/3-3] OUT    (0s 95ms)

This is strange because it complains that service XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container not found; either the service definition does not exist or it is not tagged with the tag "hana", when this is clearly the case as per xs s:

shine-scheduler                                                jobscheduler    default
XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container   hana            hdi-shared
XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-container        hana            hdi-shared
shine-container                                                hana            hdi-shared    shine-core-js
XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-sh35eb1546             hana            hdi-shared    shine-user-db
shine-uaa                                                      xsuaa           default       shine-core-js
lm-service-credentials                                         user-provided                 product-installer
CROSS_SCHEMA_SYS                                               user-provided
CROSS_SCHEMA_SYS_BI                                            user-provided

Any ideas what could cause this or experience in deploying the SHINE for SAP HANA XS Advanced Model to the HANA 2.0, express edition via Web IDE would be very much appreciated.

Best regards

Frank

10 |10000 characters needed characters left characters exceeded

Dear experts,

I did some more research on this and the service that is supposedly missing or not tagged with the tag "hana" definitely exists, since I was able to update it with a tag "hana":

C:\XS_CLIENT00P_34-70001792\bin>xs update-service XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container -t "hana"
Updating service instance "XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container"...
OK<br>

Unfortunately, the service is still not recognized.

Again, any ideas what could cause this or experience in deploying the SHINE for SAP HANA XS Advanced Model to the HANA 2.0, express edition via Web IDE would be more than appreciated.

Best regards

Frank

0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Stephen Cherian
Feb 21, 2017 at 10:22 AM
0

Hi Frank

As mentioned in Chapter 3.1 Step 13 of the SHINE for XSA Guide . Did you copy your user container name and paste it in line 141 (<USER CONTAINER NAME>)of mta.yaml.( Please note the document incorrectly says as line 115 the correct line number is 141) after a dummy build.

Best Regards

Stephen

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Stephen,

Yes, I copied my container name into the mta.yaml file. Otherwise the shine-user-db module would not build.

Also the deployment error is, that it looks for exactly this service, but cannot find it, although it is there and I can even manually bind it, but that does not make the deployment proceed either.

Am I the only one having this problem?

Very best regards

Frank

0
Stephen Cherian
Feb 24, 2017 at 07:37 PM
0

Hi Frank,

Can you try the following

1. Manually delete the user-container service by running command

xs ds XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container

2. Use a fresh mta.yaml from SHINE github

3. Do a dummy build of user-db module

4. Get the new user container name and replace it in line 141 of mta.yaml

If the above does not help please share your mta.yaml and i will have a look

Best regards

Stephen

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you Stephen,

I deleted the container started with a fresh mta.yaml from GitHub but still run into the same issue.

Please find my mta.yaml attached.

Very many thanks for your help in advance again

Frank

mtayaml.txt (4.0 kB)
0
Stephen Cherian
Feb 24, 2017 at 07:37 PM
0

Hi Frank,

Can you try the following

1. Manually delete the user-container service by running command

xs ds XSA_DEV-fn7w4r8uj1lbwyl5-hana-shine-xsa-shine-user-container

2. Use a fresh mta.yaml from SHINE github

3. Do a dummy build of user-db module

4. Get the new user container name and replace it in line 141 of mta.yaml

If the above does not help please share your mta.yaml and i will have a look

Best regards

Stephen

Share
10 |10000 characters needed characters left characters exceeded