Re: Subscribe mysql cartridge in EC2-Kubernetes installation

2015-07-15 Thread Pubudu Gunatilaka
Hi Supun, Currently we don't have a mysql docker cartridge and Anuruddha is developing it at the moment. Once he finishes you can use that for your application. Thank you! On Thu, Jul 16, 2015 at 11:31 AM, Akila Ravihansa Perera wrote: > Hi Supun, > > What exactly is the problem that you are f

Re: Subscribe mysql cartridge in EC2-Kubernetes installation

2015-07-15 Thread Akila Ravihansa Perera
Hi Supun, What exactly is the problem that you are facing? You need to be more specific to get help. Thanks. On Thu, Jul 16, 2015 at 10:58 AM, Supun Bhathiya wrote: > I was able to build a Kubernetes cluster on EC2 following [1]. > > Now trying to deploy an application which requires php and m

Subscribe mysql cartridge in EC2-Kubernetes installation

2015-07-15 Thread Supun Bhathiya
I was able to build a Kubernetes cluster on EC2 following [1]. Now trying to deploy an application which requires php and mysql cartridges. I could add php cartridge but not mysql . Any help on adding mysql cartridge on above environment is greatly appreciated. [1]- https://cwiki.apache.org/conf

Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Imesh Gunaratne
ply-To: "dev@stratos.apache.org" > Date: Friday, November 14, 2014 11:18 AM > To: dev > Subject: Re: Un-subscribe cartridge takes 60+ sec > >Hi Jeffrey, > > Thanks for bringing this up. I was thinking about this issue sometime back > and thought that may be we cou

Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Jeffrey Nguyen (jeffrngu)
: "dev@stratos.apache.org<mailto:dev@stratos.apache.org>" mailto:dev@stratos.apache.org>> Date: Friday, November 14, 2014 11:18 AM To: dev mailto:dev@stratos.apache.org>> Subject: Re: Un-subscribe cartridge takes 60+ sec Hi Jeffrey, Thanks for bringing this up. I was thinking

Re: Un-subscribe cartridge takes 60+ sec

2014-11-14 Thread Imesh Gunaratne
Hi Jeffrey, Thanks for bringing this up. I was thinking about this issue sometime back and thought that may be we could start the retry interval with a small value and then increase it step by step depending on the number of continuous failures. I noticed this approach in Gmail. I can do a quick

Re: Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Isuru Haththotuwa
Hi Jeffrey, On Fri, Nov 14, 2014 at 6:19 AM, Jeffrey Nguyen (jeffrngu) < jeffr...@cisco.com> wrote: > Hi, > > While testing Stratos 4.1 M3, I noticed about half the times, > unsubscribing a cartridge takes 60+ seconds to execute. During that time, > the caller is blocked. I poke around Strato

Re: Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Udara Liyanage
Hi, Yes 60 seconds is a long time. We can start from short value and increase timeout when failed as Imesh mentioned once. Touched, not typed. Erroneous words are a feature, not a typo. On Nov 14, 2014 6:19 AM, "Jeffrey Nguyen (jeffrngu)" wrote: > Hi, > > While testing Stratos 4.1 M3, I not

Un-subscribe cartridge takes 60+ sec

2014-11-13 Thread Jeffrey Nguyen (jeffrngu)
Hi, While testing Stratos 4.1 M3, I noticed about half the times, unsubscribing a cartridge takes 60+ seconds to execute. During that time, the caller is blocked. I poke around Stratos code and found TopicPublisher class that is responsible for the 60 second retry delay. The code sleeps for

Re: git commit: Removing subscribe method from REST API and refining code/error logs

2014-11-01 Thread Nirmal Fernando
Don't we need to subscribe anymore? On Sat, Nov 1, 2014 at 5:50 AM, wrote: > Repository: stratos > Updated Branches: > refs/heads/docker-grouping-merge 47b31d086 -> ef4df6d66 > > > Removing subscribe method from REST API and refining code/error logs > > > Pr

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-11 Thread Nirmal Fernando
t; an issue with the Kubernetes setup. >>>> >>>> On Sat, Oct 11, 2014 at 3:20 AM, Chamila De Alwis >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm following the m1-guide to setup a Kubernetes Hos

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-11 Thread Chamila De Alwis
tes setup. >>> >>> On Sat, Oct 11, 2014 at 3:20 AM, Chamila De Alwis >>> wrote: >>> >>>> Hi, >>>> >>>> I'm following the m1-guide to setup a Kubernetes Host cluster to test

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-10 Thread Sajith Kariyawasam
ge agent. However at the subscription step, stratos fails to >> subscribe by throwing the following error. >> >> java.net.ConnectException >> at >> org.apache.stratos.kubernetes.client.rest.RestClient.doPost(RestClient.java:83) >> at >> org.apache.

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-10 Thread Nirmal Fernando
ster. This is >> an issue with the Kubernetes setup. >> >> On Sat, Oct 11, 2014 at 3:20 AM, Chamila De Alwis >> wrote: >> >>> Hi, >>> >>> I'm following the m1-guide to setup a Kubernetes Host cluster to test >>> the Pyth

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-10 Thread Nirmal Fernando
de to setup a Kubernetes Host cluster to test the > Python cartridge agent. However at the subscription step, stratos fails to > subscribe by throwing the following error. > > java.net.ConnectException > at > org.apache.stratos.kubernetes.client.rest.RestClie

Re: subscribe

2014-09-22 Thread Manula Chathurika Thantriwatte
Ack On Tue, Sep 23, 2014 at 11:22 AM, Thushara Ranawaka wrote: > > > -- > Thushara Kasun Ranawaka > Software Engineer > WSO2 Inc.; > lean.enterprise.middleware > Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>* > *thusha...@wso2.com * > -- Regards, Manula Chat

subscribe

2014-09-22 Thread Thushara Ranawaka
-- Thushara Kasun Ranawaka Software Engineer WSO2 Inc.; lean.enterprise.middleware Mobile : *+94 (0) 773438949* *thusha...@wso2.com *

RE: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-18 Thread Dale Chalfant
I concur. From: Nirmal Fernando [mailto:nirmal070...@gmail.com] Sent: Monday, August 18, 2014 4:42 AM To: dev Subject: Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user) I tend to agree with Amila. These are real world requirements and I

[jira] [Created] (STRATOS-754) Allow super tenant to subscribe a tenant to a service (on behalf of)

2014-08-18 Thread Amila Maharachchi (JIRA)
Amila Maharachchi created STRATOS-754: - Summary: Allow super tenant to subscribe a tenant to a service (on behalf of) Key: STRATOS-754 URL: https://issues.apache.org/jira/browse/STRATOS-754

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-18 Thread Nirmal Fernando
nt only a tenant can subscribe to a service. This has to be > done by signing in to the Stratos manager UI or invoking a rest API. But, > Apache Stratos is a PaaS framework. So, if someone wants to setup a PaaS > with Stratos, he should be able to provision services for tenants without > the

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-18 Thread Amila Maha Arachchi
I dont agree. Following are my reasons: 1. At the moment only a tenant can subscribe to a service. This has to be done by signing in to the Stratos manager UI or invoking a rest API. But, Apache Stratos is a PaaS framework. So, if someone wants to setup a PaaS with Stratos, he should be able to

Re: Subscribe Cartbrigde Multitenant

2014-08-15 Thread Udara Liyanage
> If you successfully deploy a service of centos, an instance of centos >> should be spawned, related server/service should start running , then >> cartridge agent send instance activated event. Only after cartridge agent >> sends instance activated event, Stratos will a

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-15 Thread Akila Ravihansa Perera
>> Hi Amila, >> >> Sorry for the delayed response. In the current implementation, this is >> not supported. >> >> >> On Wed, Aug 13, 2014 at 5:34 PM, Amila Maha Arachchi >> wrote: >> >>> Hi Devs, >>> >>> AFAIU, at the m

Re: Subscribe Cartbrigde Multitenant

2014-08-15 Thread Ignacio Ayuste
elated server/service should start running , then > cartridge agent send instance activated event. Only after cartridge agent > sends instance activated event, Stratos will allow you to subscribe to a > multy tenant cartridge. > > > > > On Thu, Aug 14, 2014 at 6:11 PM, Ig

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-15 Thread Imesh Gunaratne
nks. > > > On Fri, Aug 15, 2014 at 4:19 AM, Isuru Haththotuwa > wrote: > >> Hi Amila, >> >> Sorry for the delayed response. In the current implementation, this is >> not supported. >> >> >> On Wed, Aug 13, 2014 at 5:34 PM, Amila Maha Arachchi

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-15 Thread Pradeep Fernando
> wrote: > >> Hi Devs, >> >> AFAIU, at the moment when subscribe to a service (via the REST api), we >> need to provide the tenant user's credentials. >> >> Following is a sample rest call: >> curl -X POST -H "Content-Type: application/json"

Re: Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-15 Thread Isuru Haththotuwa
Hi Amila, Sorry for the delayed response. In the current implementation, this is not supported. On Wed, Aug 13, 2014 at 5:34 PM, Amila Maha Arachchi wrote: > Hi Devs, > > AFAIU, at the moment when subscribe to a service (via the REST api), we > need to provide the tenant user&#

Re: Subscribe Cartbrigde Multitenant

2014-08-14 Thread Udara Liyanage
instance activated event, Stratos will allow you to subscribe to a multy tenant cartridge. On Thu, Aug 14, 2014 at 6:11 PM, Ignacio Ayuste < ignacio.ayu...@bairesdev.com> wrote: > hello guys, im trying to subscribe a multitenant cartbridbe i follow all > the wizard and every works perfec

Subscribe Cartbrigde Multitenant

2014-08-14 Thread Ignacio Ayuste
hello guys, im trying to subscribe a multitenant cartbridbe i follow all the wizard and every works perfect but when i try to subscribe the cartbridge give me this error in the log file. TID: [0] [STRATOS] [2014-08-11 23:34:03,345] ERROR {org.apache.stratos.manager.m

Is there a way for the super tenant to subscribe a tenant to a service (on behalf of the tenant user)

2014-08-13 Thread Amila Maha Arachchi
Hi Devs, AFAIU, at the moment when subscribe to a service (via the REST api), we need to provide the tenant user's credentials. Following is a sample rest call: curl -X POST -H "Content-Type: application/json" -d @subscribe.json -k -v -u username@tenantdomain:password https://

Re: Partition Validation Cache to improve loading time of cartridges' subscribe page

2014-07-20 Thread Isuru Haththotuwa
On Sat, Jul 19, 2014 at 10:15 PM, Nirmal Fernando wrote: > Hi All, > We need a Partition validation cache to improve the loading time of the > page where you enter subscription information. This will be handy to have > if you have large number of partitions and policies. > +1. I have witnessed co

Partition Validation Cache to improve loading time of cartridges' subscribe page

2014-07-19 Thread Nirmal Fernando
Hi All, We need a Partition validation cache to improve the loading time of the page where you enter subscription information. This will be handy to have if you have large number of partitions and policies. Each cartridge will hold a partition cache, and cache will get invalidated, if the cartridg

[jira] [Updated] (STRATOS-393) Do not allow to subscribe to multi-tenant cartridge if particular server is not activated

2014-06-29 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-393: Fix Version/s: (was: 4.0.0 RC) 4.1.0 > Do not allow to subscr

Re: Subscribe

2014-06-11 Thread Nirmal Fernando
Not a problem at all! On Wed, Jun 11, 2014 at 9:08 PM, Ayesha Dissanayaka wrote: > Hi Nirmal, > > Thanks for the update n sorry about the inconvenience. :) > > > On Wed, Jun 11, 2014 at 8:44 PM, Nirmal Fernando > wrote: > >> You are already in! >> >> >> On Wed, Jun 11, 2014 at 8:11 PM, Ayesha

Re: Subscribe

2014-06-11 Thread Ayesha Dissanayaka
Hi Nirmal, Thanks for the update n sorry about the inconvenience. :) On Wed, Jun 11, 2014 at 8:44 PM, Nirmal Fernando wrote: > You are already in! > > > On Wed, Jun 11, 2014 at 8:11 PM, Ayesha Dissanayaka > wrote: > >> >> >> -- >> *Ayesha Dissanayaka* >> Software Engineer, >> WSO2, Inc : ht

Re: Subscribe

2014-06-11 Thread Nirmal Fernando
You are already in! On Wed, Jun 11, 2014 at 8:11 PM, Ayesha Dissanayaka wrote: > > > -- > *Ayesha Dissanayaka* > Software Engineer, > WSO2, Inc : http://wso2.com > > 20, Palmgrove Avenue, Colo

Subscribe

2014-06-11 Thread Ayesha Dissanayaka
-- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com