pombreda / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

Appscale stalls on startup #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running appscale, occassionally the following will show up on the logs
and appscale fails to come up:

[Tue Nov 24 01:59:56 -0800 2009] Still waiting for that secret key...

The appscale-tools say:
Please wait for the controller to finish pre-processing tasks.

and when ctr-c'ed out of them:
^C./../lib/common_functions.rb:103:in `sleep': Interrupt
    from ./../lib/common_functions.rb:103:in `sleep_until_port_is_open'
    from ./../lib/common_functions.rb:101:in `loop'
    from ./../lib/common_functions.rb:101:in `sleep_until_port_is_open'
    from appscale-run-instances.rb:198

Original issue reported on code.google.com by nlak...@gmail.com on 24 Nov 2009 at 10:02

GoogleCodeExporter commented 9 years ago
This is believed to be caused by a failed scp of the secret key from the user's 
box
to the head node. Have added in a check on the return value of scp (with the 
tools
failing if it's not zero) and a timeout on the scp itself (as if the box itself 
is
down, scp will take a while to return).

Tested and working with current version of appscale, will leave open until we 
are
certain this fixes the problem.

Original comment by shattere...@gmail.com on 30 Nov 2009 at 7:29

GoogleCodeExporter commented 9 years ago
Raj still encounters the same problem but I am unable to repro it. Will return 
to
this problem later.

Original comment by shattere...@gmail.com on 7 Jan 2010 at 7:44

GoogleCodeExporter commented 9 years ago
Now able to consistently reproduce on new laptop. Will investigate.

Original comment by shattere...@gmail.com on 13 Jan 2010 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by nlak...@gmail.com on 28 Mar 2011 at 10:32