Ubuntu 16.0.4 install issues

31 views
Skip to first unread message

Prashant Hegde

unread,
Dec 7, 2017, 11:14:42 PM12/7/17
to appscale_...@googlegroups.com
Hi Chris and Team,

I am trying to install appscale from source on a Ubuntu Xenial (12 GB) system.

I followed the instruction on the website.  However, appscale refuses to start and is stuck at "Waiting for head node to initialize...." for a really long time.Clearly, it is not going as expected. Is this environment tested? Thanks in advance for any help in this regard. Also, I have attached a few logs (both normal and with verbose) which I thought may be of use to you. 

====
root@appscale-image0:~# bash appscale/scripts/fast-start.sh --no-demo-app
Detected enviroment: CLUSTER
Private IP found: 192.168.1.10
Public IP found:  192.168.1.10
Creating AppScalefile...done.
Downloading sample app.
/root/guestbook.tar.gz: OK
Executing ssh-copy-id for host: 192.168.1.10
Generated a new SSH key for this deployment at /root/.appscale/appscale12de363a0ae44f8496f27f83513fd91f
Starting AppScale 3.4
Log in to your head node: ssh -i /root/.appscale/appscale12de363a0ae44f8496f27f83513fd91f.key ro...@192.168.1.10
Starting AppController at 192.168.1.10
Please wait for the AppController to finish pre-processing tasks.
Head node successfully initialized at 192.168.1.10.
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
Waiting for head node to initialize...
=====

Warm Regards
Prashant

zookeeper.log
controller.log
iaas_manager.log
log_service.log
deb_controller.log
deb_iaas_manager.log
deb_log_service.log
deb_zookeeper.log

Prashant Hegde

unread,
Dec 11, 2017, 9:42:27 AM12/11/17
to appscale_...@googlegroups.com
This happens to be an issue with JAVA_HOME setting. In etc/enviornment, incorrect JAVA_HOME was set which impacted cassandra startup.After fixing this, things were fine. 

Was this an issue with install? or did I do something wrong?


Thanks
Prashant

Chris Donati

unread,
Dec 11, 2017, 2:29:53 PM12/11/17
to appscale_...@googlegroups.com
Good find, Prashant. What was JAVA_HOME set to? Was it an older openjdk installation? /opt/cassandra/cassandra/conf/cassandra-env.sh (which gets placed during the installation from AppDB/appscale/datastore/cassandra_env/templates) should be defining which Java environment to use, but perhaps we need to explicitly define JAVA_HOME there as well.

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

Prashant Hegde

unread,
Dec 11, 2017, 3:25:44 PM12/11/17
to appscale_...@googlegroups.com
I think it was set to /usr/lib/jvm/java-8-oracle/jre/bin/java instead of the base jdk directory. 


- Prashant

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