Re: [Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Sajith Kariyawasam
were u able to telnet to mb,ip and mb.port from inside openstack node? On Wed, Apr 29, 2015 at 12:01 PM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi, I am trying to run python cartridge agent in openstack with Stratos. Agent is not able to connect to MB and fails with following

Re: [Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Anuruddha Liyanarachchi
Hi Sajith, Yes. I am able to telnet to the mb ip and mb port On Wed, Apr 29, 2015 at 12:57 PM, Sajith Kariyawasam saj...@wso2.com wrote: were u able to telnet to mb,ip and mb.port from inside openstack node? On Wed, Apr 29, 2015 at 12:01 PM, Anuruddha Liyanarachchi anurudd...@wso2.com

[Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Anuruddha Liyanarachchi
Hi, I am trying to run python cartridge agent in openstack with Stratos. Agent is not able to connect to MB and fails with following error. I have attached agent.screen.log and agent.conf here. I can telnet to ip address and port in the agent.conf. Any idea why this is happening ? *2015-04-29

Re: [Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Gayan Gunarathne
Seems python agent try to connect to the different socket rather than message broker running. It seems python agent not reading the message broker configurations correctly. Can you please check whether it reads the message broker configuration correctly? Thanks, Gayan On Wed, Apr 29, 2015 at

Re: [Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Anuruddha Liyanarachchi
Hi Gayan, Thanks for the reply. The issue was with the base image used to create cartridges. I used a new base image at it worked as expected. On Wed, Apr 29, 2015 at 6:03 PM, Gayan Gunarathne gay...@wso2.com wrote: Seems python agent try to connect to the different socket rather than

Re: [Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-29 Thread Gayan Gunarathne
Great. Then previous base cartridge not create properly. Thanks, Gayan On Wed, Apr 29, 2015 at 6:10 PM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi Gayan, Thanks for the reply. The issue was with the base image used to create cartridges. I used a new base image at it worked as