Appscale fails to start

Skip to first unread message

Prashant Hegde

Oct 16, 2019, 11:16:57 AM10/16/19
to, Chris Donati
Hello Chris & team,

In one of the appscale deployments, we are seeing the following exception in controller.log, which causes the "appscale up" to stop at "granting privileges stage...".

I, [2019-10-16T14:16:51.139590 #28327]  INFO -- : Creating /opt/appscale/apps/appscaledashboard.tar.gz
/var/lib/gems/2.3.0/gems/posixpsutil-0.1.0-x86_64-linux/lib/posixpsutil/process.rb:284:in `name': undefined method `length' for nil:NilClass (NoMethodError)
        from /root/appscale/AppController/lib/ejabberd.rb:64:in `block in ensure_correct_epmd'
        from /root/appscale/AppController/lib/ejabberd.rb:62:in `each'
        from /root/appscale/AppController/lib/ejabberd.rb:62:in `ensure_correct_epmd'
        from /root/appscale/AppController/lib/ejabberd.rb:31:in `start'
        from /root/appscale/AppController/djinn.rb:4500:in `start_ejabberd'
        from /root/appscale/AppController/djinn.rb:3336:in `block in start_stop_api_services'

Any clues as to what could be wrong?

Thanks in advance

Chris Donati

Oct 16, 2019, 12:54:10 PM10/16/19
to Prashant Hegde,
This seems like an uncaught exception in the PosixPsutil Ruby gem. I'll see if I can submit a fix upstream.

In the meantime, you can try the following diff to see if it fixes your issue:

I based it off the 3.6 release branch since the line numbers in your stack trace indicate that might be what you are using.

(Sorry about the double email. I mistakenly omitted the google group from the recipient list on the first email.)

Prashant Hegde

Oct 16, 2019, 9:05:41 PM10/16/19
to Chris Donati,
As always, thanks Chris for coming to the rescue. This worked like magic. Thank you!

I am wondering - This server was working fine 3 months earlier when it was installed.. ( and was left untouched since). Does this error manifests after some update?


Graziano Obertelli

Oct 16, 2019, 11:34:29 PM10/16/19
to, Chris Donati
From the look of it, the error seems a race condition while trying to
get the list of running processes. The upgrade may have triggered it in
the sense that you had to do an up/down.

thanks for reporting, we'll have this fix in the next release :)
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
To view this discussion on the web visit
Graziano Obertelli | VP Operations

Prashant Hegde

Oct 16, 2019, 11:54:22 PM10/16/19
to, Chris Donati
Thanks for the clarification !


Reply all
Reply to author
0 new messages