Jenkins build is back to stable : Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #809

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is back to stable : Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #607

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #606

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #808

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #605

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #807

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #604

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #806

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #603

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #805

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #602

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #804

2015-08-24 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #803

2015-08-23 Thread Apache Jenkins Server
See

Jenkins build became unstable: Stratos-Master-Commit-Build » Apache Stratos - Python Cartridge Agent #802

2015-08-23 Thread Apache Jenkins Server
See

Jenkins build became unstable: Stratos-Master-Nightly-Build » Apache Stratos - Python Cartridge Agent #601

2015-08-23 Thread Apache Jenkins Server
See

Re: [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Udara Liyanage
unched an Ubuntu 14.04 cloud instance, which puppet agent installed, to >>> run this command. I checked the /tmp/payload/ folder and it dose not have >>> any thing. >>> >>> Info: Computing checksum on file >>> /mnt/apache-stratos-python-cartridge-

Re: [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Sajith Abeywardhana
04 cloud instance, which puppet agent installed, to >> run this command. I checked the /tmp/payload/ folder and it dose not have >> any thing. >> >> Info: Computing checksum on file >> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated

Re: [Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Udara Liyanage
--test* command. I > lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to > run this command. I checked the /tmp/payload/ folder and it dose not have > any thing. > > Info: Computing checksum on file > /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/e

[Stratos] Apache-stratos-python-cartridge-agent-4.1.0 running error

2015-02-27 Thread Sajith Abeywardhana
ratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a Info: /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNA

Re: Messaging protocol with Stratos python cartridge agent

2014-09-04 Thread Imesh Gunaratne
Hi, Thank you very much Paul! I completely agree with you and +1 for the refactoring of the topic hierarchy. Regarding the reliable delivery in MQTT, I just checked v3.1 specification [1] and it has three levels of QoS: *Three qualities of service for message delivery:* *- "At most once", where

Re: Messaging protocol with Stratos python cartridge agent

2014-09-04 Thread Paul Fremantle
Folks I am not suggesting we move to MQTT necessarily. However, if we want a simple protocol with easy native python support, its not bad. STOMP is also good. It is pretty limiting that MQTT doesn't support headers. My only comment was that we are not actually using headers properly here. The ref

Re: Messaging protocol with Stratos python cartridge agent

2014-09-04 Thread Imesh Gunaratne
> > Based on the above discussion, I guess we need to change the the existing > Stratos messaging model to support the Pub/Sub model and MQTT protocol. > I think this statement is not correct, currently we use Pub/Sub model in Stratos messaging system. AFAIU we are looking at two concerns in this

Re: Messaging protocol with Stratos python cartridge agent

2014-09-03 Thread Lakmal Warusawithana
gt;better at a high volume of low size messages. >>>>>>>>>- It is supports only topic.This will not be a issue currently >>>>>>>>>in our scenario as we used only topic currently AFAIK.[4] >>>>>>>>> >>>>>>>>> >

Re: Messaging protocol with Stratos python cartridge agent

2014-09-03 Thread Gayan Gunarathne
.[5] WDYT? >>>>>>>> >>>>>>>> Please share your thoughts on this. >>>>>>>> >>>>>>>> [1] https://pypi.python.org/pypi/paho-mqtt >>>>>>>> [2[ https://github.com/iwanbk/nyamuk >>>>>>>> [3] h

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Paul Fremantle
com/archives/1217 >>>>>>> [4] >>>>>>> http://www.mqtechconference.com/sessions_v2013/MQTC_v2013_MQTT.pdf >>>>>>> [5] >>>>>>> http://blogs.vmware.com/vfabric/2013/02/choosing-your-messaging-protocol-amqp-mqtt-or-stomp.html &g

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Gayan Gunarathne
s, >>>>>> Gayan >>>>>> >>>>>> >>>>>> On Mon, Sep 1, 2014 at 4:32 PM, Gayan Gunarathne >>>>>> wrote: >>>>>> >>>>>>> Thanks Paul. >>>>>>> >>

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Paul Fremantle
;>>>> Thanks, >>>>>> Gayan >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Sep 1, 2014 at 4:17 PM, Paul Fremantle wrote: >>>>>> >>>>>>> P

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Dinesh Bandara
Gayan >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Sep 1, 2014 at 4:17 PM, Paul Fremantle wrote: >>>>>> >>>>>>> Python has excellent pure python MQTT support. >>>>

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Gayan Gunarathne
>> >>>>> On Mon, Sep 1, 2014 at 4:17 PM, Paul Fremantle wrote: >>>>> >>>>>> Python has excellent pure python MQTT support. >>>>>> >>>>>> > pip install paho-mqtt >>>>>> >>>>>

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Paul Fremantle
>>>>> Apache ActiveMQ used the AMQP 1.0 protocol. We found C based client >>>>>>>> library (proton) [2] which can be used with python. >>>>>>>> But it is a platform dependent library and every time we need to >>>>>>&g

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Gayan Gunarathne
gt; will be difficult us to manage as we need to install the libraries >>>>>>> based on >>>>>>> the platform. >>>>>>> >>>>>>> Other python libraries(txAMQP ,pika etc) supports AMQP 0.9 which >>>>&g

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Paul Fremantle
ther python libraries(txAMQP ,pika etc) supports AMQP 0.9 which >>>>>> fails to connect with the ActiveMQ. >>>>>> >>>>>> >>>>>> *2.STOMP* >>>>>> >>>>>> We can connect to the ActiveMQ with the

Re: Messaging protocol with Stratos python cartridge agent

2014-09-02 Thread Gayan Gunarathne
[3].IMO we can used STOMP with ActiveMQ without >>>>> worry about the platform based library installation.By considering our >>>>> scope of the cartridge agent I think it is better to have a platform >>>>> independence cartridge as far as we can.

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Gayan Gunarathne
ge as far as we can. Then, IMO STOMP based messaging >>>> queue implementation will be more manageable when we increase our number >>>> of platform supported. >>>> WDYT? >>>> >>>> When comparing the performance of theses two protocols it loo

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Dinesh Bandara
f the cartridge agent I think it is better to have a platform >>> independence cartridge as far as we can. Then, IMO STOMP based messaging >>> queue implementation will be more manageable when we increase our number >>> of platform supported. >>> WDYT? >&

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Paul Fremantle
be more manageable when we increase our number >>> of platform supported. >>> WDYT? >>> >>> When comparing the performance of theses two protocols it looks like >>> there are no such huge difference[4].I guess the performance also tightly >>

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Gayan Gunarathne
WDYT? >> >> When comparing the performance of theses two protocols it looks like >> there are no such huge difference[4].I guess the performance also tightly >> coupled with the message broker you are using as well.OTOH Apache ActiveMQ >> recommended

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Jayanath Liyanage
ge broker you are using as well.OTOH Apache ActiveMQ > recommended way also to used the STOMP with the python[5]. > > > Please share your thoughts on this. > > [1] Stratos Python Cartridge Agent > [2] https://github.com/apache/qpid-proton > [3] https://github.com/jasonrbrigg

Re: Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Paul Fremantle
upled > with the message broker you are using as well.OTOH Apache ActiveMQ > recommended way also to used the STOMP with the python[5]. > > > Please share your thoughts on this. > > [1] Stratos Python Cartridge Agent > [2] https://github.com/apache/qpid-proton > [3] https://g

Messaging protocol with Stratos python cartridge agent

2014-09-01 Thread Gayan Gunarathne
difference[4].I guess the performance also tightly coupled with the message broker you are using as well.OTOH Apache ActiveMQ recommended way also to used the STOMP with the python[5]. Please share your thoughts on this. [1] Stratos Python Cartridge Agent [2] https://github.com/apache/qpid-proton [3

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
Yeah. If we install libraries based on the platform (architecture and the versions) , I think it is possible. Currently do we have platform based library installations with new instance spawning? Thanks, Gayan On Fri, Aug 29, 2014 at 11:37 AM, chris snow wrote: > I would have thought that pup

Re: Stratos Python Cartridge Agent

2014-08-28 Thread chris snow
I would have thought that puppet would abstract the installation of the correct package for us: - puppet will be defined to install the package 'qpid-proton' - on ubuntu platforms, puppet will have the qpid-proton package defined with a dependency that first adds the apt-repository - on RHEL platf

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
Thanks Chris. My concern is if we used the binaries based on the platform ,every-time we need to get the platform details of the instance when new instance going to spawn and download the relevant binaries based on that platform. As I noticed there are different set of binaries for the Ubuntu ver

Re: Stratos Python Cartridge Agent

2014-08-28 Thread chris snow
Hi Gayan, yes, that link was for the broker, but I was hoping the same question had been asked for proton. I ended up sending an email to the proton list. It seems there are binary packages [1] - did you find these? --- [1] http://qpid.2158936.n2.nabble.com/make-dist-for-proton-c-td7612705.html

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
AFAIU we don't have make dist option here.I guess, they included the install option only.Even if we have make dist option I guess still we need to make a separate build for the each platform.Is n't? Also that link[1],even it is about the qpid message broker, I think they are talking about the same

Re: Stratos Python Cartridge Agent

2014-08-28 Thread chris snow
Hi Gayan, is there a 'make dist' option [1]? --- [1] http://qpid.2158936.n2.nabble.com/How-to-deploy-the-broker-on-another-machine-td3400607.html#a3400632 On Thu, Aug 28, 2014 at 11:20 AM, Gayan Gunarathne wrote: > Hi Chris, > > AFAIR that build will added the attached file list (please find t

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
Hi Chris, AFAIR that build will added the attached file list (please find the attached document) to the Ubuntu and it uses those files.IMO with fedora build that files will be different and it will be platform dependent. WDYT? Thanks, Gayan On Thu, Aug 28, 2014 at 2:47 PM, chris snow wrote: >

Re: Stratos Python Cartridge Agent

2014-08-28 Thread chris snow
Ah, ok. So the problem is just that we need to setup a development environment to compile the qpid application? After qpid has been compiled to a binary, the development environment is no longer required? Can we use fedora to build a qpid binary for ubuntu? On Thu, Aug 28, 2014 at 9:47 AM, Gay

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
For windows also they have included the building procedure in their read-me file. Thanks, Gayan On Thu, Aug 28, 2014 at 2:17 PM, Gayan Gunarathne wrote: > Yeah Chris.It is the command set for the fedora as mention in their > read-me file. > > For Ubuntu we can use the following command sets. >

Re: Stratos Python Cartridge Agent

2014-08-28 Thread Gayan Gunarathne
Yeah Chris.It is the command set for the fedora as mention in their read-me file. For Ubuntu we can use the following command sets. # required dependencies sudo apt-get install gcc cmake uuid-dev # dependencies needed for ssl support sudo apt-get install libssl-dev # dependencies needed for bin

Re: Stratos Python Cartridge Agent

2014-08-28 Thread chris snow
On Wed, Aug 27, 2014 at 6:26 AM, Gayan Gunarathne wrote: > Hi Akila, > > When we tried with the Apache Qpid Proton-C library we did the following > prerequisites. > > # required dependencies > yum install gcc cmake libuuid-devel > > # dependencies needed for ssl support > yum insta

Re: Stratos Python Cartridge Agent

2014-08-26 Thread Gayan Gunarathne
Hi Akila, When we tried with the Apache Qpid Proton-C library we did the following prerequisites. # required dependencies yum install gcc cmake libuuid-devel # dependencies needed for ssl support yum install openssl-devel # dependencies needed for bindings yum install sw

Re: Stratos Python Cartridge Agent

2014-08-26 Thread Akila Ravihansa Perera
Hi Gayan, What are the concerns/blockers for using Apache Qpid Proton-C library [1] with Python binding? As I understood, this is cross-platform compatible (Linux/Windows) and you do not need Java. However, there is a pure Java implementation but we can use C/Python binding. We will have to inves

Re: Stratos Python Cartridge Agent

2014-08-26 Thread Gayan Gunarathne
Hi Chris, Thanks for adding the JIRA for ActiveMQ. Yeah It will be a worth addition. Thanks, Gayan On Tue, Aug 26, 2014 at 4:14 PM, chris snow wrote: > I guess the agent will need to be configurable to support STOMP for > ActiveMQ installations or AMQP for WSO2MB installations. > > Also, I r

Re: Stratos Python Cartridge Agent

2014-08-26 Thread chris snow
I guess the agent will need to be configurable to support STOMP for ActiveMQ installations or AMQP for WSO2MB installations. Also, I raised this JIRA: https://issues.apache.org/jira/browse/AMQ-5332 - it won't happen in our timescales, but I thought it was worth adding as it seems a lot of people h

Re: Stratos Python Cartridge Agent

2014-08-26 Thread Gayan Gunarathne
Yeah Chris. Exactly the problem we have.Currently lot of python amqp agents for RabbitMQ which supports AMQP 0-9.[1]. [1] https://www.rabbitmq.com/specification.html Thanks, Gayan On Tue, Aug 26, 2014 at 12:25 PM, chris snow wrote: > Thanks Gayan! > > What errors were you hitting? The few

Re: Stratos Python Cartridge Agent

2014-08-25 Thread chris snow
Thanks Gayan! What errors were you hitting? The few clients I tried give me the error [1]. It seems some of f the python amqp libraries don't support version 1.0 of AMQP? --- [1] http://activemq.2283324.n4.nabble.com/AMQP-version-AMQP-header-mismatch-value-0-expecting-1-td4663920.html On Tue,

Re: Stratos Python Cartridge Agent

2014-08-25 Thread Gayan Gunarathne
Hi Chirs, Please find the python client library samples which we are tested. https://github.com/gayangunarathne/amqp_python_libraries Thanks, Gayan On Tue, Aug 26, 2014 at 9:56 AM, Gayan Gunarathne wrote: > Hi Chris, > > Yeah. We looked that qpid messaging as well.For that we need that qpid >

Re: Stratos Python Cartridge Agent

2014-08-25 Thread Gayan Gunarathne
Hi Chris, Yeah. We looked that qpid messaging as well.For that we need that qpid proton library .Is n't? AFAIR it is based on CMake and It requires java also[1]. Also we will share with you the samples we try with the amqp clients. [1]http://svn.apache.org/repos/asf/qpid/proton/trunk/README T

Re: Stratos Python Cartridge Agent

2014-08-25 Thread chris snow
hi Gayan, What are the issues that you received from the various AMQP libraries? Do you have a code repo that I can take a look at to try and replicate the errors? Did you investigate qpid [1]? Many thanks Chris --- [1] http://qpid.apache.org/releases/qpid-0.28/messaging-api/python/examples/he

Re: Stratos Python Cartridge Agent

2014-08-25 Thread Gayan Gunarathne
Hi Chris, We try to replace our java cartridge agent with the python as after that we can remove the java dependency from the cartridge itself.I guess this is also vital for the Docker support too. In Apache ActiveMQ site also AMQP support is based on the JMS/AMQP[1]. I guess message broker imple

Re: Stratos Python Cartridge Agent

2014-08-25 Thread chris snow
Is the issue because we currently have a mix of JMS/AMQP/Jndi? If we had a pure AMQP approach would these problems go away? AFAIK, one of the drivers for AMQP was interoperability with all languages, rather than jms which is focused on Java. On 25 Aug 2014 12:49, "Gayan Gunarathne" wrote: > Hi A

Stratos Python Cartridge Agent

2014-08-25 Thread Gayan Gunarathne
Hi All, With related to the python cartridge agent , Dinesh and myself do some research related to the Apache ActiveMQ connectivity using the python client. Following our findings on this. *AMQP* AFAWU we need to have pyactivemq , which is a Python wrapper for the ActiveMQ C++ Library,[1] But