[jira] [Created] (STRATOS-894) Stratos controller "about" link shows incorrect content page

2014-10-14 Thread Dakshika Jayathilaka (JIRA)
Dakshika Jayathilaka created STRATOS-894: Summary: Stratos controller "about" link shows incorrect content page Key: STRATOS-894 URL: https://issues.apache.org/jira/browse/STRATOS-894 Project:

Re: [Grouping][testing] Hierarchical Monitors with Composite Application

2014-10-14 Thread Reka Thirunavukkarasu
Hi Martin, On Wed, Oct 15, 2014 at 9:01 AM, Martin Eppel (meppel) wrote: > Hi Isuru, Reka > > > > I analyzed the application / group definition and this is what I would > expect for the startup sequence and status to happen: > > > > + First group.mygroup2 is being started up > > + to start up

Re: Manual scaling effects are not persisted

2014-10-14 Thread Rajkumar Rajaratnam
Or else, we can have an API at CC side to update clusters and let CC to publish ClusterUpdated event to topology topic. AS can simply listen to this event and update the cluster context accordingly. Then we don't need to introduce a new topic for AS to publish events and AS is already listening to

RE: [Question] Maintenance mode in stratos (now and future) ?

2014-10-14 Thread Martin Eppel (meppel)
Thanks ! From: Udara Liyanage [mailto:ud...@wso2.com] Sent: Tuesday, October 14, 2014 8:28 PM To: dev Cc: Lakmal Warusawithana Subject: Re: [Question] Maintenance mode in stratos (now and future) ? Hi, Please refer to the email thread "[DISCUSS] Patching exiting cartridge instances with updates

RE: [Grouping][testing] Hierarchical Monitors with Composite Application

2014-10-14 Thread Martin Eppel (meppel)
Hi Isuru, Reka I analyzed the application / group definition and this is what I would expect for the startup sequence and status to happen: + First group.mygroup2 is being started up + to start up group2 the system will check the group2 dependencies which requires to start up first group1 + t

Manual scaling effects are not persisted

2014-10-14 Thread Rajkumar Rajaratnam
Hi, As you know, we are now supporting manual scaling for docker containers. Autoscaler has an API to update cluster properties like min replicas of a particular cluster. void updateClusterMonitor(String clusterId, Properties properties) throws InvalidArgumentException; We are not persisting any

Re: [Question] Maintenance mode in stratos (now and future) ?

2014-10-14 Thread Udara Liyanage
Hi, Please refer to the email thread "[DISCUSS] Patching exiting cartridge instances with updates". I am copy pasting graceful shutdown section from Lakmal's blog post [1] since it is better described there. Gracefully Scale down When auto-scaler decided to scale down, it will notifier instance

RE: [Question] Maintenance mode in stratos (now and future) ?

2014-10-14 Thread Martin Eppel (meppel)
Hi Udara, By any chance do you have a reference to the email thread ? The other question is when an instance goes into maintenance mode, is it clean up (for graceful shutdown) or is there other specific “maintenance” processing done ? Thanks Martin From: Udara Liyanage [mailto:ud...@wso2.com

Re: [Question] Maintenance mode in stratos (now and future) ?

2014-10-14 Thread Udara Liyanage
Hi Martin, I think this is very similar to the patching model we discussed couple of months ago. It is not yet implemented. In graceful shutdown mode, an instance is sent to maintenance mode before it is terminated. However it is not the maintenance mode you are referring to. @Reka will be able

[Hangout] Stratos 4.1.0 - M2 Developer Preview

2014-10-14 Thread Rajkumar Rajaratnam
Hi All, Shall we have a hangout on M2 -Developer Preview on 16th of October (tomorrow) at 10.30AM IST ? I'll go through the steps we need to follow to try out M2; - Register Kubernetes CoreOS host group to stratos using CLI - Deploy docker based php cartridge using CLI - Subscription us

RE: [Grouping][testing] How to model nested dependencies ?

2014-10-14 Thread Martin Eppel (meppel)
Reka, I am still having trouble with the model. Actually, I was wondering if you could, for example based on the example you sent out previously (I attached the json) or some other suitable model describe which cartridge, group gets started up when (pretty much explain how the dependencies ar

[Question] Maintenance mode in stratos (now and future) ?

2014-10-14 Thread Martin Eppel (meppel)
Hi, Does stratos has a concept of a maintenance mode, for example, is there a way to put a cartridge instance or even the octl in a maintenance mode and what will a "user" be able to do in the maintenance mode ? An example of a maintenance mode would be that the cartridge would be not active (f

RE: [Grouping][testing] How to model nested dependencies ?

2014-10-14 Thread Martin Eppel (meppel)
Reka, I think the issue is I don’t understand what goes into the “component” and dependencies section of the application definition. My current understanding is that all groups in an application have to be listed in the “components” section – but it also seems to make them all to top level gro

Re: [Discuss] Hierarchical Locking for Topology

2014-10-14 Thread Isuru Haththotuwa
Thanks Gayan. One another thing I see is that in the TopologyEventMessageDelegator, we use a single thread to get messages from the queue and run them through the TopologyMessageProcessorChain. This again would limit the ability to to parallel updates to the Topology IMHO. To solve this, we can us

[jira] [Resolved] (STRATOS-893) Member initiated time is not persisted when shutting down stratos

2014-10-14 Thread Rajkumar Rajaratnam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajkumar Rajaratnam resolved STRATOS-893. - Resolution: Fixed Fixed in 27f2a6d3c9fde825eca2a13f553c6c774f9dc5f7 > Member ini

Re: [Hangout] Design and Code Review - Build and Publish docker images in Cartridge deployment

2014-10-14 Thread Manula Chathurika Thantriwatte
+1 On Tue, Oct 14, 2014 at 12:41 PM, Lasindu Charith wrote: > +1 > > On Tue, Oct 14, 2014 at 12:17 PM, Rajkumar Rajaratnam > wrote: > >> +1 >> >> On Tue, Oct 14, 2014 at 12:13 PM, Sajith Kariyawasam >> wrote: >> >>> Hi Devs, >>> >>> Shall we have $subject on Friday 17th October, at 10.30 AM GM

Re: [Hangout] Design and code review- Metadata client and revised metadata service for grouping.

2014-10-14 Thread Rajkumar Rajaratnam
+1 On Tue, Oct 14, 2014 at 7:46 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > +1 > > On Tue, Oct 14, 2014 at 7:42 PM, Udara Liyanage wrote: > >> >> Hi Devs, >> >> Shall we conduct $subject on Wednesday 15th October at 8PM IST. >> >> In the review I will discuss about .revised m

Re: [Hangout] Design and code review- Metadata client and revised metadata service for grouping.

2014-10-14 Thread Manula Chathurika Thantriwatte
+1 On Tue, Oct 14, 2014 at 7:42 PM, Udara Liyanage wrote: > > Hi Devs, > > Shall we conduct $subject on Wednesday 15th October at 8PM IST. > > In the review I will discuss about .revised metadata service and metadata > client. Further I will describe how metadata can be used for composite > appl

[jira] [Updated] (STRATOS-866) Integrate CEP 3.1.0 to Stratos

2014-10-14 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manula Chathurika Thantriwatte updated STRATOS-866: --- Fix Version/s: FUTURE > Integrate CEP 3.1.0 to Stratos > ---

[Hangout] Design and code review- Metadata client and revised metadata service for grouping.

2014-10-14 Thread Udara Liyanage
Hi Devs, Shall we conduct $subject on Wednesday 15th October at 8PM IST. In the review I will discuss about .revised metadata service and metadata client. Further I will describe how metadata can be used for composite applications and how metadata client can be used to publish and fetch data from

Re: [Announce] Apache Stratos 4.1.0-M1 is READY

2014-10-14 Thread Mariangela Hills
Added Stratos 4.1.0 M1 developer preview. [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Stratos+M1+Developer+Preview Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com

[jira] [Updated] (STRATOS-893) Member initiated time is not persisted when shutting down stratos

2014-10-14 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam updated STRATOS-893: --- Assignee: Rajkumar Rajaratnam > Member initiated time is not persisted when shutting

Re: [Discuss] Hierarchical Locking for Topology

2014-10-14 Thread Gayan Gunarathne
Hi Isuru, I mean that if you try to add the hierarchical locking with the topology update, it is better if we can have idea about how many siblings independently we can lock with updating topology. But if CC allows only the sequential access IMO we can't get advantage from the hierarchical locking

[jira] [Created] (STRATOS-893) Member initiated time is not persisted when shutting down stratos

2014-10-14 Thread Rajkumar Rajaratnam (JIRA)
Rajkumar Rajaratnam created STRATOS-893: --- Summary: Member initiated time is not persisted when shutting down stratos Key: STRATOS-893 URL: https://issues.apache.org/jira/browse/STRATOS-893 Proje

Re: Is there any problem with restarting/crashing Stratos?

2014-10-14 Thread Manula Chathurika Thantriwatte
Hi, This might be a rare scenario. I think according to your current design we are unable to track such incidents. On Tue, Oct 14, 2014 at 3:30 PM, Udara Liyanage wrote: > Hi, > > Even CEP mark the instance as faulty, CC won't be able to kill it since it > does not have a reference to the insta

Re: [Discuss] Hierarchical Locking for Topology

2014-10-14 Thread Isuru Haththotuwa
Hi Gayan, On Mon, Oct 13, 2014 at 7:50 PM, Gayan Gunarathne wrote: > IMO it is based on how many siblings we have in the topology which we can > lock independently. If we have lot of occurrences where we can able to > lock the siblings independently it will improve the performance.But again I >

Re: Is there any problem with restarting/crashing Stratos?

2014-10-14 Thread Udara Liyanage
Hi, Even CEP mark the instance as faulty, CC won't be able to kill it since it does not have a reference to the instance. On Tue, Oct 14, 2014 at 3:12 PM, Rajkumar Rajaratnam wrote: > Hi Devs, > > Please be kind enough to explain me if I understood it wrong. > > Topology is updated after every

Is there any problem with restarting/crashing Stratos?

2014-10-14 Thread Rajkumar Rajaratnam
Hi Devs, Please be kind enough to explain me if I understood it wrong. Topology is updated after every member is created. Stratos can go down/crash after a member is created but before topology is updated. When we start the stratos again, AS reads the topology and populate the member lists. But t

Re: [Hangout] Design and Code Review - Build and Publish docker images in Cartridge deployment

2014-10-14 Thread Lasindu Charith
+1 On Tue, Oct 14, 2014 at 12:17 PM, Rajkumar Rajaratnam wrote: > +1 > > On Tue, Oct 14, 2014 at 12:13 PM, Sajith Kariyawasam > wrote: > >> Hi Devs, >> >> Shall we have $subject on Friday 17th October, at 10.30 AM GMT+5:30 ? >> >> I will be discussing the design and implementation of building a