Re: [Vote] Release Apache Stratos 4.1.6-RC1

2016-08-09 Thread Akila Ravihansa Perera
.org/confluence/display/STRATOS/Release+ >> Verification+Guide >> >> >> [ ] +1 >> [ ] 0 >> [ ] -1 (explain why) >> >> >> Thanks >> >> -- >> Imesh Gunaratne >> >> Software Architect, WSO2 >> Committer & PMC Member, Apache Stratos >> > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Apache Stratos not works as expected

2016-07-20 Thread Akila Ravihansa Perera
t;> request.session['stratosPass']), verify=False) >> >> Where apacheStratosAPI, applications, deploy are constants to use in >> other calls. >> >> So, why I can do it via web console and nor with the API REST calls? >> >> Regards. >> > > > > -- > Imesh Gunaratne > > Software Architect, WSO2 > Committer & PMC Member, Apache Stratos > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: [Dev] Shall we release latest bug fixes?

2016-07-10 Thread Akila Ravihansa Perera
Hi Imesh, Shall we first cherry-pick only bug fixes made to master branch and port them to stratos-4.1.x? Then we can move everything from stratos-4.1.x to master. I'll commit recent fixes made to master branch to stratos-4.1.x as well. Thanks. On Sun, Jul 10, 2016 at 10:58 AM, Imesh Gunaratne

Re: Stratos master branch is unstable

2016-06-17 Thread Akila Ravihansa Perera
s. On Fri, Jun 17, 2016 at 10:56 AM, Isuru Haththotuwa wrote: > Hi Akila, > > On Thu, Jun 16, 2016 at 9:31 PM, Akila Ravihansa Perera < > raviha...@apache.org> wrote: > >> Hi, >> >> It seems integration tests have not been running due to a change made in

Stratos master branch is unstable

2016-06-16 Thread Akila Ravihansa Perera
Hi, It seems integration tests have not been running due to a change made in [1] since 2015 Dec 8. Only tests under "policies" group have been running since then. When I enabled all integration test (by removing group inclusion in [1]), 11 test cases failed due to following error, which is already

Re: [Proposal] Stratos 5.0 - Ignite Architecture

2016-04-16 Thread Akila Ravihansa Perera
Hi, While doing some online research on Multi-PaaS deployments, I found this white paper [1], "PaaSHopper: Policy-driven middleware for multi-PaaS environments", which proposes exactly what we are trying to do here. According to the paper, following are the challenges faced by users when deployin

Re: Re. K8s pod starting timeout

2016-03-13 Thread Akila Ravihansa Perera
is too short to cause the K8s application initialization failure. > > Is there anyway to adjust pod stating timeout? > > Thanks > -D > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Re. Edit/Reset Password

2016-03-12 Thread Akila Ravihansa Perera
rote: >> >>> Hi David, >>> >>> You can try - >>> https://docs.wso2.com/display/BAM250/Changing+the+Password+of+the+Admin+User >>> >>> Thank you! >>> >>> On Fri, Mar 11, 2016 at 6:42 AM, David Hbase >>> wrote: >

Re: [Discuss] Python Agent Improvments

2015-12-11 Thread Akila Ravihansa Perera
/mqtt-client-library-paho-python > [2] - https://github.com/agronholm/pythonfutures/ > [3] - https://eclipse.org/paho/clients/python/ > [4] - > https://qpid.apache.org/releases/qpid-proton-0.11.0/proton/python/book/tutorial.html > [5] - http://kafka.apache.org/documentation.html#gettingStarted > [6] - https://www.dulwich.io/ > [7] - > https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch/fluentd-es-image > [8] - https://hg.python.org/peps/rev/76d43e52d978 > > Regards, > Chamila de Alwis > Committer and PMC Member - Apache Stratos > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

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

2015-12-10 Thread Akila Ravihansa Perera
/STRATOS/Release+Verification+Guide >>>> >>>> >>>> [ ] +1 >>>> [ ] 0 >>>> [ ] -1 (explain why) >>>> >>>> Thanks, >>>> The Apache Stratos team >>>> >>>> -- >>>> >>>

Re: Cleaning up User Artifacts at Signup Removal

2015-12-09 Thread Akila Ravihansa Perera
Thu, Dec 10, 2015 at 9:37 AM, Akila Ravihansa Perera < > raviha...@wso2.com > > wrote: > >> >> >> On Wed, Dec 9, 2015 at 10:58 PM, Rajkumar Rajaratnam >> wrote: >> >>> Hi Isuru, >>> >>> We have rebased stratos-4.1.x branch int

Cleaning up User Artifacts at Signup Removal

2015-12-09 Thread Akila Ravihansa Perera
PM, Isuru Haththotuwa >> > wrote: >>> >>>> Sent a PR [1] with the fix. >>>> >>>> [1]. https://github.com/apache/stratos/pull/498/ >>>> >>>> On Sun, Nov 29, 2015 at 9:18 PM, Isuru Haththotuwa >>> > wrote:

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-07 Thread Akila Ravihansa Perera
ember 2015, Sajith Kariyawasam wrote: > > > On Mon, Dec 7, 2015 at 4:09 PM, Akila Ravihansa Perera > wrote: > >> Hi, >> >> I've fixed the warning message with commit [1]. The root cause is CC will >> throw an exception if the member instance id is nul

Validate member status when undeploying an appication

2015-12-07 Thread Akila Ravihansa Perera
ub.com/ravihansa3000/stratos/blob/99e4dcfe834af129dc7f9b2c8334f71f13d55636/components/org.apache.stratos.rest.endpoint/src/test/java/org/apache/stratos/rest/endpoint/test/UndeployApplicationTest.java Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: [Vote] Release Apache Stratos 4.1.5-RC3

2015-12-07 Thread Akila Ravihansa Perera
Hi all, Let's not use the mock iaas to test anything for a release. IMO, it doesn't add any value since whatever you try to test with mock iaas is already covered extensively in integration tests. And no-one is going to use mock-iaas in a real production system. We really need a live test suite f

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-07 Thread Akila Ravihansa Perera
ou able to reproduce this? I was trying with mock iaas, but > I didn't encounter this error > > On Sun, Dec 6, 2015 at 9:02 PM, Gayan Gunarathne wrote: > >> >> >> On Sun, Dec 6, 2015 at 10:47 AM, Isuru Haththotuwa >> wrote: >> >>> Hi Akila,

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-05 Thread Akila Ravihansa Perera
g.Thread.run(Thread.java:745) >>> [2015-12-06 00:29:51,356] INFO >>> {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} >>> - [ClusterTerminatedEvent] Received: class >>> org.apache.stratos.messaging.event.topology.Clust

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-05 Thread Akila Ravihansa Perera
-ec2-1 On Sun, Dec 6, 2015 at 12:20 AM, Akila Ravihansa Perera wrote: > We have few issues in Docker scripts. There are some SNAPSHOT references > [1, 2] which breaks Docker images. > > [1] > https://github.com/apache/stratos/blob/4.1.5-rc2/tools/docker-images/cartridge-docker-im

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-05 Thread Akila Ravihansa Perera
-images/cartridge-docker-images/base-image/files/run#L29 On Sat, Dec 5, 2015 at 8:02 PM, Gayan Gunarathne wrote: > Modify it as 4.1.5-rc2 > > Thanks, > Gayan > > > On Sat, Dec 5, 2015 at 12:04 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >>

Re: [Discuss] Release Apache Stratos 4.1.5-RC2

2015-12-04 Thread Akila Ravihansa Perera
PMC Member, Apache Stratos >> email : gay...@wso2.com >> | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Stratos creating thread pools per application?

2015-12-02 Thread Akila Ravihansa Perera
2015 at 12:15 PM, Imesh Gunaratne > wrote: > >> Hi Akila, >> >> On Sat, Nov 21, 2015 at 1:20 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> >>> Any idea why thread pools are created per monitor object? Is it not >

Re: Jenkins build became unstable: Stratos-41x-Nightly-Build #64

2015-12-02 Thread Akila Ravihansa Perera
jenk...@builds.apache.org >> > wrote: >> >>> See <https://builds.apache.org/job/Stratos-41x-Nightly-Build/64/changes> >>> >>> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: File handle leak in Thrift

2015-12-01 Thread Akila Ravihansa Perera
Hi Shaheed, Let me clarify few things here, even though you might be already aware. - Maven dependency versions that you specify in your component's pom.xml for external dependencies should match the dependency that is actually bundled into the distribution via p2 feature management. - You need

Re: Jenkins build is still unstable: Stratos-41x-Commit-Build » Apache Stratos - Integration Tests #195

2015-12-01 Thread Akila Ravihansa Perera
t; >> >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://wso2.com) >> Committer & PMC Member, Apache Stratos >> email : gay...@wso2.com | mobile : +94 775030545 >> >> -- >> <%2B94%20766819985> >> <%2B94%20766819985> >> Thanks and Regards, >> >> Isuru H. >> <%2B94%20766819985> >> +94 716 358 048 <%2B94%20766819985>* <http://wso2.com/>* >> >> >> * <http://wso2.com/>* >> >> >> -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: DataBridge continuously print info message in Integration test

2015-12-01 Thread Akila Ravihansa Perera
anks, > Gayan > > -- > > 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

Re: PCA Not Sending Complete Topology Request

2015-11-30 Thread Akila Ravihansa Perera
nsionExecutor] > 2015-11-30 16:33:55,422:INFO:Starting Stratos cartridge agent... > 2015-11-30 16:33:55,422:INFO:Starting Cartridge Agent... > 2015-11-30 16:33:55,437:INFO:Cartridge agent topology receiver thread > started > > > > -- > Thanks and Regards, > > Isuru

Re: Stratos jclouds dependencies

2015-11-30 Thread Akila Ravihansa Perera
> 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

Re: Two different naming conventions for CEP 300 and CEP 301

2015-11-30 Thread Akila Ravihansa Perera
.@wso2.com> wrote: >> >>> Fixed it with commit [1]. >>> >>> [1]. >>> https://github.com/Thanu/stratos/commit/c5df03d3e6a8bab930518f69baa62aae88a5bcbe >>> >> >> Great. Could you please send a PR for this? >> >> Thanks, >

Re: Two different naming conventions for CEP 300 and CEP 301

2015-11-29 Thread Akila Ravihansa Perera
om | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > > 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

Re: Integration test for server restart scenario

2015-11-29 Thread Akila Ravihansa Perera
https://issues.apache.org/jira/browse/STRATOS-1627 > > Thanks, > Raj. > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Refactoring Mock IaaS, Metadata API, Messaging Processor Chain, Integration Utils

2015-11-29 Thread Akila Ravihansa Perera
rg/jira/browse/STRATOS-1633 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: [Discuss] Release Apache Stratos 4.1.5

2015-11-29 Thread Akila Ravihansa Perera
Hi Thanuja, Could you create a JIRA for this? I don't think this is a blocking issue for the release. Thanks.

Re: [Discuss] Release Apache Stratos 4.1.5

2015-11-28 Thread Akila Ravihansa Perera
ratos >>> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >>> >>> >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Senior Technical Lead, WSO2 >> Committer & PMC Member, Apache Stratos >> > > > > -- > Thanuja Uruththirakodeeswaran > Software Engineer > WSO2 Inc.;http://wso2.com > lean.enterprise.middleware > > mobile: +94 774363167 > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: INSTALL ERROR

2015-11-27 Thread Akila Ravihansa Perera
;>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I just downloaded stratos and tried starting it on my Macbook Pro >>>>>>>> running El Capitan and I get this error: >>>>>>>> >>>>>>>> Delveris-MacBook-Pro:bin osiris$ ./stratos.sh start >>>>>>>> Error: JAVA_HOME is not defined correctly. >>>>>>>> CARBON cannot execute >>>>>>>> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java >>>>>>>> >>>>>>>> How Can I fix this please. >>>>>>>> >>>>>>>> Best Regards, >>>>>>>> Delveri. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Pubudu Gunatilaka* >>>>>>> Committer and PMC Member - Apache Stratos >>>>>>> Software Engineer >>>>>>> WSO2, Inc.: http://wso2.com >>>>>>> mobile : +94774079049 <%2B94772207163> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Pubudu Gunatilaka* >>>>> Committer and PMC Member - Apache Stratos >>>>> Software Engineer >>>>> WSO2, Inc.: http://wso2.com >>>>> mobile : +94774079049 <%2B94772207163> >>>>> >>>>> >>>> >>> >>> >>> -- >>> *Pubudu Gunatilaka* >>> Committer and PMC Member - Apache Stratos >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> mobile : +94774079049 <%2B94772207163> >>> >>> >> > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774079049 <%2B94772207163> > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: POXSecurityHandler exception seen in Stratos

2015-11-27 Thread Akila Ravihansa Perera
Hi Michiel, What is the Stratos version in use (or last sync commit)? The suggested configuration you've mentioned is already present on stratos-4.1.x branch [1]. [1] https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/distribution/src/main/conf/axis2/axis2.xml#L577 Tha

Re: Cleaning up User Artifacts at Signup Removal

2015-11-26 Thread Akila Ravihansa Perera
i tenant > signup removal, without explicitly checking. IMHO that is the best way. > >> >> >>> -- >>> Thanks and Regards, >>> >>> Isuru H. >>> +94 716 358 048* <http://wso2.com/>* >>> >>> >>> >> >>

Re: Integration test timeout issue

2015-11-25 Thread Akila Ravihansa Perera
ributes:133 » > ThreadTimeout M... > > Thanks, > Gayan > > > > -- > > 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

Re: [IMPORTANT] Stratos 4.1.5 RC1 build in progress, Please hold your commits

2015-11-25 Thread Akila Ravihansa Perera
, Nov 20, 2015 at 5:25 PM, Gayan Gunarathne >> wrote: >> >>> +1. >>> >>> We will fix those issues and do the release. >>> >>> Thanks, >>> Gayan >>> >>> On Fri, Nov 20, 2015 at 5:23 PM, Akila Ravihansa Perera &

Re: It seems that I successfully start the Mock IaaS and upload the sample,but can not load the pages

2015-11-23 Thread Akila Ravihansa Perera
Hi Hank, Please note that Apache Stratos latest stable release is v4.1.4 [1]. Would you be able to check whether same issue exist in that version? [1] https://dist.apache.org/repos/dist/release/stratos/4.1.4/ Thanks.

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

2015-11-22 Thread Akila Ravihansa Perera
I will check why > GroupTerminationBehaviorTestCase & PartitionOneAfterAnotherClusterTestCase > are failing. > > Thanks, > Raj. > > On Sun, Nov 22, 2015 at 1:57 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi Raj, >> >> These test cases were excluded b

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

2015-11-22 Thread Akila Ravihansa Perera
Case > PartitionOneAfterAnotherClusterTestCase > > Any reason to do this? > > Thanks, > Raj. > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

2015-11-21 Thread Akila Ravihansa Perera
;>> > >>>> >>>> >>> >>> >>> -- >>> >>> Gayan Gunarathne >>> Technical Lead, WSO2 Inc. (http://wso2.com) >>> Committer & PMC Member, Apache Stratos >>> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >>> >>> >>> >> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Integration Test Failure in Branch 4.1.x

2015-11-21 Thread Akila Ravihansa Perera
Devs, Please make sure you cleanup all the artifacts after test cases are executed. Also make sure artifact names and IDs (auto-scaling policy id, app id, network-partition-id etc.) *contain the test class name*. Please do not copy paste from other test cases and leave as it is. This might cause c

Stratos creating thread pools per application?

2015-11-20 Thread Akila Ravihansa Perera
pache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java#L112 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

PCA live test failing: MessageBrokerHATestCase

2015-11-20 Thread Akila Ravihansa Perera
Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: [IMPORTANT] Stratos 4.1.5 RC1 build in progress, Please hold your commits

2015-11-20 Thread Akila Ravihansa Perera
s to the stratos-4.1.x >>> branch. >>> >>> Thanks, >>> Gayan >>> >>> -- >>> >>> Gayan Gunarathne >>> Technical Lead, WSO2 Inc. (http://wso2.com) >>> Committer & PMC Member, Apache Stratos >>> email

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

2015-11-19 Thread Akila Ravihansa Perera
nication issues as described here [1]. >> >> So are we sure that the above exception was not thrown while AS tried to >> validate the deployment policy with CC as part of cluster monitor creation? >> >> [1] https://issues.apache.org/jira/browse/AXIS2-4807 >> >> Tha

Re: Initialized or Suspended state members are not tracked by stratos on restart

2015-11-19 Thread Akila Ravihansa Perera
> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Refactoring pom files and fixing OSGi imports/exports

2015-11-18 Thread Akila Ravihansa Perera
Imesh Gunaratne wrote: > Great work Akila! > We might need to verify all the features after doing this modification. > Were you able to run any tests after doing this? > > Thanks > > On Tue, Nov 17, 2015 at 10:02 PM, Akila Ravihansa Perera < > raviha...@wso2.com > > w

Re: Code base for executing autoscaling actions

2015-11-18 Thread Akila Ravihansa Perera
't miss anything, would you mind pointing me to the code > base? > > Thanks. > > -- > Best Regards, > Fan > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

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

2015-11-18 Thread Akila Ravihansa Perera
Hi Raj, There is a component startup order which will make sure CC, AS and SM are ready before accepting any request from Stratos API. On Wed, Nov 18, 2015 at 12:52 PM, Rajkumar Rajaratnam >> wrote: >> >>> Hi Pubudu, >>> >>> In your case, the monitors are not started/scheduled after server >>> r

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

2015-11-17 Thread Akila Ravihansa Perera
rnetes and update the thread. >> >> On Wed, Nov 18, 2015 at 9:51 AM, Akila Ravihansa Perera < >> raviha...@wso2.com > >> wrote: >> >>> Can someone verify this please? I think this is a blocker for 4.1.5 >>> release if it is a bug. >>> >

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

2015-11-17 Thread Akila Ravihansa Perera
Can someone verify this please? I think this is a blocker for 4.1.5 release if it is a bug. On Wednesday, 18 November 2015, Akila Ravihansa Perera wrote: > Hi, > > I faced an issue where if I restart the Stratos server after successfully > deploying an app then try to undeploy the

Re: Stratos still trying to spawn members in wrong availability zone

2015-11-17 Thread Akila Ravihansa Perera
r [1], >>> we can get more information on what is the exact zone selected by Stratos >>> prior to starting the instance. >>> >>> [1]. org.apache.stratos.cloud.controller.util.CloudControllerUtil >>> >>> On Wed, Nov 18, 2015 at 12:46 AM, Aki

Stratos still trying to spawn members in wrong availability zone

2015-11-17 Thread Akila Ravihansa Perera
questId='0b183790-561b-4089-8414-87ff8251f8cb', requestToken='null', code='InvalidAMIID.NotFound', message='The image id '[ami-9232f5f1]' does not exist', context='{Response=, Errors=}'} at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java

Stratos fails to terminate an instance after a server restart

2015-11-17 Thread Akila Ravihansa Perera
91d51ca at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.terminateInstance(JcloudsIaas.java:307) at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:56) ... 3 more Has anyone faced this before? -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://rav

Re: Updates done to CC configuration does not get reflected in spinning new instances

2015-11-17 Thread Akila Ravihansa Perera
take place. Because two objects being equal will be the most common case, and this looks verbose. wdyt? Thanks. On Mon, Nov 16, 2015 at 11:51 AM, Isuru Haththotuwa wrote: > Hi Akila, > > On Mon, Nov 16, 2015 at 11:41 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > &

Refactoring pom files and fixing OSGi imports/exports

2015-11-17 Thread Akila Ravihansa Perera
aler/src/main/java/org/apache/stratos/autoscaler/internal/ASBundleActivater.java [11] https://github.com/apache/stratos/blob/4.1.4/dependencies/fabric8/kubernetes-api/pom.xml#L153 [12] https://issues.apache.org/jira/browse/STRATOS-1623 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Updates done to CC configuration does not get reflected in spinning new instances

2015-11-15 Thread Akila Ravihansa Perera
his will also resolve the issue; having to delete and recreate >> application, each time cartridge is updated. >> >> On Fri, Nov 13, 2015 at 4:44 PM, Isuru Haththotuwa >> wrote: >> >>> Hi Akila, >>> >>> On Fri, Nov 13, 2015 at 4:04 PM

Re: Updates done to CC configuration does not get reflected in spinning new instances

2015-11-13 Thread Akila Ravihansa Perera
from CC Results in instances Spinning in > Wrong Zones > > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* <http://wso2.com/>* > > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Where is stratos-config.xml?

2015-11-13 Thread Akila Ravihansa Perera
On Fri, Nov 13, 2015 at 3:54 PM, Rajkumar Rajaratnam wrote: > > What if we make them configurable via autoscaler.xml, stratos-manager.xml > and cloud-controller.xml respectively? Better to avoid creating new config > files. wdyt? > +1 Created a JIRA [1] to track this. [1] https://issues.apache.

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

2015-11-13 Thread Akila Ravihansa Perera
eption: Error while validating deployment policy >>>>> from cloud controller [network-partition-id] network-partition-1 >>>>> at >>>>> org.apache.stratos.autoscaler.monitor.MonitorFactory.getClusterMonitor(MonitorFactory.java:278) >>>>>

Re: Where is stratos-config.xml?

2015-11-13 Thread Akila Ravihansa Perera
777568639 >>> 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> >> >> >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: AutoscalerHealthStatEventReceiver is sleeping for 15s at startup?

2015-11-12 Thread Akila Ravihansa Perera
> > [1]. [Stratos 4.1.5] [Blocker] Monitors are not created on Stratos restart > > On Fri, Nov 13, 2015 at 10:47 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Any thoughts please? >> >> On Wed, Nov 11, 2015 at 11:26 PM, Akila Ravihansa Pere

Re: AutoscalerHealthStatEventReceiver is sleeping for 15s at startup?

2015-11-12 Thread Akila Ravihansa Perera
Any thoughts please? On Wed, Nov 11, 2015 at 11:26 PM, Akila Ravihansa Perera wrote: > Hi devs, > > I noticed $subject in [1]. Is there any reason for this? As per a comment > it is waiting for Autoscaler deployer to be activated. Anyone has an idea > what this is about? >

Re: [Stratos 4.1.5] [Blocker] Monitors are not created on Stratos restart

2015-11-12 Thread Akila Ravihansa Perera
til application contexts are loaded from > registry. > b) Complete topology request event should be not be sent until application > contexts are loaded from registry. > > Thanks, > Raj. > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: PCA live test is failing

2015-11-12 Thread Akila Ravihansa Perera
ee8b40f4da. >> > Good catch Pubudu! > >> >> Thank you! >> >> On Thu, Nov 12, 2015 at 12:24 AM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> Thanks Pubudu! >>> Yes, I think it's better to use >>>

Re: PCA live test is failing

2015-11-11 Thread Akila Ravihansa Perera
idge/agent/integration/tests/PythonAgentIntegrationTest.java#L130 > > Thank you! > > On Wed, Nov 11, 2015 at 7:05 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi, >> >> Looks like PCA live test case for CEPHAModeTestCase is failing. Noticed

AutoscalerHealthStatEventReceiver is sleeping for 15s at startup?

2015-11-11 Thread Akila Ravihansa Perera
properly. [1] https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java#L55 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http

PCA live test is failing

2015-11-11 Thread Akila Ravihansa Perera
/src/test/java/org/apache/stratos/python/cartridge/agent/integration/tests/CEPHAModeTestCase.java#L160 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: ComponentStartUpSynchronizer: CC and AS components are waiting for SM to be activated?

2015-11-11 Thread Akila Ravihansa Perera
ll be accessible to the endusers and it would not > return proper values until topology and application managers get > initialized in SM. > > Correct, this logic will not be needed anymore with the introduction of > the topology initialization improvement. > > Thanks > > On M

Re: Error while undeploying an app on Kubernetes

2015-11-11 Thread Akila Ravihansa Perera
I've fixed this and also added error logs if K8s cluster couldn't be removed. On Wed, Nov 11, 2015 at 3:25 PM, Gayan Gunarathne wrote: > > > On Wed, Nov 11, 2015 at 3:06 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi, >> >> I&#

Re: [Dev] Publishing Complete Topology event on Demand

2015-11-11 Thread Akila Ravihansa Perera
/jira/browse/STRATOS-1611 Thanks. On Tue, Nov 10, 2015 at 9:03 AM, Isuru Haththotuwa wrote: > > > On Tue, Nov 10, 2015 at 8:42 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi, >> >> I've updated Python agent to use this method to initia

Re: Error while undeploying an app on Kubernetes

2015-11-11 Thread Akila Ravihansa Perera
ix this. > > Thanks > > On Mon, Nov 9, 2015 at 9:10 AM, Akila Ravihansa Perera > wrote: > >> Hi Pubudu, >> >> Yes, I used the undeploy script. But it shouldn't cause this error right? >> Stratos should handle if the artifacts are in use. Even Strato

Re: [Dev] Publishing Complete Topology event on Demand

2015-11-09 Thread Akila Ravihansa Perera
t I would like to >> suggest to push this to the next major release. >> >> Thanks >> >> On Sun, Nov 8, 2015 at 10:35 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> Hi all, >>> >>> I took the liberty of impleme

Re: Error while undeploying an app on Kubernetes

2015-11-09 Thread Akila Ravihansa Perera
> the artifacts and it can cause these issues. > > Thank you! > > On Sun, Nov 8, 2015 at 9:26 PM, Akila Ravihansa Perera > wrote: > >> Hi Gayan, >> >> Yes, the application that I tried has a cartridge group. >> >> Thanks. >> >> On Sun,

Re: ComponentStartUpSynchronizer: CC and AS components are waiting for SM to be activated?

2015-11-09 Thread Akila Ravihansa Perera
Otherwise we are > schedule Event Synchronizers directly. > IMHO we can directly schedule the event synchronizers without waiting for > the SM. > > Thanks, > Gayan > -- > > On Sun, Nov 8, 2015 at 11:13 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wr

Re: NPE after Re-Deploying the Cartridges

2015-11-08 Thread Akila Ravihansa Perera
ewInstance(Constructor.java:526) >at java.lang.Class.newInstance(Class.java:379) >at > > org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.validateDeploymentPolicyNetworkPartition(CloudControllerServiceStub.java:3091) >at > > org.apache.stratos.common.client.CloudControllerServiceClient.validateNetworkPartitionOfDeploymentPolicy(CloudControllerServiceClient.java:193) >at > > org.apache.stratos.autoscaler.monitor.MonitorFactory.getClusterMonitor(MonitorFactory.java:270) >... 7 more > > [2]. org.apache.stratos.cloud.controller.domain.IaaSProvider > > [3]. > org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil > > [4]. https://issues.apache.org/jira/browse/STRATOS-1603 > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* <http://wso2.com/>* > > > * <http://wso2.com/>* > > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: [Dev] Publishing Complete Topology event on Demand

2015-11-08 Thread Akila Ravihansa Perera
t;>> >>> >>> >>> >>> -- >>> Reka Thirunavukkarasu >>> Senior Software Engineer, >>> WSO2, Inc.:http://wso2.com, >>> Mobile: +94776442007 >>> >>> >>> >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > > *Pubudu Gunatilaka* > Software Engineer > WSO2, Inc.: http://wso2.com > lean.enterprise.middleware > mobile: +94 77 4078049 > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

ComponentStartUpSynchronizer: CC and AS components are waiting for SM to be activated?

2015-11-08 Thread Akila Ravihansa Perera
/stratos/cloud/controller/internal/CloudControllerServiceComponent.java#L179 [2] https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServiceComponent.java#L233 Thanks. -- Akila Ravihansa Per

Re: Integration tests for metadata service

2015-11-08 Thread Akila Ravihansa Perera
8, 2015 at 9:25 PM, Gayan Gunarathne wrote: > Great Stuff Akila. > > So we have separate test case for this? Did we put it to the main test > suit? > > Thanks, > Gayan > > On Sun, Nov 8, 2015 at 12:26 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: >

Re: Error while undeploying an app on Kubernetes

2015-11-08 Thread Akila Ravihansa Perera
s for the > given kubernetes ClusterId. > Is that happen when the application has a cartridge group? > > Thanks, > Gayan > > > On Sun, Nov 8, 2015 at 2:32 AM, Akila Ravihansa Perera > wrote: > >> Hi devs, >> >> I'm seeing the following error whe

Error while undeploying an app on Kubernetes

2015-11-07 Thread Akila Ravihansa Perera
as.java:139) at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:56) ... 3 more -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Integration tests for metadata service

2015-11-07 Thread Akila Ravihansa Perera
Friday, November 6, 2015, Akila Ravihansa Perera > wrote: > >> Adding missing link >> >> [1] https://issues.apache.org/jira/browse/STRATOS-1607 >> >> On Fri, Nov 6, 2015 at 9:58 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>&

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #125

2015-11-06 Thread Akila Ravihansa Perera
ne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Re: Integration tests for metadata service

2015-11-06 Thread Akila Ravihansa Perera
Adding missing link [1] https://issues.apache.org/jira/browse/STRATOS-1607 On Fri, Nov 6, 2015 at 9:58 PM, Akila Ravihansa Perera wrote: > Hi, > > I've written a set of test cases for Stratos metadata service API which > covers the following scenarios; > > >

Integration tests for metadata service

2015-11-06 Thread Akila Ravihansa Perera
hould not return properties for a particular app if it is accessed by passing another app's access token I've created a JIRA [1] to track this. It is already committed on stratos-4.1.x branch. This will ensure the stability of metadata API when doing future releases. Thanks. --

Re: Artifact update via GIT hook

2015-11-03 Thread Akila Ravihansa Perera
rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV40.java#L954 > > Thanks, > Gayan > > > > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com

Re: Failed to publish member fault event

2015-10-31 Thread Akila Ravihansa Perera
particular non > existent member in the Topology. > > Thanks, > Reka > > On Fri, Oct 30, 2015 at 12:27 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi, >> >> I'm seeing the following error message in Stratos after undeployi

Invalid partition detected when deploying an application

2015-10-29 Thread Akila Ravihansa Perera
-1595 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Failed to publish member fault event

2015-10-29 Thread Akila Ravihansa Perera
n CEP detects a faulty member, it should just ignore that and remove the record from memberTimestampMap. I've created a JIRA at [1] to track this. [1] https://issues.apache.org/jira/browse/STRATOS-1594 Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

Stratos does not select the correct partition in a multi partition deployment

2015-10-29 Thread Akila Ravihansa Perera
"type": "wso2brs-210-worker", "cartridgeMin": 2, "cartridgeMax": 2, "subscribableInfo": { "alias": "wso2brs-210-worker", "autoscalingPolicy": "autoscaling-policy-economy" } } ] } ] } } Now the problem is when I deploy the application, Stratos always spins instances in ap-southeast-1a (partition-1) zone. But according to the deployment policy it should select the partition in a round-robin fashion. Any idea why it behaves that way? It should at least spin 2 wso2brs-210-worker instances in partition-1 and partition-2. Am I correct to assume that? Thanks. -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com

[ANNOUNCE] Apache Stratos 4.1.4 released

2015-10-17 Thread Akila Ravihansa Perera
The Apache Stratos community is pleased to announce the availability of Apache Stratos 4.1.4. Apache Stratos is a PaaS framework that is designed to address the various challenges currently faced in the Cloud PaaS space. For developers, Stratos provides a cloud-based environment for developing, te

Re: [VOTE] Release Apache Stratos 4.1.4-RC2

2015-10-17 Thread Akila Ravihansa Perera
>>>>> stratos >>>>>load balancer, CLI & the python CLI >>>>> >>>>> Thanks >>>>> >>>>> On Sat, Oct 17, 2015 at 2:45 PM, Gayan Gunarathne >>>>> wrote: >>>>> >

Re: Build failed in Jenkins: Stratos-41x-Nightly-Build #25

2015-10-15 Thread Akila Ravihansa Perera
an you make the necessary changes? Thanks. On Tue, Oct 6, 2015 at 10:40 PM, Akila Ravihansa Perera wrote: > Hi, > > It seems Stratos nightly build on 4.1.x branch is constantly failing due > to a JVM crash. This happens while building the "Commons" component at > eve

[VOTE] Release Apache Stratos 4.1.4-RC2

2015-10-14 Thread Akila Ravihansa Perera
Hi All, This is the second release candidate of Apache Stratos 4.1.4. Please use the [Discuss] thread for anything but votes. This release fixes the following issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12333630&styleName=Html&projectId=12314521&Create=Create&atl_token=

[Discuss] Release Apache Stratos 4.1.4 RC2

2015-10-14 Thread Akila Ravihansa Perera
Hi All, This thread is for discussion of the second release candidate of Apache Stratos 4.1.4. Please use this thread for discussion of issues uncovered in the RC, questions you may have about the RC, etc. *RC release packs:* https://dist.apache.org/repos/dist/dev/stratos/4.1.4-rc2/ *Staging rep

Re: [VOTE] Release Apache Stratos 4.1.4-RC1

2015-10-14 Thread Akila Ravihansa Perera
Hi, It seems there has been an error made while doing the maven release perform. Release artifacts are not properly deployed to staging repo. I'll start another release vote after fixing this. Sorry for the inconvenience. Thanks. On Thu, Oct 15, 2015 at 2:07 AM, Akila Ravihansa Perera

[VOTE] Release Apache Stratos 4.1.4-RC1

2015-10-14 Thread Akila Ravihansa Perera
Hi All, This is the first release candidate of Apache Stratos 4.1.4. Please use the [Discuss] thread for anything but votes. This release fixes the following issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12333630&styleName=Html&projectId=12314521&Create=Create&atl_token=A

[Discuss] Release Apache Stratos 4.1.4 RC1

2015-10-14 Thread Akila Ravihansa Perera
Hi All, This thread is for discussion of the first release candidate of Apache Stratos 4.1.4. Please use this thread for discussion of issues uncovered in the RC, questions you may have about the RC, etc. *RC release packs:* https://dist.apache.org/repos/dist/dev/stratos/4.1.4-rc1/ *Staging repo

  1   2   3   4   5   >