Error in "appscale up": the system froze at "Granting admin privileges ..."

29 views
Skip to first unread message

Xuefeng LIU

unread,
Mar 15, 2018, 9:30:12 AM3/15/18
to AppScale Community
Hi, everyone,


My system running appscale on Aliyun cloud broke down and I run "appscale up" to restart the appscale service.
But the system froze at the below position:

Enter your desired admin e-mail address: info@[XXX]
Enter new password:
Confirm password:
User info@[XXX] already exists, so not creating it again.
XMPP User in...@10.30.51.154 already exists, so not creating it again.
Your XMPP username is in...@10.30.51.154
Granting admin privileges to info@([our service domain])


Below is the log information by running "tail -f /var/log/appscale/*.log".
Cloud anyone provide any information to fix the problem?
 

Thanks ahead!

Xuefeng LIU


==> /var/log/appscale/groomer_service-9999.log <==
Traceback (most recent call last):
  File "/root/appscale/AppDB/groomer_service.py", line 20, in <module>
    gc_zookeeper = zk.ZKTransaction(host=zookeeper_locations, start_gc=False)
  File "/root/appscale/AppDB/zkappscale/zktransaction.py", line 153, in __init__
    self.handle.start()
  File "/usr/local/lib/python2.7/dist-packages/kazoo/client.py", line 546, in start
    raise self.handler.timeout_exception("Connection time-out")
kazoo.handlers.threading.KazooTimeoutError: Connection time-out

==> /var/log/appscale/datastore_server-4003.log <==
Datastore type:  cassandra
Traceback (most recent call last):
  File "/root/appscale/AppDB/datastore_server.py", line 4824, in <module>
    main(sys.argv[1:])
  File "/root/appscale/AppDB/datastore_server.py", line 4800, in main
    zookeeper = zk.ZKTransaction(host=zookeeper_locations)
  File "/root/appscale/AppDB/zkappscale/zktransaction.py", line 153, in __init__
    self.handle.start()
  File "/usr/local/lib/python2.7/dist-packages/kazoo/client.py", line 546, in start
    raise self.handler.timeout_exception("Connection time-out")
kazoo.handlers.threading.KazooTimeoutError: Connection time-out

==> /var/log/appscale/groomer_service-9999.log <==
INFO:kazoo.client:Connecting to 10.30.51.154:2181
WARNING:kazoo.client:Connection dropped: socket connection error: Connection refused
WARNING:kazoo.client:Failed connecting to Zookeeper within the connection retry policy.
INFO:kazoo.client:Zookeeper session lost, state: CLOSED

==> /var/log/appscale/datastore_server-4003.log <==
2018-03-15 21:20:32,989 INFO policies.py:283 Using datacenter 'datacenter1' for DCAwareRoundRobinPolicy (via host '10.30.51.154'); if incorrect, please specify a local_dc to the constructor, or limit contact points to local cluster nodes
2018-03-15 21:20:33,036 INFO connection.py:575 Connecting to 10.30.51.154:2181
2018-03-15 21:20:33,183 WARNING connection.py:547 Connection dropped: socket connection error: Connection reset by peer
2018-03-15 21:20:33,183 WARNING connection.py:474 Failed connecting to Zookeeper within the connection retry policy.
2018-03-15 21:20:33,184 INFO client.py:448 Zookeeper session lost, state: CLOSED
^C






Chris Donati

unread,
Mar 19, 2018, 12:08:24 PM3/19/18
to appscale_...@googlegroups.com
I would recommend checking first if the controller is still running with `ps ax | grep djinn`. If it's not, check /var/log/appscale/controller.log to see if there's a stack trace.

From the logs you posted, there may also be a problem with ZooKeeper. I would recommend checking `service zookeeper status` and possibly /var/log/zookeeper/zookeeper.log if there are any issues.

Finally, the output of `monit summary` may be useful to see which services got started.

--
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_community@googlegroups.com.
Visit this group at https://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