Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Imesh Gunaratne
Isuru is working on a major refactoring task ("[Grouping] Branch may be Unstable ATM"). Will hold this effort until that is completed. On Sun, Nov 2, 2014 at 12:19 AM, Lahiru Sandaruwan wrote: > I have tested grouping feature in EC2 up to instance are spawning. Will be > testing further. > > Tha

Re: [grouping] [question] stratos error during startup

2014-11-01 Thread Imesh Gunaratne
Glad to hear that Martin, if you are looking for a script to install Stratos as an init.d service you could use this: https://gist.github.com/imesh/5256272cd71b74a06581 We will include this in the next release. Thanks On Sun, Nov 2, 2014 at 5:07 AM, Martin Eppel (meppel) wrote: > I think you

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

2014-11-01 Thread Imesh Gunaratne
Yes seems like it is, this is happening from few weeks now. We need to dig in to it and see why this is happening. On Sat, Nov 1, 2014 at 8:19 AM, Lahiru Sandaruwan wrote: > Is this an issue in Apache Jenkins Server? > > On Sat, Nov 1, 2014 at 8:06 AM, Apache Jenkins Server < > jenk...@builds.ap

RE: [grouping] [question] stratos error during startup

2014-11-01 Thread Martin Eppel (meppel)
I think you guys are right, It seems I was able to isolate the issue and it appears to be related to the crm which we use to start, stop and monitor processes. Removing the activemq and stratos from the crm config and instead invoke it simply through a shell script as part of the octl startup p

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Lahiru Sandaruwan
I have tested grouping feature in EC2 up to instance are spawning. Will be testing further. Thanks. On Sat, Nov 1, 2014 at 9:57 PM, Rajkumar Rajaratnam wrote: > Hi, > > When and where are we creating and adding cluster monitors (not app > monitors) to the AutoscalerContext? > I couldn't find an

[Grouping] Branch may be Unstable ATM

2014-11-01 Thread Isuru Haththotuwa
Hi Devs, Please note that due to considerable amount of refactoring going on, the branch 4.0.0-grouping might be unstable at the moment. Working on testing and fixing issues found to make it stable. -- Thanks and Regards, Isuru H. +94 716 358 048* *

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Rajkumar Rajaratnam
Hi, When and where are we creating and adding cluster monitors (not app monitors) to the AutoscalerContext? I couldn't find any places. Thanks. On Sat, Nov 1, 2014 at 9:37 PM, Lahiru Sandaruwan wrote: > > > On Sat, Nov 1, 2014 at 8:21 PM, Lahiru Sandaruwan > wrote: > >> I get a NPE while tryi

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Lahiru Sandaruwan
On Sat, Nov 1, 2014 at 8:21 PM, Lahiru Sandaruwan wrote: > I get a NPE while trying to deploy the app definition without properties, > looking into it. > > I have added a null check. Will commit the fix. > [2014-11-01 20:17:18,922] ERROR > {org.apache.stratos.rest.endpoint.handlers.CustomThrowab

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Rajkumar Rajaratnam
Hi all, Found that we were using old code in AutoscalerTopologyEventReceiver. We introduced a monitor hierarchy, and we are letting cluster monitors to decide and act upon receiving events. That's why we introduced handle*Event(Event) methods in AbstractClusterMonitor. When receiving events, we

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Lahiru Sandaruwan
I get a NPE while trying to deploy the app definition without properties, looking into it. [2014-11-01 20:17:18,922] ERROR {org.apache.stratos.rest.endpoint.handlers.CustomThrowableExceptionMapper} - Internal server error java.lang.NullPointerException at org.apache.stratos.rest.endpoint.servic

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Imesh Gunaratne
Can a service cluster(say php cluster) span across two partitions(in other words two kub cluster)? I guess kubernetes can manage their containers within a kub cluster, not between kub clusters? For example, if we say we need 3 replicas, it can ensure there are 3 replicas in one kub cluster. It can'

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Imesh Gunaratne
I have now fixed few more issues: - Removing subscription resource from REST API and CLI. - Adding isKubernetesCluster property to ApplicationClusterContext. - Passing properties from Application definition to the cluster objects. This is needed for Kubernetes. - Packaging drools files in stratos d

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Lakmal Warusawithana
On Sat, Nov 1, 2014 at 2:20 PM, Rajkumar Rajaratnam wrote: > Hi, > > On Sat, Nov 1, 2014 at 11:34 AM, Lakmal Warusawithana > wrote: > >> >> >> On Sat, Nov 1, 2014 at 11:32 AM, Lakmal Warusawithana >> wrote: >> >>> >>> >>> On Sat, Nov 1, 2014 at 11:10 AM, Imesh Gunaratne >>> wrote: >>> I'm

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Rajkumar Rajaratnam
Hi, On Sat, Nov 1, 2014 at 11:34 AM, Lakmal Warusawithana wrote: > > > On Sat, Nov 1, 2014 at 11:32 AM, Lakmal Warusawithana > wrote: > >> >> >> On Sat, Nov 1, 2014 at 11:10 AM, Imesh Gunaratne >> wrote: >> >>> I'm testing the Kubernetes work flow with service grouping functionality >>> now. >

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 > > > Project: http://git-wip-us.apache.org/

[jira] [Created] (STRATOS-936) Defining Deployment Policies for Kubernetes/Docker Clusters

2014-11-01 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-936: --- Summary: Defining Deployment Policies for Kubernetes/Docker Clusters Key: STRATOS-936 URL: https://issues.apache.org/jira/browse/STRATOS-936 Project: Stratos

Re: [Important] Merging Grouping Changes to Master Branch

2014-11-01 Thread Imesh Gunaratne
A great thought Lakmal! Yes definitely! I was also thinking enabling the ability to autoscale Kubernetes clusters. We can take this as the first step towards that. First we can introduce this feature to define deployment policies for Kubernetes and then at a later stage we can add the ability to a