[GitHub] stratos pull request: Refactored - licenses and comments added

2014-10-01 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/75 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[jira] [Created] (STRATOS-862) Kubernetes scheduler needs to be restarted every 15 min or so.

2014-10-01 Thread Rajkumar Rajaratnam (JIRA)
Rajkumar Rajaratnam created STRATOS-862: --- Summary: Kubernetes scheduler needs to be restarted every 15 min or so. Key: STRATOS-862 URL: https://issues.apache.org/jira/browse/STRATOS-862 Project:

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-01 Thread Lahiru Sandaruwan
+1 for 120. On Thu, Oct 2, 2014 at 11:19 AM, Isuru Perera wrote: > Hi Nirmal, > > Sorry for the delay! I needed some time to go through the coding > guidelines in WSO2 and other Apache project. > > All, > > Since everyone agrees on 4 spaces, we will configure that accordingly. My > next concern

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-01 Thread Isuru Perera
Hi Nirmal, Sorry for the delay! I needed some time to go through the coding guidelines in WSO2 and other Apache project. All, Since everyone agrees on 4 spaces, we will configure that accordingly. My next concern is that 100 columns for a line is too short. Most of other projects use 120 column

Re: Error when building a cartridge

2014-10-01 Thread Roshan Deniyage
AFAIK, package installation needs user inputs for configuring packages. debconf uses frontend Dialog and expects environment variable TERM to be set. If you skip this step by adding "RUN DEBIAN_FRONTED=noninteractive" to the dockerfile, might solve the problem. Or otherwise, need to find a way to c

[Wiki] Error Handling Guide

2014-10-01 Thread Mariangela Hills
I think that it will be very useful if we can have a "Error handling Guide" that documents all the error codes that can occur in Stratos. Could you please provide information, so that I can create this guide. I have created a JIRA to track this task [1]. [1] https://issues.apache.org/jira/browse/

[jira] [Updated] (STRATOS-859) Unknown host name exception when accessing VM instances via LB

2014-10-01 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam updated STRATOS-859: --- Summary: Unknown host name exception when accessing VM instances via LB (was: Unknow

[jira] [Resolved] (STRATOS-850) Update puppet scripts to support MQTT configuration

2014-10-01 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-850. Resolution: Fixed > Update puppet scripts to support MQTT configuration > -

[jira] [Commented] (STRATOS-850) Update puppet scripts to support MQTT configuration

2014-10-01 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156103#comment-14156103 ] Sajith Kariyawasam commented on STRATOS-850: Fixed in 28c24ddb305a12905323d31

[jira] [Created] (STRATOS-861) Wiki - Error Handling Guide

2014-10-01 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-861: Summary: Wiki - Error Handling Guide Key: STRATOS-861 URL: https://issues.apache.org/jira/browse/STRATOS-861 Project: Stratos Issue Type: Improvement

Re: Shall we plan for a 4.1.0-M2 developer preview?

2014-10-01 Thread Manula Chathurika Thantriwatte
Hi Nirmal, Yes, CEP 3.1.0. Sorry for the typo. On Wed, Oct 1, 2014 at 10:56 PM, Nirmal Fernando wrote: > You meant CEP 3.1.0 ? > > On Wed, Oct 1, 2014 at 9:56 PM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Hi, >> >> Shall we integrate CEP 3.0.0 for M2. I can work on that.

RE: [Grouping][Part-2] Composite Application Dependency Tree building based in Autoscaler

2014-10-01 Thread Martin Eppel (meppel)
Hi Reka, Are you suggesting to replace the current startupOrder definition with the one mentioned below ? "startupOrder" : [ { "start":"aa", "after":"bb" } ] Replaced with "startupOrders": [ "mypostgresGroup, myphp", "mysql

Re: Shall we plan for a 4.1.0-M2 developer preview?

2014-10-01 Thread Nirmal Fernando
You meant CEP 3.1.0 ? On Wed, Oct 1, 2014 at 9:56 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi, > > Shall we integrate CEP 3.0.0 for M2. I can work on that. > > On Wed, Oct 1, 2014 at 11:19 AM, Shiroshica Kulatilake > wrote: > >> +1 for the REST API clean up >> >> Also, we

Re: Delay the min check of normal cluster monitor to wait until LB monitor is added !?

2014-10-01 Thread Rajkumar Rajaratnam
Hi, Thanks very much Lahiru and Reka for info. Since 4.2.0 comes with a fix, I also feel like we can go with the current way. We will wait for 1 min. Thanks. On Wed, Oct 1, 2014 at 10:26 PM, Lahiru Sandaruwan wrote: > > > On Wed, Oct 1, 2014 at 10:16 PM, Reka Thirunavukkarasu > wrote: > >> H

Re: Delay the min check of normal cluster monitor to wait until LB monitor is added !?

2014-10-01 Thread Lahiru Sandaruwan
On Wed, Oct 1, 2014 at 10:16 PM, Reka Thirunavukkarasu wrote: > Hi Raj, > > I think, with the composite application effort we can add the LB a > dependent cartridge to other cartridges. Hence we don't need this check > anymore in 4.2.0. ApplicationMonitor will bring up the LB first and then > bri

Re: Delay the min check of normal cluster monitor to wait until LB monitor is added !?

2014-10-01 Thread Reka Thirunavukkarasu
Hi Raj, I think, with the composite application effort we can add the LB a dependent cartridge to other cartridges. Hence we don't need this check anymore in 4.2.0. ApplicationMonitor will bring up the LB first and then bring up the cartridges according to dependency information. Anyway, we need t

Re: Shall we plan for a 4.1.0-M2 developer preview?

2014-10-01 Thread Manula Chathurika Thantriwatte
Hi, Shall we integrate CEP 3.0.0 for M2. I can work on that. On Wed, Oct 1, 2014 at 11:19 AM, Shiroshica Kulatilake wrote: > +1 for the REST API clean up > > Also, we should go for the first cut of the revamped UI > > On Wed, Oct 1, 2014 at 9:49 AM, Lakmal Warusawithana > wrote: > >> >> >> On

Re: [Discuss] Hierarchical Locking for Topology

2014-10-01 Thread Manula Chathurika Thantriwatte
Hi Isuru, +1 for the hierarchical locking approach. Using hierarchical locking we can have more benefits [1]. [1] http://synapticnulship.com/blog/2013/03/08/comparison-chainlocker-vs-heirarchical-mutexes/ On Wed, Oct 1, 2014 at 7:46 PM, Isuru Haththotuwa wrote: > Hi Devs, > > In the current T

Re: Delay the min check of normal cluster monitor to wait until LB monitor is added !?

2014-10-01 Thread Lahiru Sandaruwan
Hi Raj, LB cluster monitor should be added in less than 1 minute. If we are to improve this, we need to check, AutoscalerContext.getInstance().clusterMonitorExist(lbClusterId) We may find the LB cluster id with some effort. So waiting a minute or so would be efficient. Thanks. On Wed, Oct 1,

Delay the min check of normal cluster monitor to wait until LB monitor is added !?

2014-10-01 Thread Rajkumar Rajaratnam
Hi, *org.apache.stratos.autoscaler.monitor.VMServiceClusterMonitor.run();* https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/VMServiceClusterMonitor.java @Override public void run() { *try {

Re: Use of the metaData field in log publishing to BAM

2014-10-01 Thread Chamila De Alwis
Hi Isuru, On Wed, Oct 1, 2014 at 10:49 AM, Isuru Haththotuwa wrote: > Currently, do we use the meta data field to publish any data in Stratos? > Or do you have such a requirement? > We are adding the metadata field in the current implementation. > > AFAIU, payload data contains the main infor

[Discuss] Hierarchical Locking for Topology

2014-10-01 Thread Isuru Haththotuwa
Hi Devs, In the current Topology implementation, we acquire read/write locks on Topology from the root level itself. For an example, if we need to modify a single Cluster object, we still need to acquire a write lock from the Topology root level. But, this is a costly operation. Specially, with Se

[jira] [Created] (STRATOS-860) Error when publishing to health topic in CEP extensions

2014-10-01 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-860: -- Summary: Error when publishing to health topic in CEP extensions Key: STRATOS-860 URL: https://issues.apache.org/jira/browse/STRATOS-860 Project: Stratos

[Grouping][Part-2] Composite Application Dependency Tree building based in Autoscaler

2014-10-01 Thread Reka Thirunavukkarasu
Hi As you aware, in the composite application we can define the depencies between groups/cartridges. Autoscaler's responsible is to parse this dependencies and build up a logical relationship model in order to handle the dependency information among the child nodes. As we have the hierarchical mon

[GitHub] stratos pull request: Code review changes

2014-10-01 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/76 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] stratos pull request: Code review changes

2014-10-01 Thread lasinducharith
GitHub user lasinducharith opened a pull request: https://github.com/apache/stratos/pull/77 Code review changes Few changes to code quality : removing warning messages, removing unused imports, updated exception logs and removing wrapper class. You can merge this pull request into

Re: Metadata service registry type rename and change default type

2014-10-01 Thread Gayan Gunarathne
+1 for changing that default value as carbon. On Wed, Oct 1, 2014 at 5:48 PM, Udara Liyanage wrote: > Hi, > > Currently there are two types of registries such as OWN and GREG. OWN > refers to embedded carbon registry. > > @Gayan isn't it better to rename it to a name like "carbon". > > Additiona

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-01 Thread Gayan Gunarathne
Hi Sajith, I guess we can use the same xml template for both eclipse and idea.I think both eclipse and idea as option to import xml based code formatting schema as well. I have tried the attached schema xml with both eclipse and idea. I will check the one you tried(eclipse built-in one) with idea

Metadata service registry type rename and change default type

2014-10-01 Thread Udara Liyanage
Hi, Currently there are two types of registries such as OWN and GREG. OWN refers to embedded carbon registry. @Gayan isn't it better to rename it to a name like "carbon". Additionally IMO it should be the default type. -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. ente

[GitHub] stratos pull request: Code review changes

2014-10-01 Thread lasinducharith
GitHub user lasinducharith opened a pull request: https://github.com/apache/stratos/pull/76 Code review changes Few changes to code quality : removing warning messages, removing unused imports, updated exception logs and removing wrapper class. You can merge this pull request into

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-01 Thread Sajith Kariyawasam
I came up with the attached code format profile for Eclipse. This is based on the Eclipse (built in) profile, and I modified lineSplit from 80 to 100 and 4 Space indentation. Other default settings seems OK to me. Please share your thoughts Thanks, Sajith On Wed, Oct 1, 2014 at 4:47 PM, Nirmal

[jira] [Commented] (STRATOS-813) Fix critical issues reported by Sonar

2014-10-01 Thread Nirmal Fernando (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154670#comment-14154670 ] Nirmal Fernando commented on STRATOS-813: - Fixed critical issues related to CC co

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-01 Thread Nirmal Fernando
Guys, Did you all manage to create the formatter profiles? On Tue, Sep 23, 2014 at 11:59 AM, Nirmal Fernando wrote: > Thanks for the reminder Imesh. I've created a Jira for this > https://issues.apache.org/jira/browse/STRATOS-813 > > On Tue, Sep 23, 2014 at 10:31 AM, Imesh Gunaratne > wrote: >

[jira] [Created] (STRATOS-859) Unknown host name exception when accessing instances via LB

2014-10-01 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-859: -- Summary: Unknown host name exception when accessing instances via LB Key: STRATOS-859 URL: https://issues.apache.org/jira/browse/STRATOS-859 Project: Stra

RE: Character limit for cartridge alias

2014-10-01 Thread Shaheedur Haque (shahhaqu)
OK, thanks. I'm somewhat astonished that given the significance of this string on the behaviour of the system, the truncation is not more noisy but at least we know what the behaviour is :). From: Martin Eppel (meppel) Sent: 30 September 2014 17:57 To: Shaheedur Haque (shahhaqu) Cc: Jeffrey Nguy

[jira] [Created] (STRATOS-858) Error in publishing artifact updated event

2014-10-01 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-858: -- Summary: Error in publishing artifact updated event Key: STRATOS-858 URL: https://issues.apache.org/jira/browse/STRATOS-858 Project: Stratos Issu

[jira] [Created] (STRATOS-857) Clean/Refactor Stratos REST API to have Restful Operations

2014-10-01 Thread Nirmal Fernando (JIRA)
Nirmal Fernando created STRATOS-857: --- Summary: Clean/Refactor Stratos REST API to have Restful Operations Key: STRATOS-857 URL: https://issues.apache.org/jira/browse/STRATOS-857 Project: Stratos

[jira] [Commented] (STRATOS-791) MQTT protocol support for the messaging module

2014-10-01 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154628#comment-14154628 ] Gayan Gunarathne commented on STRATOS-791: -- Yeah. Need to remove this. We don't

Re: Error when building a cartridge

2014-10-01 Thread Vishanth Balasubramaniam
Hi Sajith, I made the change DEBIAN_FRONTEND=noninteractive and now it is fine. Thanks, On Wed, Oct 1, 2014 at 2:41 PM, Vishanth Balasubramaniam wrote: > Hi Thushara, > Even with a fresh start it is still the same. > > Thanks, > > On Wed, Oct 1, 2014 at 2:10 PM, Thushara Ranawaka > wrote: > >

Re: Error when building a cartridge

2014-10-01 Thread Vishanth Balasubramaniam
Hi Thushara, Even with a fresh start it is still the same. Thanks, On Wed, Oct 1, 2014 at 2:10 PM, Thushara Ranawaka wrote: > Hi Vishanth, > I had the same issue, Can you ssh using the OS private URL? > Better to start-over the cartridge docker build in a fresh snapshot. > > Thanks, > > On Wed

Re: Error when building a cartridge

2014-10-01 Thread Thushara Ranawaka
Hi Vishanth, I had the same issue, Can you ssh using the OS private URL? Better to start-over the cartridge docker build in a fresh snapshot. Thanks, On Wed, Oct 1, 2014 at 1:28 PM, Sajith Kariyawasam wrote: > Hi Vishanth, > > Please try out what is mentioned in [1] > https://github.com/phusio

[jira] [Resolved] (STRATOS-856) Need a wiki page for Performance Tuning

2014-10-01 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-856. -- Resolution: Fixed Added information in [1] and [2]. [1] https://cwiki.apache.org/confl

[GitHub] stratos pull request: Refactored - licenses and comments added

2014-10-01 Thread R-Rajkumar
GitHub user R-Rajkumar opened a pull request: https://github.com/apache/stratos/pull/75 Refactored - licenses and comments added You can merge this pull request into a Git repository by running: $ git pull https://github.com/R-Rajkumar/stratos master Alternatively you can rev

Re: Error when building a cartridge

2014-10-01 Thread Sajith Kariyawasam
Hi Vishanth, Please try out what is mentioned in [1] https://github.com/phusion/baseimage-docker/issues/58 export the variable before apt-get ? export DEBIAN_FRONTEND=noninteractive Thanks, Sajith On Wed, Oct 1, 2014 at 12:53 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi,

Re: Error when building a cartridge

2014-10-01 Thread Vishanth Balasubramaniam
Removing the Training-group. On Wed, Oct 1, 2014 at 12:53 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > I am currently working on creating a cassandra cartridge for apache > stratos using docker. > Even though the cartridge gets successfully built, the following error > mess

Error when building a cartridge

2014-10-01 Thread Vishanth Balasubramaniam
Hi, I am currently working on creating a cassandra cartridge for apache stratos using docker. Even though the cartridge gets successfully built, the following error messages occurred. ---> c2bbd571afe5 Step 4 : RUN apt-get install -y openssh-server ---> Running in 25f73db5e21c Unpacking openss

Re: CC is not receiving Instance Status Events

2014-10-01 Thread Gayan Gunarathne
I guess that connection lost due to some network unavailability.IMO we need to do retry after the connection lost. On Wed, Oct 1, 2014 at 9:46 AM, Rajkumar Rajaratnam wrote: > Hi, > > Agent is publishing instance created/activate events. SM is receiving > those events. But CC is not receiving.

[jira] [Created] (STRATOS-856) Need a wiki page for Performance Tuning

2014-10-01 Thread Isuru Perera (JIRA)
Isuru Perera created STRATOS-856: Summary: Need a wiki page for Performance Tuning Key: STRATOS-856 URL: https://issues.apache.org/jira/browse/STRATOS-856 Project: Stratos Issue Type: Task