Re: appscale dashboard not coming up. webpage not available

32 views
Skip to first unread message

Graziano Obertelli

unread,
Jul 13, 2015, 2:01:23 PM7/13/15
to appscale_...@googlegroups.com
Hello,

it looks like you are having trouble connecting to the AppScale
deployment. Since there is no ruby installed, could it be that the
instances was changed (ie it was swapped for a non-appscale image, or
the IP changed or something similar)? Can you login to the instance and
the check that appscale was installed there (you can look for
/etc/appscale, /root/appscale, and the 'appscale' command)?

cheers
graziano

On Sun, 2015-07-12 at 17:42 -0700, skush wrote:
> Hi,
>
> I am not able to bring up appscale dashbord using appscale up.
> browser says webpage not available.
>
> appscale@appscale:~/appscale$ appscale up
> AppScale is already running. Terminate it, set 'force: True' in your
> AppScalefile, or use the --force flag to run anyways.
>
>
> I tried doing appscale clean, but its also giving error:
>
> appscale@appscale:~/appscale$ appscale clean
> Terminating AppScale will delete all stored data.
> Are you sure you want to do this? (Y/N) y
> Executing command 'ssh -i
> /home/appscale/.appscale/appscalebdaedee8a16d4d658a496e47de1b762b.key
> -o LogLevel=quiet -o NumberOfPasswordPrompts=0 -o
> StrictHostkeyChecking=no -o UserKnownHostsFile=/dev/null root@10.***.
> ***.*** ruby /root/appscale/AppController/terminate.rb clean' failed:
> Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)
>
> * Documentation: https://help.ubuntu.com/
>
> You have new mail.
> stdin: is not a tty
> ruby: No such file or directory --
> /root/appscale/AppController/terminate.rb (LoadError)
>
>
> A log with more information is available at
> /home/appscale/.appscale/log-3e76669b-a955-495d-b9fa-88df22212155.
> appscale@appscale:~/appscale$ cd /home/appscale/.appscale
> appscale@appscale:~/.appscale$ more log-3e76669b-a955-495d-b9fa
> -88df22212155
> stacktrace : Traceback (most recent call last):
> File "/usr/local/appscale-tools/bin/appscale", line 169, in
> <module>
> appscale.clean()
> File "/usr/local/appscale-tools/bin/../lib/appscale.py", line 746,
> in clean
> RemoteHelper.ssh(ip, keyname, self.TERMINATE, is_verbose)
> File "/usr/local/appscale-tools/bin/../lib/remote_helper.py", line
> 350, in ssh
> cls.SSH_OPTIONS, user, host), is_verbose, num_retries,
> stdin=command)
> File "/usr/local/appscale-tools/bin/../lib/local_state.py", line
> 771, in shell
> .format(command, stdin, output))
> ShellException: Executing command 'ssh -i
> /home/appscale/.appscale/appscalebdaedee8a16d4d658a496e47de1b762b.key
> -o LogLevel=quiet -o N
> umberOfPasswordPrompts=0 -o StrictHostkeyChecking=no -o
> UserKnownHostsFile=/dev/null root@10.***.***.*** ruby
> /root/appscale/AppContro
> ller/terminate.rb clean' failed:
> Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)
>
> * Documentation: https://help.ubuntu.com/
>
> You have new mail.
> stdin: is not a tty
> ruby: No such file or directory --
> /root/appscale/AppController/terminate.rb (LoadError)
>
> exception : ShellException
>
> locale : en_US
>
> tools_version : 2.1.0
>
> platform : Linux-3.13.0-49-generic-x86_64-with-Ubuntu-14.04-trusty
>
> message : Executing command 'ssh -i
> /home/appscale/.appscale/appscalebdaedee8a16d4d658a496e47de1b762b.key
> -o LogLevel=quiet -o NumberO
> fPasswordPrompts=0 -o StrictHostkeyChecking=no -o
> UserKnownHostsFile=/dev/null root@10.***.***.*** ruby
> /root/appscale/AppController/t
> erminate.rb clean' failed:
> Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-49-generic x86_64)
>
> * Documentation: https://help.ubuntu.com/
>
> You have new mail.
> stdin: is not a tty
> ruby: No such file or directory --
> /root/appscale/AppController/terminate.rb (LoadError)
>
>
> runtime : CPython
>
>
>
> I have also attached controller logs if it can give some hint.
>
>
> Thanks
> --
> 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.com.
> Visit this group at http://groups.google.com/group/appscale_community
> .
> For more options, visit https://groups.google.com/d/optout.
--
Graziano Obertelli
AppScale Systems, Inc.


skush

unread,
Jul 14, 2015, 2:50:28 AM7/14/15
to appscale_...@googlegroups.com
Hello Graziano,

There is symlink in my /etc directory (appscale -> /root/appscale/appscale-2.0.0/.appscale) but i dont have any /root/appscale/appscale-2.0.0/.appscale directory. The appscale tools folder is in /home directory. should i change the symlink to /home/appscale/.appscale? 
Earlier my appscale was running fine but suddenly it stopped working without any manual change in configurations. So, I wonder what could have gone wrong. 

Thanks. 

Graziano Obertelli

unread,
Jul 14, 2015, 2:16:38 PM7/14/15
to appscale_...@googlegroups.com
Ok, so you are running 2.0 version. Btw it is a pretty old one you may
want to switch to a newer.

Are you running in Cloud mode? or virtual cluster? If you run in cloud
mode (say in GCE or AWS) could it be that the machine rebooted? Or got
terminated? can you tell me what

uptime

on the instance returns to you?

Graziano Obertelli

unread,
Jul 14, 2015, 2:19:52 PM7/14/15
to appscale_...@googlegroups.com
Sorry I missed that early on: are you on trusty? The output seems to
show 14.04: if so that's not supported at this time. Try an instance
with 12.04. May I ask what would you like to do? Would you like to gain
expertise in installing appscale and working on it, or to run App
Engine application into AppScale? If the latter I would suggest to use
one of the premade images.

cheers
graziano

On Mon, 2015-07-13 at 23:50 -0700, skush wrote:

skush

unread,
Jul 14, 2015, 2:54:25 PM7/14/15
to appscale_...@googlegroups.com
I am running Appscale in virtual cluster(VirtualBox). The uptime on instance gives me:

vagrant@precise64:~$ uptime
 18:44:02 up 21 min,  2 users,  load average: 0.00, 0.01, 0.02

My main system on which VIrtualBox is running is ubuntu 14.04.2 trusty and virtual machine instance is ubuntu 12.04 precise.

I am working on university project in which we deployed an app and were running transactions.

Thanks
Reply all
Reply to author
Forward
0 new messages