Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-10 Thread Imesh Gunaratne
Great! Thanks for the clarification Chamila! I will fix this. Thanks On Tue, Feb 10, 2015 at 9:06 AM, Chamila De Alwis wrote: > Hi Imesh, > > This is because the the topology is not set in the TopologyContext when > this query is done. As far as I remember this is because the first > CompleteTo

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-09 Thread Chamila De Alwis
Hi Imesh, This is because the the topology is not set in the TopologyContext when this query is done. As far as I remember this is because the first CompleteTopologyEvent has not been received yet. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-09 Thread Imesh Gunaratne
I see the following error in PCA now: [2015-02-10 06:52:43,775] INFO {agent.py:register_topology_event_listeners} - Cartridge agent topology receiver thread started Exception in thread Thread-1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-08 Thread Gayan Gunarathne
Seems EXPORT_METADATA_KEYS are missing in the agent payload launch parameters. I will check why it is not there in payload. Thanks, Gayan On Mon, Feb 9, 2015 at 10:36 AM, Lakmal Warusawithana wrote: > I'm getting following error inside cartridge /tmp/agent.screen.log > > > [2015-02-09 04:49:50,

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-08 Thread Lakmal Warusawithana
I'm getting following error inside cartridge /tmp/agent.screen.log [2015-02-09 04:49:50,864] DEBUG {cartridgeagentconfiguration.py:__read_conf_file} - Config file path : '/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/agent.conf' [2015-02-09 04:49:50,865] DEBUG {cartridgeagentconfigur

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-08 Thread Imesh Gunaratne
Hi Lakmal, In my Kubernetes cluster I can see this image as follows: core@master ~ $ docker images REPOSITORY TAG IMAGE IDCREATED VIRTUAL SIZE stratos/php 4.1.0-alpha 44a4916713ea46 hours ago 417.8 MB stratos/php 4.1.0-

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-08 Thread Lakmal Warusawithana
Imesh, did you tried with uploaded image rc1? seems like it has not uploaded correctly. Here what I can see after docker pull. No name , no tag and it lesser that alpha tag. I have updates sample to rc1 docker images and it fails may be due to this. dbd9c1be

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-06 Thread Imesh Gunaratne
I have now updated the PHP docker image in docker hub: stratos/php:4.1.0-rc1 Thanks On Fri, Feb 6, 2015 at 5:40 PM, Imesh Gunaratne wrote: > I had a discussion on this issue with Chamila and did a fix with following > commit revision: > 72c8e6ff2ebfff221cf00aea386e69f21da92bdd > > We need to up

Re: [Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-06 Thread Imesh Gunaratne
I had a discussion on this issue with Chamila and did a fix with following commit revision: 72c8e6ff2ebfff221cf00aea386e69f21da92bdd We need to update PCA distribution in docker images. Thanks On Fri, Feb 6, 2015 at 4:37 PM, Imesh Gunaratne wrote: > Hi Devs, > > It seems like PCA does not wait

[Discuss] [Issue] Python Cartridge Agent does not wait until Complete Topology Event at the Startup

2015-02-06 Thread Imesh Gunaratne
Hi Devs, It seems like PCA does not wait until Complete Topology Event at the startup rather it is handled at a later stage. Thanks -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos