After deploy a app failed ,all apps disappeared

6 views
Skip to first unread message

GameGaoke

unread,
Oct 12, 2017, 5:29:03 AM10/12/17
to AppScale Community
Hello, When I deploy a app to appscale
root@appscale-image0:~# appscale deploy  unkill/newhope/mod-default/
AppScale did not find the correct SDK jar versions in your app. The current supported SDK version is 1.8.4.
Tarring application
Copying over application
Deploying service default for mfg-china-unkilled-dev
Please wait for your app to start serving.
Deploy operation took too long.

A log with more information is available at
/root/.appscale/log-d55c423c-fe2d-49df-a488-4d0226cb0fe5.


root@appscale-image0:~/.appscale# cat /root/.appscale/log-d55c423c-fe2d-49df-a488-4d0226cb0fe5 
stacktrace : Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/scripts/appscale.py", line 83, in main
    appscale.deploy(sys.argv[2])
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/appscale.py", line 590, in deploy
    login_host, http_port = AppScaleTools.upload_app(options)
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/appscale_tools.py", line 1007, in upload_app
    raise AppScaleException(operation['error']['message'])
AppScaleException: Deploy operation took too long.

exception : AppScaleException

tools_version : 3.3.1

platform : Linux-4.4.0-31-generic-x86_64-with-Ubuntu-14.04-trusty

message : Deploy operation took too long.

runtime : CPython


then I use command "appscale status" and find all running apps are disappeared(before deploy app mod-default,  there are three other running apps),where can I see the detail cause log or  what's the cause of  this scene

Chris Donati

unread,
Oct 19, 2017, 12:50:49 AM10/19/17
to appscale_...@googlegroups.com
Strange. I have not seen that behavior before. When you run `monit summary`, does it show the entries for those applications?

To find out what happened, I would take a look at /var/log/appscale/controller.log on the head node. If you search for the first occurrence of the app ID you deployed, it should show which machine it decided to start the application on. If this is a multi-node deployment and it decided to start the application on a different machine, you'll need to check the controller log on that machine to see what happened.

--
You received this message because you are subscribed to the Google Groups "AppScale Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsub...@googlegroups.com.
To post to this group, send email to appscale_community@googlegroups.com.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages