Deploy operation took too long

71 views
Skip to first unread message

GameGaoke

unread,
Sep 11, 2017, 2:26:56 AM9/11/17
to AppScale Community
root@appscale-image0:~# appscale deploy /root/appengine-guestbook-java-master
The version element is not supported in appengine-web.xml. Module <Element '{http://appengine.google.com/ns/1.0}module' at 0x7f7492861ad0> will be overwritten.
Continue? (y/N) y
threadsafe: true
Tarring application
Copying over application
Deploying project: vmruntime-demo
Please wait for your app to start serving.
Deploy operation took too long.
A log with more information is available at
/root/.appscale/log-64e90293-d02c-4ffe-a5dc-5d9f8f6739b3.

root@appscale-image0:~# cat /root/.appscale/log-64e90293-d02c-4ffe-a5dc-5d9f8f6739b3
stacktrace : Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/scripts/appscale.py", line 75, in main
    appscale.deploy(sys.argv[2])
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/appscale.py", line 567, in deploy
    login_host, http_port = AppScaleTools.upload_app(options)
  File "/usr/local/lib/python2.7/dist-packages/appscale/tools/appscale_tools.py", line 957, 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


anyone knows why appscale deployment  tells me Deploy operation took too long ?
my python version is 2.7, java version is 1.7,appscale 3.3

Graziano Obertelli

unread,
Sep 11, 2017, 12:44:02 PM9/11/17
to appscale_...@googlegroups.com
Hello,

usually this happens when appscale is not able to start properly an
AppServer for the application. This could happen if you don't have
enough memory for example (say you are running on 4GB instance with all
roles running there), or it could be due to some application errors
(then you should look into /var/log/appscale/app___<appid>.log).

Have you also checked with appscale status to see if there is any
appserver the system believes is running for the app?

cheers
graziano

-----Original Message-----
From: GameGaoke <1210006...@gmail.com>
Reply-to: appscale_...@googlegroups.com
To: AppScale Community <appscale_...@googlegroups.com>
Subject: Deploy operation took too long
Date: Sun, 10 Sep 2017 23:26:56 -0700 (PDT)

root@appscale-image0:~# appscale deploy /root/appengine-guestbook-java-
master
--
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_commun...@googlegroups.com.
To post to this group, send email to appscale_...@googlegroups.co
m.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.
--
Graziano Obertelli <graz...@appscale.com>
AppScale Inc.
Reply all
Reply to author
Forward
0 new messages