Appscale fails to start

12 views
Skip to first unread message

Prashant Hegde

unread,
Oct 16, 2019, 11:16:57 AM10/16/19
to appscale_...@googlegroups.com, 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
Prashant

Chris Donati

unread,
Oct 16, 2019, 12:54:10 PM10/16/19
to Prashant Hegde, appscale_...@googlegroups.com
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

unread,
Oct 16, 2019, 9:05:41 PM10/16/19
to Chris Donati, appscale_...@googlegroups.com
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?

Regards


Graziano Obertelli

unread,
Oct 16, 2019, 11:34:29 PM10/16/19
to appscale_...@googlegroups.com, 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 appscale_commun...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/appscale_community/CAHXAtA_Q1jVHGBJ_AY80x2MvgQD7FNhxYqGOPq8m0TZ3%3D3-NqQ%40mail.gmail.com
.
--
Graziano Obertelli | VP Operations
805.570.1647 graz...@appscale.com
www.appscale.com

Prashant Hegde

unread,
Oct 16, 2019, 11:54:22 PM10/16/19
to appscale_...@googlegroups.com, Chris Donati
Thanks for the clarification !

Regards



Reply all
Reply to author
Forward
0 new messages