Hi Kedar,

The reply was delayed by new year break. I don't think you should be making 
those changes in init.d/bono, it's  more likely your local setting for icscf is 
wrong.


Thanks,
Ying

From: Clearwater [mailto:[email protected]] On 
Behalf Of Kedar Ambekar
Sent: 12 December 2017 13:23
To: [email protected]
Subject: [Project Clearwater] 502 Bad Gateway and other errors while running 
live tests

Hi,

I have installed Clearwater with heat templates (available on ONAP wiki) 
directly on openstack. Appreciate help on below issues.


  1.  When I run Clearwater live tests, all tests fail with below  error.



RuntimeError thrown:

   - Account creation failed with HTTP code 502, body {"status": 502, 
"message": "Bad Gateway", "reason": "Upstream request failed", "detail": 
{"Upstream error": "599", "Upstream URL": "None"}, "error": true}



  1.  ps for bono process shows this.



[bono]ubuntu@0:/etc/clearwater$ ps -ef |grep bono

bono 6897 1 0 05:06 ? 00:00:11 /usr/share/clearwater/bin/bono --domain= 
--localhost=10.0.0.28,0.bono.me.cw-ngv.com --al 
ias=10.0.0.28,0.bono.me.cw-ngv.com, --pcscf=5060,5058 --webrtc-port=5062 
--routing-proxy=icscf.,5052,50,600 --sas=0.0.0.0,[email protected] 
--dns-server=127.0.0.1 --worker-threads=2 --analytics=/var/log/bono 
--log-file=/var/log/bono --log-level=2 --daemon --pidfile=/var/run/bono/bono.pid



  1.  In bono, I saw these logs.

 UTC Error sip_connection_pool.cpp:190: Failed to resolve icscf. to an IP 
address - Not found (PJ_ENOTFOUND)

UTC Warning dnscachedresolver.cpp:828: Failed to retrieve record for icscf.: 
Domain name not found



  1.  To debug above issues, I ended up making these changes in 
/etc/init.d/bono and restarted bono service.



DAEMON_ARGS="--domain=me.cw-ngv.com  (instead of -domain=$home_domain)

upstream_hostname=icscf.sprout.me.cw-ngv.com (instead of 
upstream_hostname=icscf.$sprout_hostname)


  1.  But now, I get below error in bono. Port 5052 is not in listen mode on 
sprout.

UTC Warning pjsip: tcpc0x7f90cc07 TCP connect() error: Connection refused 
[code=120111]
UTC Warning pjsip: tcpc0x7f90cc07 Unable to connect to <sprout ip>:5052
============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to