Hi Vimal, Have you set up the shared_config file? It doesn't look like you're using clearwater-etcd for configuration management, so you need to set up this file before you install homer (please see more details at http://clearwater.readthedocs.org/en/stable/Manual_Install/index.html#provide-shared-configuration and create a shared_config file on your Homer).
Homer depends on some information in this file (e.g. the Sprout hostname) to successfully run. Ellie From: Vimal Tewari [mailto:[email protected]] Sent: 09 September 2015 20:14 To: Eleanor Merry Cc: [email protected] Subject: RE: [Clearwater] Error while installing Homestead Hello Ellie, I tried to install homer from scratch again but ran into the same error. Here is detailed information about the error 1. While installing homer, I get the error on the installation window about cassandra not coming online. The following is a portion of the log on the installation window ( the part where I get the error ) http://pastebin.com/vZXEnmH2 2. The installation ends with this abrupt error: byte-compiling /usr/share/clearwater/homer/env/lib/python2.7/site-packages/telephus/pool.py to pool.pyc running install_egg_info Writing /usr/share/clearwater/homer/env/lib/python2.7/site-packages/telephus-1.0.0_beta1-py2.7.egg-info / * Restarting clearwater-infrastructure clearwater-infrastructure Waiting for Cassandra.....................FATAL -> Failed to fork. 3. The logs in /var/log/cassandra/system.log is as follows: http://pastebin.com/dAK4Avk1 4. When I run "sudo service cassandra stop", nothing happens. Running "sudo monit summary" gives ubuntu@homer:~$ sudo service cassandra stop ubuntu@homer:~$ sudo monit summary The Monit daemon 5.8.1 uptime: 16m Process 'ntp_process' Running System 'node-homer' Running Process 'nginx_process' Running Process 'homer_process' Execution failed Program 'poll_homer' Not monitored Process 'clearwater_diags_monitor_process' Running Process 'cassandra_process' Does not exist 5. The contents of /etc/hosts is as follows: ubuntu@homer:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 homer # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 192.168.1.43 homer 192.168.1.43 homer #+clearwater-infrastructure 6. The contents of /etc/clearwater/local_config is as follows: ubuntu@homer:~$ cat /etc/clearwater/local_config local_ip=192.168.1.43 public_ip=10.7.6.229 public_hostname=homer etcd_cluster="192.168.1.43" 7. The ubuntu image is trusty-server-cloudimg-amd64-disk1.img (64 bit Server edition ) which is the official Ubuntu cloud image. Request you to kindly help in resolving the issue. Regards, Vimal Chandra Tewari Tata Consultancy Services Mailto: [email protected]<mailto:[email protected]> Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ -----Eleanor Merry <[email protected]<mailto:[email protected]>> wrote: ----- To: Vimal Tewari <[email protected]<mailto:[email protected]>> From: Eleanor Merry <[email protected]<mailto:[email protected]>> Date: 09/09/2015 10:26PM Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [Clearwater] Error while installing Homestead Hi Vimal, There's not much in the pasted log (only 20 lines). Is that all that was in system.log? What happens if you restart cassandra (run 'sudo service cassandra stop' - monit will automatically restart it)? Ellie From: Vimal Tewari [mailto:[email protected]] Sent: 09 September 2015 06:19 To: Eleanor Merry Cc: [email protected]<mailto:[email protected]> Subject: RE: [Clearwater] Error while installing Homestead Hello Ellie, Thanks for your response. I followed the steps mentioned in the document at http://clearwater.readthedocs.org/en/stable/Manual_Install/index.html but I am still getting an error while setting up cassandra for homer and homestead. Here is the log in /var/log/cassandra/system.log http://pastebin.com/1eg6GFhm Request you to kindly take a look and help me resolve this issue. Regards, Vimal Chandra Tewari Tata Consultancy Services Mailto: [email protected]<mailto:[email protected]> Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ -----Eleanor Merry <[email protected]<mailto:[email protected]>> wrote: ----- To: Vimal Tewari <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> From: Eleanor Merry <[email protected]<mailto:[email protected]>> Date: 09/08/2015 10:49PM Subject: RE: [Clearwater] Error while installing Homestead Hi, I'm sorry, we merged a change to the docs before the code was ready. We've now changed how our docs are displayed, so that http://clearwater.readthedocs.org/en/stable/ matches our stable code that's gone through QA, and http://clearwater.readthedocs.org/en/latest matches up with our bleeding edge code (which may be more unstable). In the Midnight's Children release (which is the current stable release), you shouldn't try and install clearwater-prov-tools. It looks like cassandra isn't running correctly on your node (the error commands come from Homestead attempting to insert its schema into cassandra). What do the logs in /var/log/cassandra say? Ellie From: Clearwater [mailto:[email protected]] On Behalf Of Vimal Tewari Sent: 07 September 2015 06:12 To: [email protected]<mailto:[email protected]> Subject: [Clearwater] Error while installing Homestead Hello,I am trying to install Clearwater and I am following manual install process. I am installing the components on Ubuntu 14.04 64 bit Server Edition ( trusty-server-cloudimg-amd64-disk1.img ) using the Openstack Cloud Platform. I am following the steps mentioned at "http://clearwater.readthedocs.org/en/latest/Manual_Install/index.html". When I try to install Homestead, I am facing two issues: 1. When I run "sudo DEBIAN_FRONTEND=noninteractive apt-get install homestead homestead-prov clearwater-prov-tools --yes", I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package clearwater-prov-tools The file /etc/apt/sources.list.d/clearwater.list contains the following line deb http://repo.cw-ngv.com/stable binary/ Installing the signing key is successful and I verified that the key fingerprint is successful. 2. I tried removing clearwater-prov-tools and ran the command again which led to the following error:Waiting for Cassandra.........................................................................................................................*** ERROR: Cassandra did not come online!Waiting for Cassandra.........................................................................................................................*** ERROR: Cassandra did not come online!Configuring monit for only localhost access [ OK ]Waiting for Cassandra.........................................................................................................................*** ERROR: Cassandra did not come online! In response to a similar query, Ellie has advised to use the latest release code or install clearwater-cassandra. I tried running sudo DEBIAN_FRONTEND=noninteractive apt-get install clearwater-cassandra --yes but I got the same error. Request you to kindly help. Regards, Vimal Chandra Tewari Tata Consultancy Services Mailto: [email protected]<mailto:[email protected]> Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
