Hi Shay,

Good news that your Homestead node is now OK!

For your Homer node, do the log files in /var/log/homer contain any errors that 
help explain why it isn't starting? What happens if you run "sudo service homer 
restart" manually - does that print any errors?

On the Ellis node, the 
/usr/share/clearwater/infrastructure/scripts/create-ellis-nginx-config script 
should create the Nginx config to redirect it to Ellis. Running 'sudo service 
clearwater-infrastructure' should have run that script, but what happens if you 
run /usr/share/clearwater/infrastructure/scripts/create-ellis-nginx-config 
manually? Does it create a /etc/nginx/sites-available/ellis file? If not, can 
you send us the contents of /etc/clearwater/config, 
/etc/clearwater/shared_config and /etc/clearwater/local_config?

Thanks,
Rob

--
Rob Day
Software Engineer, Project Clearwater

From: Clearwater [mailto:[email protected]] On 
Behalf Of Shay Naeh
Sent: 01 October 2015 19:57
To: [email protected]
Subject: [Clearwater] FW: Deploying Clearwater with Haet

Hi ellie,

1.       I had to copy the shared_config from ellis to homestead and now it is 
ok

2.       I had the same problem on homer but after copying the shared_config 
and restarting Clearwater-infrastructure it tells me when doing 'sudo monit 
status' thar homer_process failed

3.       When I point with the browser to Ellis IP address I get the welcome 
message of Nginx but no login screen as I am used to get. What application 
should run on top of Nginx?

Thanks,
Shay

From: Eleanor Merry [mailto:[email protected]]
Sent: Thursday, October 1, 2015 7:59 PM
To: Shay Naeh; 
[email protected]<mailto:[email protected]>
Subject: RE: Deploying Clearwater with Haet

Hi,

Is your etcd cluster healthy? What's the result of running sudo 
clearwater-etcdctl cluster-health? If these look OK then can you also please 
try running 'sudo 
/usr/share/clearwater/clearwater-config-manager/scripts/upload_shared_config' 
on the Ellis node, then the apply_shared_config script again on Homestead.

If this still doesn't work, you can copy over the shared_config file on Ellis 
to Homestead, run 'sudo service clearwater infrastructure' and this should 
unblock you. I'd be interested to dig further into why the apply_shared_config 
isn't working though.

Ellie

From: Shay Naeh [mailto:[email protected]]
Sent: 01 October 2015 17:48
To: Eleanor Merry
Subject: RE: Deploying Clearwater with Haet

It doesn't exist on Homestead but exists on Ellis.
I did clearwater-infrastructure restart but it didn't help.
Can we conduct a short webex, do you want me to send you webex details?
Thanks,
Shay
From: Eleanor Merry [mailto:[email protected]]
Sent: Thursday, October 1, 2015 7:46 PM
To: Shay Naeh; 
[email protected]<mailto:[email protected]>
Subject: RE: Deploying Clearwater with Haet

Does the /etc/clearwater/shared_config file exist on your Homestead node? Does 
it exist on the Ellis node?

If the shared_config file does exist, can you run 'sudo service 
clearwater-infrastructure restart'?

Ellie


From: Shay Naeh [mailto:[email protected]]
Sent: 01 October 2015 17:22
To: Eleanor Merry; 
[email protected]<mailto:[email protected]>
Subject: RE: Deploying Clearwater with Haet

Thanks Eleanor,

I run the 
/usr/share/clearwater/clearwater-config-manager/scripts/apply_shared_config

But still I get the following errors when running 'sudo monit status'

Process 'homestead_process'
  status                            Does not exist
  monitoring status                 Monitored
  data collected                    Thu, 01 Oct 2015 16:13:59

Program 'poll_homestead'
  status                            Initializing
  monitoring status                 Initializing
  data collected                    Thu, 01 Oct 2015 16:10:49

Process 'homestead-prov_process'
  status                            Execution failed
  monitoring status                 Monitored
  data collected                    Thu, 01 Oct 2015 16:13:59



Shay

From: Eleanor Merry [mailto:[email protected]]
Sent: Thursday, October 1, 2015 12:54 PM
To: Shay Naeh; 
[email protected]<mailto:[email protected]>
Subject: RE: Deploying Clearwater with Haet

Hi Shay,

It doesn't look like /etc/clearwater/shared_config has successfully propagated 
to the Homestead node.

In order to set up the diameter configuration file (used by Homestead) and the 
local_settings file (used by Homestead-prov) correctly, 
Homestead/Homestead-prov need information from the 
/etc/clearwater/shared_config file (e.g. the hs_hostname). If the shared_config 
file is missing; the install will succeed, but Homestead/Homestead-prov won't 
be functional until they've got their configuration files set up.

Looking at the template, we install the clearwater-management package after we 
install the Homestead/Homestead-prov packages, but don't then do anything to 
apply the shared configuration to the node. I've raised an issue 
(https://github.com/Metaswitch/clearwater-heat/issues/15) to fix this; in the 
meantime can you please run "sudo 
/usr/share/clearwater/clearwater-config-manager/scripts/apply_shared_config" on 
all your nodes?

Ellie

From: Clearwater [mailto:[email protected]] On 
Behalf Of Shay Naeh
Sent: 29 September 2015 16:10
To: 
[email protected]<mailto:[email protected]>
Subject: [Clearwater] Deploying Clearwater with Haet

Hello,
I am trying deploying Clearwater on my OpenStack using the Heat templates as 
defined in here https://github.com/Metaswitch/clearwater-heat
I am running into issues with Homestead where I get (see below):

1.       Why LOCAL_IP=MUST BE CONFIGURED is not configured?

2.       Regarding the Diameter stack I saw an open issue 
https://github.com/Metaswitch/homestead/issues/73 but when deleting the 
certificates and starting the Clearwater-infrastructure it fails again on the 
same problem.

Thanks,
Shay



4007 - Description: Fatal - Failed to initialize Diameter stack in function 
fd_core_parseconf with error 2. @@Cause: The Diameter interface could not be 
initialized or encountered an error while running. @@Effect: The application 
will exit and restart until the problem is fixed. @@Action: (1). Check the 
configuration for the Diameter destination hosts. (2). Check the connectivity 
to the Diameter host using Wireshark.
Sep 29 06:39:55 homestead-0 monit: Traceback (most recent call last):
Sep 29 06:39:55 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
162, in _run_module_as_main
Sep 29 06:39:55 homestead-0 monit:     "__main__", fname, loader, pkg_name)
Sep 29 06:39:55 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
72, in _run_code
Sep 29 06:39:55 homestead-0 monit:     exec code in run_globals
Sep 29 06:39:55 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/main.py",
 line 50, in <module>
Sep 29 06:39:55 homestead-0 monit:     from metaswitch.crest import api
Sep 29 06:39:55 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/__init__.py",
 line 35, in <module>
Sep 29 06:39:55 homestead-0 monit:     from metaswitch.crest.api import base
Sep 29 06:39:55 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/base.py",
 line 48, in <module>
Sep 29 06:39:55 homestead-0 monit:     from metaswitch.crest import settings
Sep 29 06:39:55 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/settings.py",
 line 139, in <module>
Sep 29 06:39:55 homestead-0 monit:     execfile(_local_settings_file)
Sep 29 06:39:55 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/local_settings.py",
 line 55, in <module>
Sep 29 06:39:55 homestead-0 monit:     LOCAL_IP = MUST_BE_CONFIGURED
Sep 29 06:39:55 homestead-0 monit: NameError: name 'MUST_BE_CONFIGURED' is not 
defined
Sep 29 06:39:55 homestead-0 monit:    ...fail!
Sep 29 06:40:01 homestead-0 CRON[15030]: (root) CMD (/usr/lib/sysstat/sadc 1 1 
/var/log/sysstat/clearwater-sa`date +%d` > /dev/null 2>&1)
Sep 29 06:40:22 homestead-0 monit: CMD /etc/init.d/homestead-prov start
Sep 29 06:40:26 homestead-0 monit: Traceback (most recent call last):
Sep 29 06:40:26 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
162, in _run_module_as_main
Sep 29 06:40:26 homestead-0 monit:     "__main__", fname, loader, pkg_name)
Sep 29 06:40:26 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
72, in _run_code
Sep 29 06:40:26 homestead-0 monit:     exec code in run_globals
Sep 29 06:40:26 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/main.py",
 line 50, in <module>
Sep 29 06:40:26 homestead-0 monit:     from metaswitch.crest import api
Sep 29 06:40:26 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/__init__.py",
 line 35, in <module>
Sep 29 06:40:26 homestead-0 monit:     from metaswitch.crest.api import base
Sep 29 06:40:26 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/base.py",
 line 48, in <module>
Sep 29 06:40:26 homestead-0 monit:     from metaswitch.crest import settings
Sep 29 06:40:26 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/settings.py",
 line 139, in <module>
Sep 29 06:40:26 homestead-0 monit:     execfile(_local_settings_file)
Sep 29 06:40:26 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/local_settings.py",
 line 55, in <module>
Sep 29 06:40:26 homestead-0 monit:     LOCAL_IP = MUST_BE_CONFIGURED
Sep 29 06:40:26 homestead-0 monit: NameError: name 'MUST_BE_CONFIGURED' is not 
defined
Sep 29 06:41:01 homestead-0 CRON[15050]: (root) CMD (/usr/lib/sysstat/sadc 1 1 
/var/log/sysstat/clearwater-sa`date +%d` > /dev/null 2>&1)
Sep 29 06:41:03 homestead-0 monit: CMD /etc/init.d/homestead-prov restart
Sep 29 06:41:03 homestead-0 monit:  * Restarting homestead-prov homestead-prov
Sep 29 06:41:03 homestead-0 homestead[15074]: 4005 - Description: Homestead 
started. @@Cause: The Homestead application is starting. @@Effect: Normal. 
@@Action: None.
Sep 29 06:41:03 homestead-0 homestead[15074]: 1001 - Description: Diameter 
stack is starting. @@Cause: Diameter stack is beginning initialization. 
@@Effect: Normal. @@Action: None.
Sep 29 06:41:03 homestead-0 homestead[15074]: 1002 - Description: Diameter 
stack initialization completed. @@Cause: Diameter stack has completed 
initialization. @@Effect: Normal. @@Action: None.
Sep 29 06:41:03 homestead-0 homestead[15074]: 4007 - Description: Fatal - 
Failed to initialize Diameter stack in function fd_core_parseconf with error 2. 
@@Cause: The Diameter interface could not be initialized or encountered an 
error while running. @@Effect: The application will exit and restart until the 
problem is fixed. @@Action: (1). Check the configuration for the Diameter 
destination hosts. (2). Check the connectivity to the Diameter host using 
Wireshark.
Sep 29 06:41:06 homestead-0 monit: Traceback (most recent call last):
Sep 29 06:41:06 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
162, in _run_module_as_main
Sep 29 06:41:06 homestead-0 monit:     "__main__", fname, loader, pkg_name)
Sep 29 06:41:06 homestead-0 monit:   File "/usr/lib/python2.7/runpy.py", line 
72, in _run_code
Sep 29 06:41:06 homestead-0 monit:     exec code in run_globals
Sep 29 06:41:06 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/main.py",
 line 50, in <module>
Sep 29 06:41:06 homestead-0 monit:     from metaswitch.crest import api
Sep 29 06:41:06 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/__init__.py",
 line 35, in <module>
Sep 29 06:41:06 homestead-0 monit:     from metaswitch.crest.api import base
Sep 29 06:41:06 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/api/base.py",
 line 48, in <module>
Sep 29 06:41:06 homestead-0 monit:     from metaswitch.crest import settings
Sep 29 06:41:06 homestead-0 monit:   File 
"/usr/share/clearwater/homestead/env/local/lib/python2.7/site-packages/crest-0.1-py2.7.egg/metaswitch/crest/settings.py",
 line 139, in <module>
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to