Re: Which docker image should i pull when i try to deploy the stratos on Kubernetes

2016-05-01 Thread Sajith Kariyawasam
Hi, Docker needs to be installed first, as a pre-requisite for K8S. Follow the guidelines https://docs.docker.com/engine/installation/ Thanks, Sajith On Sun, May 1, 2016 at 1:22 PM, 周华康 <459673...@qq.com> wrote: > Hi, >I try to deploy the stratos on k8s at first,and not the VM(such as > op

Re: [Proposal] Stratos 5.0 - Ignite Architecture

2016-04-13 Thread Sajith Kariyawasam
ill add Mesos, CF, ECS etc >>> support. >>> >>> User experience should be very simple. One main problem I have seen in >>> all of these PaaS, their technologies are very complicate to understand >>> average user. >>> >>> This is total rewrite of Stratos. We discussed to rewrite with GO, main >>> reason Stratos itself should run in-side a container. >>> >>> Please share your thoughts. >>> >>> p.s: @(Imesh, Akila, Chamilad, IsuruH) please add if I missed anything. >>> >>> -- >>> Lakmal Warusawithana >>> Vice President, Apache Stratos >>> Blog : http://lakmalsview.blogspot.com/ >>> >> >> > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[jira] [Resolved] (STRATOS-1653) Kubernetes cluster update is not working

2016-02-06 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1653. - Resolution: Fixed > Kubernetes cluster update is not work

[jira] [Commented] (STRATOS-1653) Kubernetes cluster update is not working

2016-02-06 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135962#comment-15135962 ] Sajith Kariyawasam commented on STRATOS-1653: - Fixed in co

[jira] [Created] (STRATOS-1653) Kubernetes cluster update is not working

2016-02-06 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1653: --- Summary: Kubernetes cluster update is not working Key: STRATOS-1653 URL: https://issues.apache.org/jira/browse/STRATOS-1653 Project: Stratos

Re: Introduction

2016-01-19 Thread Sajith Kariyawasam
/STRATOS/Home [2] https://issues.apache.org/jira/browse/STRATOS Thanks, Sajith On Tue, Jan 19, 2016 at 2:54 PM, Ashutosh Dadhich < ashutosh.dadh...@hotmail.com> wrote: > Hi, my name is Ashutosh and I want to contribute. Please show me the way > where to begin. > -- Sajith Kariyawasam

[jira] [Created] (STRATOS-1647) Application deployment failed: [application-id]single-cartridge-app

2015-12-21 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1647: --- Summary: Application deployment failed: [application-id]single-cartridge-app Key: STRATOS-1647 URL: https://issues.apache.org/jira/browse/STRATOS-1647

[jira] [Commented] (STRATOS-1646) Make public methods in NetworkPartitionContext more consistent

2015-12-16 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061666#comment-15061666 ] Sajith Kariyawasam commented on STRATOS-1646: - S

[jira] [Created] (STRATOS-1646) Make public methods in NetworkPartitionContext more consistent

2015-12-16 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1646: --- Summary: Make public methods in NetworkPartitionContext more consistent Key: STRATOS-1646 URL: https://issues.apache.org/jira/browse/STRATOS-1646

[Discuss] Executing rolling update on a service cluster

2015-12-15 Thread Sajith Kariyawasam
our thoughts on this. Thanks, Sajith -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Removing application signups if (!applicationSignUpExists) ?

2015-12-15 Thread Sajith Kariyawasam
why its needed since this code executes only if *not* applicationSignUpExists ? Thanks, Sajith -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: [Vote] Release Apache Stratos 4.1.5-RC3.

2015-12-10 Thread Sajith Kariyawasam
>> [ ] -1 (explain why) >> >> Thanks, >> The Apache Stratos team >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://wso2.com) >> Committer & PMC Member, Apache Stratos >> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[Wiki] Some of the Kubernets cluster setup guide links are not working

2015-12-07 Thread Sajith Kariyawasam
Hi Mari, Could you please have a look at $subject? Some links as below doesn't seem to point to any of the pages. https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Configuring+Stratos#id-4.1.xConfiguringStratos-Step3-Createasnapshotoftheinstance Thanks, Sajith -- Sajith Kariya

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-07 Thread Sajith Kariyawasam
uce a configurable "delay" (Thread sleep) to mock iaas operations for make it more realistic with actual iaases instance creation process. > [1] > https://github.com/apache/stratos/commit/bb22134fbbe3232b5e0a20943c30d2cfc5b55322 > > Thanks. > > On Mon, Dec 7, 2015 at 3:

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-07 Thread Sajith Kariyawasam
gt;>> >>>>>>>>> The vote is for the tag, not the binaries. Therefore we need to >>>>>>>>> tag the code in order to vote. >>>>>>>>> >>>>>>>>> Also we do not tag with a release version (4.1.5)

Re: [Vote] Release Apache Stratos 4.1.5-RC2

2015-12-04 Thread Sajith Kariyawasam
org/confluence/display/STRATOS/Release+Verification+Guide >> >> >> [ ] +1 >> [ ] 0 >> [ ] -1 (explain why) >> >> >> Thanks, >> The Apache Stratos team >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://w

Re: [Discuss] Suggesting a patching model for PCA

2015-11-30 Thread Sajith Kariyawasam
pache Stratos > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > > On Mon, Nov 30, 2015 at 6:44 PM, Sajith Kariyawasam > wrote: > >> >> On Sat, Nov 28, 2015 at 11:55 PM, Imesh Gunaratne >> wrote: >> >>> >

Re: [Discuss] Suggesting a patching model for PCA

2015-11-30 Thread Sajith Kariyawasam
On Sat, Nov 28, 2015 at 11:55 PM, Imesh Gunaratne wrote: > > > On Tue, Nov 24, 2015 at 12:58 PM, Sajith Kariyawasam > wrote: >> >> >> There are two aspects in here as I see. >> 1) Applying patches to already running server and restart. >> 2) Appl

Re: Customizing serialization in Stratos to maintain backward compatibility of serialized data

2015-11-30 Thread Sajith Kariyawasam
.html >> >> [2]. >> if ("4.1.4".equals(CC_CONTEXT_VERSION)) { >> // de-serialize members in 4.1.4 version >> } else if ("4.1.5".equals(CC_CONTEXT_VERSION)) { >> // de-serialize members in 4.1.5 version >> } >> >> >> -- >> Thanks and Regards, >> >> Isuru H. >> +94 716 358 048* <http://wso2.com/>* >> >> >> > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: [Vote] Release Apache Stratos 4.1.5-RC1

2015-11-26 Thread Sajith Kariyawasam
Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> > > > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: Stratos Load Balancer Setup

2015-11-26 Thread Sajith Kariyawasam
> find a configuration setting that was only in the .bat file so I included > that on .sh file. I'm not sure if that's how it should be done. > > But afterwards I encountered a fatal error from the Parser stating that > username is not found. > > Regards, > > On Thu

Re: Stratos Load Balancer Setup

2015-11-25 Thread Sajith Kariyawasam
> and tested Stratos Instance for a PHP application. My problem is how do I > configure a load balancer. I tried integrating Stratos LB into the same > machine in Stratos as well as on a different node. Is there any guide to > follow to setup a load balancer? > > Thanks! >

Re: [Discuss] Suggesting a patching model for PCA

2015-11-23 Thread Sajith Kariyawasam
ay of Carbon patch model. Can you please explain the patching process you are proposing? > > Thanks > > On Wed, Nov 11, 2015 at 6:07 PM, Sajith Kariyawasam > wrote: > >> Hi Devs, >> >> At the moment Python Cartridge Agent (PCA) doesn't have a convenient way >&

Re: Why some test cases are excluded from integration tests?

2015-11-22 Thread Sajith Kariyawasam
tCase >>>>> >>>>> Any reason to do this? >>>>> >>>>> Thanks, >>>>> Raj. >>>>> >>>>> -- >>>>> Rajkumar Rajaratnam >>>>> Committer & PMC Member, Apache Stratos >

Re: Stratos fails to terminate an instance after a server restart

2015-11-19 Thread Sajith Kariyawasam
issue between AS and CC, may be CC web service was not ready at that >>>>>>> time. >>>>>>> >>>>>> >>>> CC must be available when AS is creating monitors as per component >>>> synchronizer implementation. If it is not then that's a different issue. >>>> >>>> Thanks. >>>> >>>> >>> >>> >>> >>> -- >>> Rajkumar Rajaratnam >>> Committer & PMC Member, Apache Stratos >>> Software Engineer, WSO2 >>> >>> Mobile : +94777568639 >>> Blog : rajkumarr.com >>> >> >> >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://wso2.com) >> Committer & PMC Member, Apache Stratos >> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > Akila Ravihansa Perera > WSO2 Inc.; http://wso2.com/ > > Blog: http://ravihansa3000.blogspot.com > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: [Stratos 4.1.5] [Blocker] Issues with cartridge-config.properties file

2015-11-13 Thread Sajith Kariyawasam
gt; URLs from stratos-manager.xml >>> >>> If you think this is too much work for this release, we can read the >>> same cartridge-config.properties file from both SM & AS. >>> >>> Please do let me know if you have any concerns. >>> >>

Re: [Stratos 4.1.5] [Blocker] Issues with cartridge-config.properties file

2015-11-13 Thread Sajith Kariyawasam
.run(FutureTask.java:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: java.lang.RuntimeException: System property not found: >>> cloud.controller.service.url >>> at >>> org.apache.stratos.common.client.CloudControllerServiceClient.getInstance(CloudControllerServiceClient.java:75) >>> at >>> org.apache.stratos.autoscaler.monitor.MonitorFactory.getClusterMonitor(MonitorFactory.java:270) >>> ... 7 more >>> >> >> >>> >>> Thanks, >>> Raj. >>> >>> -- >>> Rajkumar Rajaratnam >>> Committer & PMC Member, Apache Stratos >>> Software Engineer, WSO2 >>> >>> Mobile : +94777568639 >>> Blog : rajkumarr.com >>> >> >> >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://wso2.com) >> Committer & PMC Member, Apache Stratos >> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > Thanuja Uruththirakodeeswaran > Software Engineer > WSO2 Inc.;http://wso2.com > lean.enterprise.middleware > > mobile: +94 774363167 > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[Discuss] Suggesting a patching model for PCA

2015-11-11 Thread Sajith Kariyawasam
Patch+Application+Process Thanks, Sajith -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[jira] [Resolved] (STRATOS-1545) Startup order not getting validated when it is defined in the application

2015-11-11 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1545. - Resolution: Fixed Added validation logic and integration test. Fixed in commit

[jira] [Assigned] (STRATOS-1545) Startup order not getting validated when it is defined in the application

2015-11-06 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam reassigned STRATOS-1545: --- Assignee: Sajith Kariyawasam > Startup order not getting validated when

[jira] [Updated] (STRATOS-1545) Startup order not getting validated when it is defined in the application

2015-11-06 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam updated STRATOS-1545: Fix Version/s: (was: FUTURE) 4.1.5 > Startup order

Re: Release dates are not updated in most of the releases

2015-11-06 Thread Sajith Kariyawasam
Sorry for the noise. I was able to update the release dates :) On Fri, Nov 6, 2015 at 2:19 PM, Sajith Kariyawasam wrote: > Hi, > > I noticed $subject , in > > https://issues.apache.org/jira/browse/STRATOS/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel > &g

Release dates are not updated in most of the releases

2015-11-06 Thread Sajith Kariyawasam
Hi, I noticed $subject , in https://issues.apache.org/jira/browse/STRATOS/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel I tried to updated the release dates, but seems I don't have permission. Can someone update the dates accordingly ? Thanks, Sajith -- S

[jira] [Resolved] (STRATOS-1600) When working with AWS load balancer extension, Instance Id being NULL in Member Object in Topology.

2015-11-06 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1600. - Resolution: Fixed Fixed in Apache Stratos 4.1.x branch with following commits

[jira] [Created] (STRATOS-1600) When working with AWS load balancer extension, Instance Id being NULL in Member Object in Topology.

2015-11-06 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1600: --- Summary: When working with AWS load balancer extension, Instance Id being NULL in Member Object in Topology. Key: STRATOS-1600 URL: https://issues.apache.org/jira

Re: Integration test failure with Application Bursting

2015-10-13 Thread Sajith Kariyawasam
We need to troubleshoot this test failure quickly to do the Startos 4.1.4 > release build > > Thanks, > Gayan > > > > > > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay.

[jira] [Resolved] (STRATOS-1584) Thrift publisher in LB extensions should be able to send messages to multiple endpoints

2015-10-13 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1584. - Resolution: Fixed Fixed in commit 75e7d8e54b37791099da16e0f72fc8ecc9d4fdda

Different formats of thrift-client-config.xml file

2015-10-09 Thread Sajith Kariyawasam
admin admin localhost 7611 = What would be the correct one? Thanks, Sajith -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[jira] [Created] (STRATOS-1584) Thrift publisher in LB extensions should be able to send messages to multiple endpoints

2015-10-05 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1584: --- Summary: Thrift publisher in LB extensions should be able to send messages to multiple endpoints Key: STRATOS-1584 URL: https://issues.apache.org/jira/browse

[jira] [Created] (STRATOS-1583) Users should be able change Git repository password

2015-10-05 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1583: --- Summary: Users should be able change Git repository password Key: STRATOS-1583 URL: https://issues.apache.org/jira/browse/STRATOS-1583 Project: Stratos

Re: [IMPORTANT] Tips for new committers

2015-09-11 Thread Sajith Kariyawasam
gt; [2] https://github.com/apache/stratos/commits/stratos-4.1.x >>> [3] >>> https://www.atlassian.com/git/articles/git-team-workflows-merge-or-rebase/ >>> >>> Please share your thoughts. >>> >>> Thanks. >>> -- >>> Akila Ravihansa Perera >>> WSO2 Inc.; http://wso2.com/ >>> >>> Blog: http://ravihansa3000.blogspot.com >>> >> >> >> >> -- >> Lakmal Warusawithana >> Vice President, Apache Stratos >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > > > -- > Isuru Perera > Associate Technical Lead | WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > about.me/chrishantha > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

[Code Quality] Sonar profile shows 261 critical issues

2015-08-07 Thread Sajith Kariyawasam
, will give an update once done. Better if everyone setup [1] run a sonar analysis locally, before committing code. [1] https://analysis.apache.org/dashboard/index?id=org.apache.stratos%3Astratos-parent [2] https://cwiki.apache.org/confluence/display/STRATOS/SonarQube+Eclipse+Plugin -- Sajith

Re: DISCUSS: are there any plans to upgrade jclouds to the latest version ?

2015-08-07 Thread Sajith Kariyawasam
om >> lean.enterprise.middleware >> >> phone: +94773325954 >> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Akila Ravihansa Perera > WSO2 Inc.; http://wso2.com/ > > Blog: http://ravihansa3000.blogspot.com > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: [DISCUSS] Discontinue Stratos LB in future releases

2015-07-03 Thread Sajith Kariyawasam
- Cloud Architecture; WSO2 Inc. >>>>>> Mobile : +94714289692 >>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Akila Ravihansa Perera >>&

Re: [Discuss] Apache Stratos 4.1.0-RC3 Test Coverage

2015-06-26 Thread Sajith Kariyawasam
atne >>> >>> Senior Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007

Re: Persist data with database in Stratos

2015-06-23 Thread Sajith Kariyawasam
would be helpful >> >> Thanks, >> >> -- >> Jane Aarthy Mariathas >> *Intern*,Software Engineering >> j...@wso2.com >> > > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*

Re: Install Stratos with Kubernetes on EC2

2015-06-02 Thread Sajith Kariyawasam
te: > >> Hi, >> >> me too got the same error which is solved by setting the env variable >> Imesh mentioned. >> > > > > -- > > *Pubudu Gunatilaka* > Software Engineer > WSO2, Inc.: http://wso2.com > lean.enterprise.middleware > mobile: +9

Re: Errors in Python agent live tests

2015-05-18 Thread Sajith Kariyawasam
pip install pycrypto >pip install gitpython >pip install yapsy > > On Fri, May 15, 2015 at 12:00 PM, Sajith Kariyawasam > wrote: > >> Hi Devs, >> >> I did a "mvn clean install -Plive" to run PCA live tests, but ende

Re: [Proposal] LVS load balancer support for Apache Stratos

2015-05-04 Thread Sajith Kariyawasam
, Sajith On Mon, May 4, 2015 at 11:02 AM, Chamila De Alwis wrote: > Hi Sajith, > > +1 for providing this support. AFAIU can't we use a Cartridge Agent plugin > to reconfigure the load balancers as well? > On May 4, 2015 9:38 AM, "Sajith Kariyawasam" wrote: > >>

[jira] [Created] (STRATOS-1363) LVS load balancer support for Apache Stratos

2015-05-03 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1363: --- Summary: LVS load balancer support for Apache Stratos Key: STRATOS-1363 URL: https://issues.apache.org/jira/browse/STRATOS-1363 Project: Stratos

[Proposal] LVS load balancer support for Apache Stratos

2015-05-03 Thread Sajith Kariyawasam
Hi Devs, I would like to propose LVS load balancer support for Stratos. In a normal working setup as mentioned in [1], two load balancers (each running ipvsadm and keepalived) are paired, one master and one slave. Keepalived is configured per pair using vrrp allows the automatic failover to let t

Re: Usage of Property/ Properties

2015-04-04 Thread Sajith Kariyawasam
Because Java Util properties are not supported in axis2 when used in webservice interfaces. On Sat, Apr 4, 2015 at 4:00 PM, Lahiru Sandaruwan wrote: > Hi devs, > > Anyone have an idea why we are using Property/Properties classes without > using Java Util Property/Properties classes. > > Thanks.

Re: Update Issue status on ASF JIRA

2015-03-12 Thread Sajith Kariyawasam
Would like to add one more thing, we are not really making an issue into "Closed" state. IMO best practice would be, when an issue is fixed and updated by someone, the reporter has to verify the fix, and if its not acceptable "re-open" it, if the fix is acceptable, close it. On Wed, Mar 11, 2015 a

Re: New committer and PMC member: Chamila De Alwis

2015-03-12 Thread Sajith Kariyawasam
Congratulations Chamila! On Wed, Mar 11, 2015 at 8:37 PM, Dinithi De Silva wrote: > Congratz Chamila. > > On Wed, Mar 11, 2015 at 8:26 PM, Vishanth Balasubramaniam < > vishan...@wso2.com> wrote: > >> Congrats Chamila!! :) >> >> On Wed, Mar 11, 2015 at 8:23 PM, Chamila De Alwis >> wrote: >>

Re: New committer and PMC member: Dakshika Jayathilaka

2015-03-12 Thread Sajith Kariyawasam
Congratulations Dakshika! On Wed, Mar 11, 2015 at 8:37 PM, Dinithi De Silva wrote: > Congratz Dakshika > > On Wed, Mar 11, 2015 at 8:26 PM, Vishanth Balasubramaniam < > vishan...@wso2.com> wrote: > >> Congrats Dakshika!! :) >> >> On Wed, Mar 11, 2015 at 8:24 PM, Chamila De Alwis >> wrote: >

Re: Deploying Samples - Single Cartridge app in Mock IaaS

2015-03-09 Thread Sajith Kariyawasam
You should be able to get more information from the backend logs. Could you please attach wso2carbon.log log file found in repository/logs location? On Mon, Mar 9, 2015 at 12:28 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi, > > I am getting following error when trying to do $sub

Re: Interesting app bursting pattern is implemented in one-after-another algorithm

2015-03-08 Thread Sajith Kariyawasam
Great! :) Couldn't we improve that by using '&' for AND and '|' for OR ? As I understood your implementation supports AND only, and is represented by '|'. Couldn't there be a requirement , say, 2nd app burst in either network-partition-4 *or* network-partition-5 ? On Mon, Mar 9, 2015 at 12:11 PM

Re: Python Cartridge setup using puppet

2015-03-06 Thread Sajith Kariyawasam
@Chamila, could you please verify, with python agent in place, we now maintain two separate puppet modules, "agent" for Java agent, and "python_agent" for python agent..? On Fri, Mar 6, 2015 at 2:28 PM, Sajith Kariyawasam wrote: > template files should be in modules

Re: Python Cartridge setup using puppet

2015-03-06 Thread Sajith Kariyawasam
template files should be in modules/python_agent/templates location. Seems in init.pp, when invoking push_template template_dir was set as "agent", but I think it should be corrected as "python_agent" On Fri, Mar 6, 2015 at 2:15 PM, Anuruddha Liyanarachchi wrote: > Hi, > > I am trying to setup

Re: [Discuss] Kubernetes VirtualBox Vagrant Setup Fixed

2015-02-22 Thread Sajith Kariyawasam
On Mon, Feb 23, 2015 at 12:27 PM, Rajkumar Rajaratnam wrote: > Hi Imesh, > > Docker commands are not working on my setup. Can you please try and let me > know whether docker commands are working on your setup? > Commands are not working in your master node or in your host machine? What are the

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Sajith Kariyawasam
I have already implemented persisting applicationId - applicationPolicy map, and getApplicationPolicy by application Id, in PolicyManager May be you can expose the same via AutoscalerServiceImpl On Wed, Feb 18, 2015 at 10:23 PM, Rajkumar Rajaratnam wrote: > > > On Wed, Feb 18, 2015 at 10:17 PM,

Re: 4.1 deployment policy questions

2015-02-17 Thread Sajith Kariyawasam
Hi Imesh, I have done following, * Update deployApplication operation in Autoscaler service to have application policy as an argument, instead of deployment policy. WSDLs , stubs and Rest API is also updated * Removed activeByDefault from NetworkPartitionBean and updating utility methods used for

CloudControllerServiceClient and CloudControllerClient

2015-02-17 Thread Sajith Kariyawasam
Hi devs, Seems we have maintained a web service client for Cloud Controller service in two different bundles (autoscaler bundle and in common bundle) I think, for consistency, better we maintain the client only in common bundle. Hence thought of moving the CloudControllerClient methods to CloudCo

Re: [Discuss] [Diagram] Stratos 4.1.0 Messaging Model

2015-02-15 Thread Sajith Kariyawasam
Hi Imesh, Great work, this is useful! Could you please explain a bit the difference between dashed and solid arrows, and the directions, ? As I understood solid arrow towards MB represent "publishes", and dashed arrow represents "subscribes". But why CC -> Instance Notifier topic is dashed? On S

Re: Member termination took 30 minutes

2015-02-11 Thread Sajith Kariyawasam
Thanks for the explanation Raj! Its more clear now On Thu, Feb 12, 2015 at 6:56 AM, Rajkumar Rajaratnam wrote: > Hi Sajith, > > Please find my comments inline. > > On Thu, Feb 12, 2015 at 1:06 AM, Sajith Kariyawasam > wrote: > >> Hi Devs, >> >> Whil

Member termination took 30 minutes

2015-02-11 Thread Sajith Kariyawasam
Hi Devs, While testing group scaling, I noticed when scaling down it takes 30 minutes from the moment scaling rule decides to terminate an instance. An active member, which was selected by the rule, first moves to a "termination pending member map", and after a certain period (terminationPendingM

Re: WSO2 Carbon initialization Failed | XML parsing error

2015-02-11 Thread Sajith Kariyawasam
See the error message, an xml element (EC2_PROVIDER_STARTiaasProvider) is not closed in cloud-controller.xml file *The element type "EC2_PROVIDER_STARTiaasProvider" must be terminated by the matching end-tag "* On Wed, Feb 11, 2015 at 4:20 PM, Chamila De Alwis wrote: > Hi Supun, > > As Udara

[jira] [Created] (STRATOS-1183) Member is not terminated when scaling down

2015-02-10 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1183: --- Summary: Member is not terminated when scaling down Key: STRATOS-1183 URL: https://issues.apache.org/jira/browse/STRATOS-1183 Project: Stratos

[jira] [Assigned] (STRATOS-1109) Autoscaler rule throws a NPE when dependency scaling sample is running.

2015-02-10 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam reassigned STRATOS-1109: --- Assignee: Sajith Kariyawasam > Autoscaler rule throws a NPE w

Re: [Discuss] Error Response JSON Message Construction

2015-02-08 Thread Sajith Kariyawasam
I have fixed this [1] now in commit 35a2c1d374b590ae5d9b1822533518ec87371364 [1] https://issues.apache.org/jira/browse/STRATOS-1181 On Fri, Feb 6, 2015 at 4:00 PM, Sajith Kariyawasam wrote: > Yes Gayan, > In the sample I have used, the errorMessage is the one which comes from > the

Re: Error log does not contains much information

2015-02-08 Thread Sajith Kariyawasam
I have fixed this in commit 35a2c1d374b590ae5d9b1822533518ec87371364. On Fri, Feb 6, 2015 at 4:19 PM, Sajith Kariyawasam wrote: > I did a remote debug and found that "faultMessage" contains the original > exception message sent from the backend. > So if we use &

[jira] [Commented] (STRATOS-1181) Add error response message body to API methods together with HTTP status codes (400, 409, etc)

2015-02-08 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311551#comment-14311551 ] Sajith Kariyawasam commented on STRATOS-1181: - Fixed in co

[jira] [Created] (STRATOS-1181) Add error response message body to API methods together with HTTP status codes (400, 409, etc)

2015-02-08 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1181: --- Summary: Add error response message body to API methods together with HTTP status codes (400, 409, etc) Key: STRATOS-1181 URL: https://issues.apache.org/jira/browse

Re: Error log does not contains much information

2015-02-06 Thread Sajith Kariyawasam
I did a remote debug and found that "faultMessage" contains the original exception message sent from the backend. So if we use "e.getFaultMessage().getCartridgeNotFoundException().getMessage()" it will display the proper error message. Thanks, Sajith On Fri, Feb 6, 2015 at 11:50 AM, Vishanth Bala

Re: [Discuss] Error Response JSON Message Construction

2015-02-06 Thread Sajith Kariyawasam
nformation" thread] Once that issue is sorted out, same error message will appear here On Fri, Feb 6, 2015 at 3:48 PM, Gayan Gunarathne wrote: > IMO we can add descriptive error message to the error as well. > > Thanks, > Gayan > > On Fri, Feb 6, 2015 at 3:32 PM, Sajith Kariyawas

Re: [Discuss] Error Response JSON Message Construction

2015-02-06 Thread Sajith Kariyawasam
ccess messages as wel. (Instead of > just saying success). > > Thanks, > > Regards, > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > On Thu, Feb 5, 2015 at 5:32 PM, Sajith Kariyawasam > wrote: > >> Hi Im

Re: [Discuss] Error Response JSON Message Construction

2015-02-05 Thread Sajith Kariyawasam
Hi Imesh, yes its better to fix this. I will do the fix Thanks, Sajith On Thu, Feb 5, 2015 at 4:57 PM, Imesh Gunaratne wrote: > Hi Devs, > > Currently we have error response JSON message construction logic in > following class: > > > https://github.com/apache/stratos/blob/master/components/o

Re: addCartridge operation checks for already deployed cartridges in two places

2015-01-31 Thread Sajith Kariyawasam
> On Sat, Jan 31, 2015 at 5:52 PM, Sajith Kariyawasam > wrote: > >> Hi Devs, >> >> I noted that in addCartridge operation, existing cartridge check is done >> twice. >> >> In StratosApiV41 --> CartridgeBean cartridgeBean = &

addCartridge operation checks for already deployed cartridges in two places

2015-01-31 Thread Sajith Kariyawasam
Hi Devs, I noted that in addCartridge operation, existing cartridge check is done twice. In StratosApiV41 --> CartridgeBean cartridgeBean = StratosApiV41Utils.getCartridgeForValidate(cartridgeType); Also in CloudcontrollerServiceImpl --> cloudControllerContext.getCartridge(cartridgeType) I thi

Re: Could not start mock instance

2015-01-28 Thread Sajith Kariyawasam
ocess(InstanceStatusMemberStartedMessageProcessor.java:50) On Wed, Jan 28, 2015 at 3:33 PM, Sajith Kariyawasam wrote: > Hi all, > > I'm getting an exception , > > [2015-01-28 12:43:55,821] INFO > {org.apache.stratos.messaging.message.processor.topology.MemberCreatedMessageProcessor} > - Member

Could not start mock instance

2015-01-28 Thread Sajith Kariyawasam
Thanks, Sajith -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575*

Re: deploy.sh: pushd: not found

2015-01-27 Thread Sajith Kariyawasam
or else, we should mention in the docs / READE, to execute the samples as follows.. wdyt ? /bin/bash deploy.sh [I was running the script with (./deploy.sh)] On Wed, Jan 28, 2015 at 11:44 AM, Sajith Kariyawasam wrote: > Hi Devs, > > I was trying to execute > >

deploy.sh: pushd: not found

2015-01-27 Thread Sajith Kariyawasam
fore deploy.sh script's header need to be updated to "#!/bin/bash". Also, it seems all the sample scripts have #!/bin/sh, which may not execute properly. Haven't anyone got this error yet? -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc.

Re: Clarification on Error - Failed to allocate an IP address

2015-01-23 Thread Sajith Kariyawasam
k you, >> Vishanth >> >> -- >> *Vishanth Balasubramaniam* >> Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: *+94771737718* >> about me: *http://about.me/vishanth <http://about.me/vishanth>* >> >> > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575*

Re: Build failed in Jenkins: Stratos-Master-Nightly-Build #381

2015-01-15 Thread Sajith Kariyawasam
relative to Stratos-Master-Nightly-Build » Apache >> Stratos - CLI #283 >> Archived 2 artifacts >> Archive block size is 32768 >> Received 0 blocks and 171901 bytes >> Compression is 0.0% >> Took 0.45 sec >> [JENKINS] Archiving < >> https://builds.apac

Re: Build failed in Jenkins: Stratos-Master-Nightly-Build #381

2015-01-15 Thread Sajith Kariyawasam
he > Stratos - Cloud Controller Feature Aggregator Module #283 > Archived 1 artifacts > Archive block size is 32768 > Received 0 blocks and 1756 bytes > Compression is 0.0% > Took 80 ms > [JENKINS] Archiving < > https://builds.apache.org/job/Stratos-Master-Nightly-Build/ws/features/manager/gapp/pom.xml> > to > org.apache.stratos/gapp-feature/4.1.0-SNAPSHOT/gapp-feature-4.1.0-SNAPSHOT.pom > Sending artifact delta relative to Stratos-Master-Nightly-Build » Apache > Stratos - GApp Feature Aggregator Module #283 > Archived 1 artifacts > Archive block size is 32768 > Received 0 blocks and 1836 bytes > Compression is 0.0% > Took 74 ms > [JENKINS] Archiving < > https://builds.apache.org/job/Stratos-Master-Nightly-Build/ws/service-stubs/org.apache.stratos.account.mgt.stub/pom.xml> > to > org.apache.stratos/org.apache.stratos.account.mgt.stub/4.1.0-SNAPSHOT/org.apache.stratos.account.mgt.stub-4.1.0-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/Stratos-Master-Nightly-Build/ws/service-stubs/org.apache.stratos.account.mgt.stub/target/org.apache.stratos.account.mgt.stub-4.1.0-SNAPSHOT.jar> > to > org.apache.stratos/org.apache.stratos.account.mgt.stub/4.1.0-SNAPSHOT/org.apache.stratos.account.mgt.stub-4.1.0-SNAPSHOT.jar > Sending artifact delta relative to Stratos-Master-Nightly-Build » Apache > Stratos - Account Management Stub #380 > Archived 2 artifacts > Archive block size is 32768 > Received 0 blocks and 496940 bytes > Compression is 0.0% > Took 0.27 sec > Sending e-mails to: dev@stratos.apache.org > channel stopped > Invalid address: mep...@cisco..com > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* <http://wso2.com/>* > > > * <http://wso2.com/>* > > > -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575*

[jira] [Resolved] (STRATOS-1070) Cartridges outside of groups in complex application structure, is not getting started

2015-01-15 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1070. - Resolution: Fixed This works for startup order group.group8,cartridge.tomcat

[jira] [Resolved] (STRATOS-1021) Handle "properties" in json definitions (application json, group json etc..) from UI

2015-01-15 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1021. - Resolution: Fixed This is supported now > Handle "properties&

[jira] [Resolved] (STRATOS-1035) Application Editor for Console

2015-01-15 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1035. - Resolution: Fixed Assignee: Dakshika Jayathilaka This PR has been merged

[jira] [Resolved] (STRATOS-995) Application topology return JSON issue

2015-01-15 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-995. Resolution: Fixed Assignee: Dakshika Jayathilaka Marking as fixed as per

[jira] [Resolved] (STRATOS-965) Application can not be undeployed when moniter creation is failed

2015-01-15 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-965. Resolution: Fixed Updating as fixed as per Isuru's above comment > App

[jira] [Created] (STRATOS-1070) Cartridges outside of groups in complex application structure, is not getting started

2015-01-14 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1070: --- Summary: Cartridges outside of groups in complex application structure, is not getting started Key: STRATOS-1070 URL: https://issues.apache.org/jira/browse/STRATOS

Re: Issue in spawning instances in a complex application

2015-01-13 Thread Sajith Kariyawasam
; >> Hi Sajith, >> >> Yeah. AFAIR this also will be resolved with fixes for STRATOS-1066. >> Please check this again with the latest code-base. >> >> Thanks, >> Gayan >> >> On Tue, Jan 13, 2015 at 9:28 PM, Sajith Kariyawasam >> wrote: &g

Re: Issue in spawning instances in a complex application

2015-01-13 Thread Sajith Kariyawasam
Seems Gayan has found the cause, and have fixed it. I will take an update and test.. On Tue, Jan 13, 2015 at 7:19 PM, Imesh Gunaratne wrote: > Thanks for reporting this Sajith! Will try to resolve this. > > Thanks > > On Tue, Jan 13, 2015 at 6:25 PM, Sajith Kariyawasam >

Issue in spawning instances in a complex application

2015-01-13 Thread Sajith Kariyawasam
Hi all, Tried artifacts in [1], and seems there is an issue that cartridges outside of the group are not starting up. Looking into it now [1] https://github.com/apache/stratos/tree/master/samples/complex-app/openstack/artifacts Thanks, Sajith -- *Sajith Kariyawasam* *Committer and PMC

[jira] [Created] (STRATOS-1067) Clean up cartridge agent code

2015-01-13 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1067: --- Summary: Clean up cartridge agent code Key: STRATOS-1067 URL: https://issues.apache.org/jira/browse/STRATOS-1067 Project: Stratos Issue Type

[jira] [Resolved] (STRATOS-1067) Clean up cartridge agent code

2015-01-13 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-1067. - Resolution: Fixed Fixed in commit 02346effc6962e8a7c301661231ed86e25599299

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-06 Thread Sajith Kariyawasam
I tested the basic flow in Openstack, and it worked fine. I used a single cartridge (tomcat) and got the member activated event. Were able to access tomcat home page. Now I'm in the process of testing more complex scenarios Thanks, Sajith On Tue, Jan 6, 2015 at 1:21 PM, Sajith Kariyawasam

Re: Error while configuring

2015-01-06 Thread Sajith Kariyawasam
gt;>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>> at >>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Sajith Kariyawasam
this in one place ? > > Thanks ! > > On Tue, Jan 6, 2015 at 11:40 AM, Sajith Kariyawasam > wrote: > >> Found an issue while testing in Openstack, DEPLOYMENT payload parameter >> is set twice, as follows.. >> >> >> APPLICATION_ID=single-cartridge-app,GROUP_NA

  1   2   3   >