Appscale dashboard not showing up

91 views
Skip to first unread message

apoorva da

unread,
Feb 2, 2015, 5:32:36 PM2/2/15
to appscale_...@googlegroups.com
Hi,

I have installed appscale according to the steps https://github.com/AppScale/appscale/wiki/AppScale-on-VirtualBox. Post installation, appscale is up but we are unable to launch the dashboard using this IP 192.168.33.10:1080/status. But we are able to deploy sample applications from command line and see the application running on the browser. Kindly let us know the possible error that may be happening in the background.

graziano obertelli

unread,
Feb 2, 2015, 9:22:29 PM2/2/15
to appscale_...@googlegroups.com
Hi there,

which URL do you use to get to the application? And when you do appscale
up, which URL do you see? Usually if you see the application, you should
be able to see the dashboard, since the dashboard is another App Engine
application.

cheers
graziano
> --
> 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.


Meni Vaitsi

unread,
Feb 2, 2015, 10:44:47 PM2/2/15
to appscale_community
Hello,

Alongside your answers to Graziano's questions, please tell us what is your host OS and what is the output of ifconfig inside the VM?
Also, can you successfully do a curl to the dashboard URL from the command line?

-Meni

--
Meni Vaitsi
Software Engineer
AppScale Systems Inc.

apoorva da

unread,
Feb 3, 2015, 7:36:05 PM2/3/15
to appscale_...@googlegroups.com
Hi,

Thank you for your kind response.
I use http://192.168.33.10:8080/guestbook.jsp URL to see the guestbook application and appscale dashboard using the URL: http://192.168.33.10:1080/status.
When I execute appscale status, this is what I see:
Status of node at 192.168.33.10:
    Currently using 3.0 Percent CPU and 89.20 Percent Memory
    Hard disk is 6 Percent full
    Is currently: load_balancer, taskqueue_master, zookeeper, db_master, taskqueue, memcache, shadow, login, appengine
    Database is at 192.168.33.10
    Is in cloud: cloud1
    Current State: Preparing to run AppEngine apps if needed
    Hosting the following apps: guestbookmemcached
    The number of AppServers for app guestbookmemcached is: 1

View status information about your AppScale deployment at http://192.168.33.10:1080/status

The host OS is Ubuntu 12.04 - 64bitversion.
ifconfig output inside VM:
eth0      Link encap:Ethernet  HWaddr 08:00:27:88:0c:a6 
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe88:ca6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2694 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2371 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:256613 (256.6 KB)  TX bytes:211221 (211.2 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:b2:81:11 
          inet addr:192.168.33.10  Bcast:192.168.33.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:feb2:8111/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18868 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23964211 (23.9 MB)  TX bytes:533642 (533.6 KB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12154088 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12154088 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2724791748 (2.7 GB)  TX bytes:2724791748 (2.7 GB)

When I do curl to the URL, it gives me output as below:
appscale@appscale:~/appscale$ curl http://192.168.33.10:1080/status --verbose
* About to connect() to 192.168.33.10 port 1080 (#0)
*   Trying 192.168.33.10... connected
> GET /status HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.33.10:1080
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.1.19
< Date: Wed, 04 Feb 2015 00:35:12 GMT
< Content-Type: text/html
< Content-Length: 185
< Connection: keep-alive
< Location: https://192.168.33.10:1443/status
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.1.19</center>
</body>
</html>
* Connection #0 to host 192.168.33.10 left intact
* Closing connection #0

Thanks and Regards,
Apoorva.D.A

> 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.


--
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_community+unsub...@googlegroups.com.

Navraj Chohan

unread,
Feb 3, 2015, 7:39:58 PM2/3/15
to appscale_...@googlegroups.com
Hi,
What do you see when you do:

Also, can you send the logs? You can use the "appscale logs" command to get them.

Thanks,
Raj

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.



--
Navraj Chohan (Raj), PhD
Co-Founder of AppScale Systems
A Google Cloud Partner,
Gartner 2014 Cool Vendor, 
and a GigaOm Structure/LaunchPad "Best of the Best" Startups

615 State Street
Santa Barbara, CA 93101
r...@appscale.com
http://navrajchohan.com

apoorva da

unread,
Feb 3, 2015, 7:51:02 PM2/3/15
to appscale_...@googlegroups.com
Hi Raj,

When I execute curl command with insecure flag, I see the html page on CLI

appscale@appscale:~/appscale$ curl --insecure https://192.168.33.10:1443/status
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <!-- FILE:templates/layouts/main.html -->
    <head>
        <!--
    ___                _____            __
   /   |  ____  ____  / ___/_________ _/ /___
  / /| | / __ \/ __ \ \__ \/ ___/ __ `/ // _ \
 / ___ |/ /_/ / /_/ /___/ / /__/ /_/ / //  __/
/_/  |_/ .___/ .___//____/\___/\__,_/_/ \___/
      /_/   /_/

-->
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
    <title>AppScale Cloud Administration</title>
    <meta name="author" content="AppScale Systems, Inc" />
    <meta name="description" content="AppScale Private Cloud Monitoring" />
    <meta name="keywords" content="AppScale, AppScale PaaS, AppScale Systems, Inc" />
    <meta name="application-name" content="AppScale Cloud Administration" />

    <!-- Mobile Specific Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

 I think there must be an issue with the SSL certificate. When I tried the URL on a different browser,
it directs me to the URL https://192.168.33.10:1443/status but throws an error saying, connection is not private.

The error I get is as below:

NET::ERR_CERT_AUTHORITY_INVALID

Subject: appscale.com

Issuer: appscale.com

Expires on: Feb 2, 2016

Current date: Feb 3, 2015

PEM encoded chain: -----BEGIN CERTIFICATE-----
MIIDeTCCAmGgAwIBAgIJALp1lW/4EA74MA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNV
BAYTAlVTMQwwCgYDVQQIDANGb28xDDAKBgNVBAcMA0JhcjERMA8GA1UECgwIQXBw
U2NhbGUxFTATBgNVBAMMDGFwcHNjYWxlLmNvbTAeFw0xNTAyMDIyMjA4MjlaFw0x
NjAyMDIyMjA4MjlaMFMxCzAJBgNVBAYTAlVTMQwwCgYDVQQIDANGb28xDDAKBgNV
BAcMA0JhcjERMA8GA1UECgwIQXBwU2NhbGUxFTATBgNVBAMMDGFwcHNjYWxlLmNv
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK8pdfcZz5KJoepBzcYt
xwNFevfLQopi7l6+6bSk6gvwNvUUsWDhBlXwubAzg6Q+eaorYIlv4vRhaacsuVrv
z/SeqGHFj8a4jwzrNTERkGpP2E8NzAbLPpbgvx1eNXN23vthDDoXVh2iZ7jQGbMa
8TKd/PvsakAg+xOUgXVcm/KOE/ChJ4yJW5n85u/tMIAnx5Qb+pQYkhv4GupYHPGQ
687w/RJsmp+JC6h1EWxzq0avYfJ4dxZcuZLblWnsJN/NJpukYZ27sjP4NnbdKl62
PXrn/SzkRZ8Jg+44oWmA16ydhOBUmB8KNEzSFBM9+1YQZZg0YnNMG/MY8K1yPKNN
XiECAwEAAaNQME4wHQYDVR0OBBYEFOAEhqP1S/7Hd8JMnMRlsU11E9VDMB8GA1Ud
IwQYMBaAFOAEhqP1S/7Hd8JMnMRlsU11E9VDMAwGA1UdEwQFMAMBAf8wDQYJKoZI
hvcNAQEFBQADggEBACDI7Ly3pml1xcEhQyh+nePIkHm+SAQ9ab3zzJ1mDgettu4F
o75L2sfwGEiZ2Pu5OoMSGrxXdlqxeNnr5d7cUFq5+6xrNJcRnWbGskdNvptXwpwf
V00hZV9tCWLiHqSoBE1a0aviWP7NyXcbZf01GIig1sdT0H9Sbz0zEMVdNZsBVmgj
0e9OAAt0quZNjDJgm/LCApbmDqC026pBiY8gda8451i+J0MsxcPUymcFmGdQDhki
fm44EeUluVD6p0flUqcv14VMJILN6YZNxFk7MdoDWu8EIog0/RjGHmfVKQGTCbvC
ZzLvRbs1ITG/hf7Cxtf4ZqKVf6/32m4BAnwhoQk=
-----END CERTIFICATE-----


Regards,

Apoorva.D.A


> To post to this group, send email to
--
Graziano Obertelli
AppScale Systems, Inc.


--
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_community+unsubscribe@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.

--
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_community+unsub...@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.



--

Navraj Chohan

unread,
Feb 3, 2015, 7:57:30 PM2/3/15
to appscale_...@googlegroups.com
Sounds like its working. You have to accept the self signed cert. You can change this to an actual cert later when you go into production:

Thanks
-Raj

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.
Reply all
Reply to author
Forward
0 new messages