AppScale deploy over multi VMs failed

46 views
Skip to first unread message

Archxr

unread,
May 22, 2016, 12:21:49 AM5/22/16
to AppScale Community
I failed when I try to deploy AppScale over multi VMs, But I succeed deploying it on every single VM. accessory is the logs
here is my AppScalefile:
ips_layout :
  master : 10.82.14.143
  appengine : 10.82.14.143
  database : 10.81.66.103
  zookeeper : 10.81.66.103
login : 119.254.103.29
Could anybody give me some help?

logs.tar.gz

Meni Vaitsi

unread,
May 22, 2016, 11:02:23 PM5/22/16
to appscale_community
Hi there,

From the logs you sent over looks like the uaserver (SOAP) was not listening on the master node.
Can you verify that the public IP 119.254.103.29 and the private IP 10.82.14.143 belong to the same machine?

Also:
  • Which version of AppScale are you using?
  • Do you get the same behavior every time you do appscale up on multinode?
  • What infrastructure are you running on?
Thanks
-Meni

--
Meni Vaitsi
Software Engineer
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_commun...@googlegroups.com.
To post to this group, send email to appscale_...@googlegroups.com.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.

Archxr

unread,
May 23, 2016, 8:07:45 AM5/23/16
to AppScale Community
I'm using VPS served by https://www.qingcloud.com/ , AppScale version is 2.8.0, I tried use private IP only, but still failed, here is the logs, 10.82.14.143 is master and appengine ip


在 2016年5月23日星期一 UTC+8上午11:02:23,Meni Vaitsi写道:
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsub...@googlegroups.com.
log2.tar.gz

Meni Vaitsi

unread,
May 23, 2016, 12:24:34 PM5/23/16
to appscale_community
You absolutely need the public IP of the head node for the login line.

You also have to make sure that for both virtual machines all TCP and UDP ports are open before doing appscale up.
I'm suspecting that the network is not properly set up and that's why one of the nodes never finishes loading.

Please let us know if that helps.

-Meni

--
Meni Vaitsi
Software Engineer
AppScale Systems, Inc.

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 https://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_commun...@googlegroups.com.

Archxr

unread,
May 24, 2016, 5:41:14 AM5/24/16
to AppScale Community
I tried to open all ports but still not working, later I tried single node, and AppScale runs ,but when I deploy an App, it failed again. it says:
 
Enter your desired e-mail address: arc...@163.com
Uploading initial version of app mycourse
We have reserved mycourse for your app
Ignoring .pyc files
Tarring application
Copying over application
Please wait for your app to start serving.
<Fault env:Server: can't convert SOAP::Mapping::Object into String: failed to serialize detail object: Cannot map SOAP::Mapping::SOAPException to SOAP/OM.>

A log with more information is available at
/root/.appscale/log-b753f3b4-f043-494b-881a-ec4e33809f2b.

the content of /root/.appscale/log-b753f3b4-f043-494b-881a-ec4e33809f2b is

stacktrace : Traceback (most recent call last):
  File "/usr/local/appscale-tools/bin/appscale", line 92, in <module>
    appscale.deploy(sys.argv[2])
  File "/usr/local/appscale-tools/bin/../lib/appscale.py", line 496, in deploy
    return AppScaleTools.upload_app(options)
  File "/usr/local/appscale-tools/bin/../lib/appscale_tools.py", line 633, in upload_app
    result = acc.get_all_stats()
  File "/usr/local/appscale-tools/bin/../lib/appcontroller_client.py", line 390, in get_all_stats
    self.server.get_all_stats, self.secret)
  File "/usr/local/appscale-tools/bin/../lib/appcontroller_client.py", line 117, in run_with_timeout
    retval = function(*args)
  File "/usr/local/lib/python2.7/dist-packages/SOAPpy/Client.py", line 547, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/SOAPpy/Client.py", line 569, in __r_call
    self.__hd, self.__ma)
  File "/usr/local/lib/python2.7/dist-packages/SOAPpy/Client.py", line 482, in __call
    raise p
faultType: <Fault env:Server: can't convert SOAP::Mapping::Object into String: failed to serialize detail object: Cannot map SOAP::Mapping::SOAPException to SOAP/OM.>

exception : faultType

locale : en_US

tools_version : 2.8.0

platform : Linux-4.2.0-36-generic-x86_64-with-Ubuntu-14.04-trusty

message : <Fault env:Server: can't convert SOAP::Mapping::Object into String: failed to serialize detail object: Cannot map SOAP::Mapping::SOAPException to SOAP/OM.>

runtime : CPython

When I was using version 2.7.*  single node is OK. 

在 2016年5月24日星期二 UTC+8上午12:24:34,Meni Vaitsi写道:
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 https://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.

Meni Vaitsi

unread,
May 24, 2016, 11:41:03 AM5/24/16
to appscale_community
Hi there,

Interesting. And you're using the same network configuration for both single and multi node?

Could you try to deploy with verbose: True in your AppScalefile and send us the AppScale logs?

Thanks
-Meni

--
Meni Vaitsi
Software Engineer
AppScale Systems, Inc.

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 https://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_commun...@googlegroups.com.

To post to this group, send email to appscale_...@googlegroups.com.
Visit this group at https://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_commun...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages