[Code Review] Python Cartridge Agent Plugins

2015-03-16 Thread Chamila De Alwis
Hi devs, Let's do a code review session on the Python Cartridge Agent's Plugin system. I'm planning this on 19th March 2015. Please find the event at [1]. [1] - https://plus.google.com/u/2/events/cf4empc6r5ftjfd2vdk19gjqpbc Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog:

Re: [Error] What is the correct JSON format to add a tenant?

2015-03-16 Thread Dinithi De Silva
Hi Mari, I have tried the above and it works for me without any issues for the given json file. As Udara said there must be something missing when copying the code. Thanks. On Tue, Mar 17, 2015 at 11:42 AM, Udara Liyanage wrote: > Hi Mari, > > I tried the sample and it worked without any issue

Re: [Error] What is the correct JSON format to add a tenant?

2015-03-16 Thread Udara Liyanage
Hi Mari, I tried the sample and it worked without any issue. Below is my json payload. I suspect some characters are missing/mis formatted when you copy paste from the page. udara@puppet:~ $ cat tenant.json { "admin":"admin", "firstname":"Frank", "lastname":"Myers", "admin

[Error] What is the correct JSON format to add a tenant?

2015-03-16 Thread Mariangela Hills
Hi Devs, When I executed the JSON given in [1], I get the following errors [2] & [3]. Is the user JSON file correct? [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Adding+a+Tenant+via+REST+API [2] Admin16s-MacBook-Air:stratos Admin16$ curl -X POST -H "Content-Type: application/jso

Re: [Code Review] Drools file review

2015-03-16 Thread Chamila De Alwis
Hi, Please find the following review notes. 1. Formatting: check and format drools files to conform to style guide 2. Check if several instances can be terminated/started with one call in the IaaS 3. Introduce ScheduledExecutorService for ClusterMonitor and drop Thread.sle

Re: Do we need "lbClusterId" anymore

2015-03-16 Thread Mariangela Hills
That is great, Lahiru! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Mar 17, 2015 at 11:10 AM, Lahiru Sandaruwan wrote: > Hi Mari, > > I will start removing th

Re: Stratos 4.0 Unexpected shutdown

2015-03-16 Thread Chamila De Alwis
Hi David, On Tue, Mar 17, 2015 at 9:49 AM, david hbase wrote: > [2015-03-17 01:26:11,941] INFO > {org.wso2.carbon.core.init.CarbonServerManager} - Shutdown hook > triggered > As Udara has mentioned, this seems to be a graceful shutdown. If this is recurring, you can check a heap dump for p

Re: Do we need "lbClusterId" anymore

2015-03-16 Thread Lahiru Sandaruwan
Hi Mari, I will start removing this in code. Thanks. On Tue, Mar 17, 2015 at 10:37 AM, Mariangela Hills wrote: > Hi Lahiru, > > Will you be able to remove the lbClusterId property or shall we create a > JIRA to track this task, so that no one forgets it in the future? > > Regards, > Mariangela

Re: No ability to list instances in Stratos 4.1.0?

2015-03-16 Thread Imesh Gunaratne
Hi Isuru, I think we already have two api methods to get the application details: [1] GET /applications/{applicationId} [2] GET /applications/{applicationId}/runtime The second API method would give us the cluster Ids of the given application. Then the user could invoke a new API method to get t

Re: Stratos 4.0 Unexpected shutdown

2015-03-16 Thread david hbase
Thanks for your response. I will check the items in your list and update here. -D On Mon, Mar 16, 2015 at 10:16 PM, Udara Liyanage wrote: > Hi, > > Looking at the stack trace it seems the server is gracefully shutting down > which prevents me from assuming this is due to an OOM. > > What is the

Re: Stratos 4.0 Unexpected shutdown

2015-03-16 Thread Udara Liyanage
Hi, Looking at the stack trace it seems the server is gracefully shutting down which prevents me from assuming this is due to an OOM. What is the load on Stratos server when the server shutdown is triggered. I just want to check whether server is shutdown due to high load. Is there a security sof

Re: Do we need "lbClusterId" anymore

2015-03-16 Thread Mariangela Hills
Hi Lahiru, Will you be able to remove the lbClusterId property or shall we create a JIRA to track this task, so that no one forgets it in the future? Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com

Re: [Doc] Article series on the Cartridge Agent

2015-03-16 Thread Lakmal Warusawithana
Great work Chamila! Looking forward more articles :) On Tue, Mar 17, 2015 at 10:27 AM, Chamila De Alwis wrote: > Hi, > > I've started to write a series of short articles on the Cartridge Agent > functionality[1]. The purpose of this series is to serve as a comprehensive > guide to the CA workflo

[Doc] Article series on the Cartridge Agent

2015-03-16 Thread Chamila De Alwis
Hi, I've started to write a series of short articles on the Cartridge Agent functionality[1]. The purpose of this series is to serve as a comprehensive guide to the CA workflow, configuration and implementation details of the 4.1.0 GA release. I will able to cover details that cannot be usually co

[jira] [Updated] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake updated STRATOS-1256: --- Component/s: (was: UI) REST API > Adding and deleting a

[jira] [Commented] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364564#comment-14364564 ] Shavindri Dissanayake commented on STRATOS-1256: Thank you Dakshika! Cha

[jira] [Comment Edited] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Dakshika Jayathilaka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364557#comment-14364557 ] Dakshika Jayathilaka edited comment on STRATOS-1256 at 3/17/15 4:50 AM: --

[jira] [Commented] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Dakshika Jayathilaka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364557#comment-14364557 ] Dakshika Jayathilaka commented on STRATOS-1256: --- This messages are build o

[jira] [Updated] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake updated STRATOS-1256: --- Attachment: Deleted-Successfully-Msg.png > Adding and deleting a deployment

[jira] [Updated] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake updated STRATOS-1256: --- Priority: Minor (was: Major) > Adding and deleting a deployment policy - M

[jira] [Created] (STRATOS-1256) Adding and deleting a deployment policy - Message

2015-03-16 Thread Shavindri Dissanayake (JIRA)
Shavindri Dissanayake created STRATOS-1256: -- Summary: Adding and deleting a deployment policy - Message Key: STRATOS-1256 URL: https://issues.apache.org/jira/browse/STRATOS-1256 Project: Stra

Re: No ability to list instances in Stratos 4.1.0?

2015-03-16 Thread Isuru Haththotuwa
Hi, Since Stratos 4.1 is based on the Application model, shall we provide an API to list the details (instances) of an application? Or do we still need to list individual cluster instances? On Tue, Mar 17, 2015 at 9:59 AM, Imesh Gunaratne wrote: > Hi Shaheed, > > Thanks for pointing this! Yes i

Re: No ability to list instances in Stratos 4.1.0?

2015-03-16 Thread Imesh Gunaratne
Hi Shaheed, Thanks for pointing this! Yes in 4.1.0 API we do not have a method to query instances of a cluster. I think we need to add it. @Devs: Anyone would like to contribute to this? Thanks On Tue, Mar 17, 2015 at 4:59 AM, Shaheedur Haque (shahhaqu) < shahh...@cisco.com> wrote: > Hi, > > >

[jira] [Resolved] (STRATOS-1233) Typo - Termination Behaviour should be Termination Behavior

2015-03-16 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1233. --- Resolution: Fixed Fix Version/s: 4.1.0 Beta This issue has been fixed by Daks

Stratos 4.0 Unexpected shutdown

2015-03-16 Thread david hbase
Hi, Team Stratos 4.0 Unexpected shutdown serveral times, the logs has been attached, please help Thanks -D 2015-03-17 01:26:04,996] DEBUG {org.apache.stratos.autoscaler.message.receiver.health.AutoscalerHealthStatEventReceiver} - Member grad of load avg event: [member] lb.lb.domainf136195e-94cd

Re: Do we need "lbClusterId" anymore

2015-03-16 Thread Imesh Gunaratne
Hi Lahiru, Yes we need to remove lbClusterId property from the member definition. Now each load balancer instance will get a list of dependent cluster ids via the payload which the load balancer should serve specifically. Therefore lbClusterId property is not used anymore. Thanks On Mon, Mar 16

Re: PMC / Committers List needs to be updated

2015-03-16 Thread Mariangela Hills
Thanks for updating this page, Madhura! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Mar 17, 2015 at 9:45 AM, Imesh Gunaratne wrote: > Thanks Madhura for look

Re: PMC / Committers List needs to be updated

2015-03-16 Thread Imesh Gunaratne
Thanks Madhura for looking into this! On Mon, Mar 16, 2015 at 7:55 PM, Madhura Mendis wrote: > This is updated now. > http://stratos.apache.org/community/people.html > > Thanks > Madhura > > On Wed, Mar 11, 2015 at 7:05 PM, Lakmal Warusawithana > wrote: > >> Afkham Azeez >>

Re: Regarding Load Balancer extention

2015-03-16 Thread Imesh Gunaratne
Hi Nipun, You could go through [1] and get and idea: [1] https://github.com/apache/stratos/tree/master/extensions/load-balancer/haproxy-extension Thanks On Tue, Mar 17, 2015 at 12:19 AM, Nipun Udara wrote: > Hi all > > Can somebody give me a idea about the use of > LoadBalancerCommonTopologyEv

Post

2015-03-16 Thread Ashan Dhananjaya
Post

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-16 Thread Lahiru Sandaruwan
Hi Shaheed, We can define the maximum number of instances that can be spawned per partition in deployment policy. You can find a simple sample which is written for next developer preview at [1]. This sample is an end to end sample with single cartridge application and Mock IaaS. See the step 5 for

Jenkins build is back to normal : Stratos-Master-Nightly-Build #441

2015-03-16 Thread Apache Jenkins Server
See

Jenkins build is back to normal : Stratos-Master-Nightly-Build ยป Apache Stratos - CLI #441

2015-03-16 Thread Apache Jenkins Server
See

[jira] [Resolved] (STRATOS-1203) Add Global deployment policy view to configure section

2015-03-16 Thread Dakshika Jayathilaka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dakshika Jayathilaka resolved STRATOS-1203. --- Resolution: Fixed Fix Version/s: 4.1.0 Beta > Add Global deployment p

[jira] [Resolved] (STRATOS-1254) Move cartridge groups and application policies into configurations

2015-03-16 Thread Dakshika Jayathilaka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dakshika Jayathilaka resolved STRATOS-1254. --- Resolution: Fixed > Move cartridge groups and application policies into conf

No ability to list instances in Stratos 4.1.0?

2015-03-16 Thread Shaheedur Haque (shahhaqu)
Hi, In Stratos 4.0.0, I could get a list of instances running against a subscription with a REST call like this: 'GET', '/stratos/admin/cluster/clusterId/{}'.format(cluster) However, in 4.1.0, the commands describe-application and describe application-runtime equate to: 'GET', 'applic

Regarding Load Balancer extention

2015-03-16 Thread Nipun Udara
Hi all Can somebody give me a idea about the use of LoadBalancerCommonTopologyEventReceiver class within LoadBalancerExtension api and which kind of events receive to this receiver. Regards Nipun Udara

[Gsoc] Applying for GSoC 2015

2015-03-16 Thread Lahiru Sandaruwan
All Gsoc students for the year 2015, Please see following page which is common for all the Apache projects to get an idea about next tasks. Thanks. [1] http://community.apache.org/gsoc.html#applying-for-gsoc -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engi

[jira] [Created] (STRATOS-1255) Test Autoscaling based on LB statisticss

2015-03-16 Thread Lahiru Sandaruwan (JIRA)
Lahiru Sandaruwan created STRATOS-1255: -- Summary: Test Autoscaling based on LB statisticss Key: STRATOS-1255 URL: https://issues.apache.org/jira/browse/STRATOS-1255 Project: Stratos Issu

Re: PMC / Committers List needs to be updated

2015-03-16 Thread Madhura Mendis
This is updated now. http://stratos.apache.org/community/people.html Thanks Madhura On Wed, Mar 11, 2015 at 7:05 PM, Lakmal Warusawithana wrote: > Afkham Azeez > Akila Perera > Anh Tu Nguyen > Ant Elder > Chamila

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-16 Thread Shaheedur Haque (shahhaqu)
Hi Lahiru, What do you mean by partition max? Where is it specified? Thanks, Shaheed From: Lahiru Sandaruwan [mailto:lahi...@wso2.com] Sent: Saturday, March 14, 2015 2:31 AM To: dev Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi Shaheedur, This

Do we need "lbClusterId" anymore

2015-03-16 Thread Lahiru Sandaruwan
Hi devs, I have seen there are few places that we still have "lbClusterId" in Member and MemberContext classes. Since we have removed the LB type from the list of cartridge types, we would not recognize LB Id from Stratos POV. Do we use that for load balancing functionality? Thanks. -- -- Lahi

Re: [Code Review] Drools file review

2015-03-16 Thread Lahiru Sandaruwan
Hi, Sorry that i could not mention the date. This event will be at 17th March 2015, 9.00 AM IST. Thanks. On Mon, Mar 16, 2015 at 2:49 PM, Lahiru Sandaruwan wrote: > Hi all, > > I'm planing to do $subject on 9.00 AM IST. Find the G+ event at [1], where > you can use the "Hangout" link to join i

[Code Review] Drools file review

2015-03-16 Thread Lahiru Sandaruwan
Hi all, I'm planing to do $subject on 9.00 AM IST. Find the G+ event at [1], where you can use the "Hangout" link to join it remotely. Thanks. [1] https://plus.google.com/u/1/events/cd5m3pu7sl70s8qterjro35el78 -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software En

Apache Stratos invited you to [Code Review] Drools file review

2015-03-16 Thread Google+ (Apache Stratos)
Apache Stratos invited you to [Code Review] Drools file review Tue, March 17, 9:00 AM GMT+5:30 2 people invited View Invitation: https://plus.google.com/_/notifications/ngemlink?&emid=CIDf2LG0rMQCFUkDQwodvnEAJw&path=%2Fevents%2Fcd5m3pu7sl70s8qterjro35el78%3Fgpinv%3DAMIXal8gwgpmC2KteSTMPcuI3xZaw

[jira] [Closed] (STRATOS-1199) Adding a new application via UI

2015-03-16 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake closed STRATOS-1199. -- Resolution: Fixed > Adding a new application via UI >

Re: Regarding AWS Load Balancing Support for Stratos GSOC project

2015-03-16 Thread Nipun Udara
Hi imesh, Thank you for the given details. I will make a draft version of proposal and send to dev list. Regards On Sun, Mar 15, 2015 at 12:48 PM, Imesh Gunaratne wrote: > Hi Nipun, > > It's nice to hear from you! > > The idea of this project is to implement Stratos load balancer extension > t