[jira] [Created] (STRATOS-1431) Cluster won't scale down if Stratos is stopped when ready to shutdown members available

2015-06-15 Thread Lahiru Sandaruwan (JIRA)
Lahiru Sandaruwan created STRATOS-1431: -- Summary: Cluster won't scale down if Stratos is stopped when ready to shutdown members available Key: STRATOS-1431 URL: https://issues.apache.org/jira/browse/STRATOS-1

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Thanks Lasindu for the feedback. I will try that. Regards, Swapnil On Tue, Jun 16, 2015 at 6:47 AM, Lasindu Charith wrote: > Hi Swapnil, > > Yes, first get an update from the latest Git master and try again. > If not try the rc-2 tag( > https://github.com/apache/stratos/releases/tag/4.1.0-rc2)

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Lasindu Charith
Hi Swapnil, Yes, first get an update from the latest Git master and try again. If not try the rc-2 tag( https://github.com/apache/stratos/releases/tag/4.1.0-rc2) to build. Thanks, On Tue, Jun 16, 2015 at 12:13 PM, Swapnil Patil wrote: > Just an update. > > Running stratos.sh from apache-strato

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Just an update. Running stratos.sh from apache-stratos-4.1.0-SNAPSHOT.zip (which I built locally) gives above partial output. So server does not start. But running stratos.sh from apache-stratos-4.0.0.zip (which I downloaded) does start the server. Do you think I should build it again on latest

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Reka, Thanks for the sample log. This is all I got. The command is still running and nothing is added to the log. Thanks and Regards, Swapnil On Tue, Jun 16, 2015 at 5:36 AM, Reka Thirunavukkarasu wrote: > Hi Swapnil, > > You have attached the partial logs only. Do you have the complete st

[GSOC] GCE Load Balancing Support for Stratos - weekly update

2015-06-15 Thread Gayan Gunarathne
Hi Asanka, On Tue, Jun 16, 2015 at 4:27 AM, Asanka Sanjaya Herath wrote: > Hi, > > In last week I was working on following tasks. > > 1. Implementing a way to wait for API call completion > Can you please describe how do you achieve this? > 2. Getting the instance ID(The member ID in IaaS sid

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Reka Thirunavukkarasu
Hi Swapnil, You have attached the partial logs only. Do you have the complete stratos startup logs? I have attached a sample startup log here with. If the stratos started successfully, then you can see the console in https://localhost:9443/console/ On Tue, Jun 16, 2015 at 10:31 AM, Swapnil Pati

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Reka Thirunavukkarasu
Thanks Raj and Lahiru for confirming on this. Now it is clear.. Thanks, Reka On Tue, Jun 16, 2015 at 10:32 AM, Lahiru Sandaruwan wrote: > Yes, Raj is correct. > > Pranavan, please note. We need our sliding window as 1 minute. i.e. we > will be generating curves in each 1 minutes, considering th

Re: [GSOC] GCE Load Balancing Support for Stratos - weekly update

2015-06-15 Thread Asanka Sanjaya Herath
Hi Isuru, Thanks for the suggestion Isuru. I'll complete re-configuring first and move to the rest as you instructed. On Tue, Jun 16, 2015 at 9:13 AM, Isuru Haththotuwa wrote: > Hi Asanka, > > On Tue, Jun 16, 2015 at 4:27 AM, Asanka Sanjaya Herath > wrote: > >> Hi, >> >> In last week I was wor

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Lahiru Sandaruwan
Yes, Raj is correct. Pranavan, please note. We need our sliding window as 1 minute. i.e. we will be generating curves in each 1 minutes, considering the events received last 10 minutes. Thanks. On Tue, Jun 16, 2015 at 10:27 AM, Rajkumar Rajaratnam wrote: > In other words, window length is 10 m

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I followed steps below. 1. cleaned the earlier setup. So now I don't have userstore database. 2. Started activemq 3. Extratcted apache-stratos-4.1.0-SNAPSHOT.zip to a new folder. 4. Executed the command - sh stratos.sh. I got the output attached and it is still running. How do I check if server

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Rajkumar Rajaratnam
In other words, window length is 10 minutes, but sliding interval is 1 minute. On Tue, Jun 16, 2015 at 10:26 AM, Rajkumar Rajaratnam wrote: > Hi Reka, > > I guess we are increasing window time interval to 10 minutes. But we will > be sliding the window every minute. So CEP will publish events ev

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Rajkumar Rajaratnam
Hi Reka, I guess we are increasing window time interval to 10 minutes. But we will be sliding the window every minute. So CEP will publish events every 1 minute. Isn't it Lahiru? Thanks. On Tue, Jun 16, 2015 at 10:20 AM, Reka Thirunavukkarasu wrote: > Hi Lahiru/Pranavan, > > If the CEP window

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Reka Thirunavukkarasu
Hi Lahiru/Pranavan, If the CEP window interval changes to 10 min, then i hope that the decision from CEP will be received by Autoscaler also in 10 min interval. In that case, how will the prediction work? Are we predicting the load also before 10 minutes? If the prediction time is less than 10 min

Re: Stratos Wiki - Installing Stratos in a Distributed Setup Using the Installer

2015-06-15 Thread Mariangela Hills
Thanks, for reporting! I will fix this! Regards, Mariangela *Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Tue, Jun 16, 2015 at 10:04 AM, Anuruddha Liyanarachchi < anurudd...

Stratos Wiki - Installing Stratos in a Distributed Setup Using the Installer

2015-06-15 Thread Anuruddha Liyanarachchi
Hi Mari/Shavindri, In [1], section *4 Configure and start WSO2 CEP**:* Click here for instructions link is not working. It is giving an error: Unable to render {include} [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+in+a+Distributed+Setup+Using+the+Installer -

Re: [GSOC] GCE Load Balancing Support for Stratos - weekly update

2015-06-15 Thread Isuru Haththotuwa
Hi Asanka, On Tue, Jun 16, 2015 at 4:27 AM, Asanka Sanjaya Herath wrote: > Hi, > > In last week I was working on following tasks. > > 1. Implementing a way to wait for API call completion > 2. Getting the instance ID(The member ID in IaaS side) and adding the > instance to target pool > > Now I

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Lahiru Sandaruwan
Hi Chamila, IaaS providers are mentioned in cloud controller config file currently. Actually it is a good idea to let the users manage iaas providers through rest API. Otherwise user has to restart Stratos for adding IaaS providers. Since this is a feature, may be we can do this for a next minor

[GSOC] GCE Load Balancing Support for Stratos - weekly update

2015-06-15 Thread Asanka Sanjaya Herath
Hi, In last week I was working on following tasks. 1. Implementing a way to wait for API call completion 2. Getting the instance ID(The member ID in IaaS side) and adding the instance to target pool Now I think the basic functionality of the extension is completed. I tested it with a sample PHP

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Chamila De Alwis
Hi Pubudu, Will this be a read only resource? Would there be API methods to perform CRUD on network partition providers through the REST API? For the sake of completeness IMO we should implement the network partition provider resource to accept add, update, delete methods. But if it is too much wo

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
May be you are experiencing a permission issue. Try to extract the Stratos zip file again with your local user into a new folder and run the stratos.sh. On Tue, Jun 16, 2015 at 12:08 AM, Swapnil Patil wrote: > As an experiment, I replaced apache-stratos-*4.1.0*-SNAPSHOT.zip > with apache-stratos

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
As an experiment, I replaced apache-stratos-*4.1.0*-SNAPSHOT.zip with apache-stratos-*4.0.0*.zip and made necessary changes in setup.conf file. With this server was up and I could see console. I thought of trying this because earlier I had tried it and server had started. But as GSoC students shou

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I tried following commands and got respective output. 1. sh stratos.sh - got permission denied error in stack trace. Please refer attached log. 2. sh stratos.sh start - ps: write error: Bad file descriptor 3. sudo sh stratos.sh - Output as per wso2carbon.log attached earlier. And didn't exit. 4

Re: [Q] Document for the Stratos LB

2015-06-15 Thread Imesh Gunaratne
The following is the current Wiki page we have: https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Manually+Configuring+a+Load+Balancer Need to update how message broker and CEP configurations are done. On Mon, Jun 15, 2015 at 11:43 PM, David Hbase wrote: > Need an advanced document for

[Q] Document for the Stratos LB

2015-06-15 Thread David Hbase
Need an advanced document for the Stratos LB configurations, etc: Session Stick / Round robin / Weighted, HTTP(s)/orther protocol status code check, ... Thanks -D

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
You could use following: sh stratos.sh sh stratos.sh start On Mon, Jun 15, 2015 at 11:25 PM, Swapnil Patil wrote: > Hi Imesh, Lasindu, > > I did try it without sudo. But still the error "ps: write error: Bad file > descriptor" persists. > > Just to confirm - I need to run "./stratos.sh -Dprofile

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Pranavan Theivendiram
Thanks for the update Lahiru. I will proceed with that time interval. *T. Pranavan* *BSc Eng Undergraduate| Department of Computer Science & Engineering ,University of Moratuwa* *Mobile| *0775136836 On 15 June 2015 at 23:27, Lahiru Sandaruwan wrote: > Yes, we receive health stat publisher in ca

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Lahiru Sandaruwan
Yes, we receive health stat publisher in cartridge agent sends events in each 15 seconds. Therefore we will receive about 40 events in 10 mins. This is a good number to find the curve. Thanks. On Mon, Jun 15, 2015 at 11:20 PM, Pranavan Theivendiram < pranavan...@cse.mrt.ac.lk> wrote: > Hi Lahir

Re: [Dev][Stratos] [GSoC] Window time interval size

2015-06-15 Thread Pranavan Theivendiram
Hi Lahiru, I am working on EMA implementation for the events coming from cep. If we take window interval of one minute, I will be receiving less number of events. If we change it to 10 minutes, we can receive more events. Then the prediction will be more accurate. Shall we proceed with that? Than

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Imesh, Lasindu, I did try it without sudo. But still the error "ps: write error: Bad file descriptor" persists. Just to confirm - I need to run "./stratos.sh -Dprofile=default start" to start the server. Am I right? Thanks and Regards, Swapnil On Mon, Jun 15, 2015 at 5:44 PM, Imesh Gunaratne

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Imesh Gunaratne
Hi Swapnil, According to the carbon log the server has not started. Please try to start the server manually with your local user as Lasindu has mentioned (without the installer). Thanks On Mon, Jun 15, 2015 at 11:08 PM, Swapnil Patil wrote: > Hi Lasindu, > > No, I did not. I will try that. Tha

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Imesh Gunaratne
Thanks for looking into this Pubudu! May be we can include this fix in 4.1.0-RC3. On Mon, Jun 15, 2015 at 3:40 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > +1 for the API method > > On Mon, Jun 15, 2015 at 3:35 PM, Lahiru Sandaruwan > wrote: > >> +1. Also. when we are listing NW p

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Lasindu, No, I did not. I will try that. Thanks! Regards, Swapnil On Mon, Jun 15, 2015 at 4:42 PM, Lasindu Charith wrote: > Hi Swapnali, > > Did you try starting the server without 'sudo'(super user)? > > > On Mon, Jun 15, 2015 at 9:57 PM, Swapnil Patil > wrote: > >> I ran start-server.sh

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-15 Thread Swapnil Patil
Hi Imesh, Sure. I will be happy to have another meeting. Thanks and Regards, Swapnil On Mon, Jun 15, 2015 at 5:22 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > Great work! It's nice to see that you have responded to all the items we > discussed in the last meeting. We will have another meeting

Jenkins build is back to normal : Stratos-Master-Commit-Build #673

2015-06-15 Thread Apache Jenkins Server
See

Jenkins build is back to normal : Stratos-Master-Commit-Build » Fabric8 :: Kubernetes Generated Model #673

2015-06-15 Thread Apache Jenkins Server
See

Re: Build failed in Jenkins: Stratos-Master-Commit-Build #672

2015-06-15 Thread Imesh Gunaratne
Hi Devs, This build failure has occurred due to setting the JDK version to 1.6 in Jenkins. Fabric8 was set to compile in JDK 1.7. I have now updated the Jenkins project and triggered a new build. Thanks On Mon, Jun 15, 2015 at 6:32 PM, Apache Jenkins Server < jenk...@builds.apache.org> wrote: >

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-15 Thread Imesh Gunaratne
Hi Swapnil, Great work! It's nice to see that you have responded to all the items we discussed in the last meeting. We will have another meeting this week. Thanks On Mon, Jun 15, 2015 at 11:45 AM, Swapnil Patil wrote: > Hi All, > > Last week I did following things > > 1. Added general extensio

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Lasindu Charith
Hi Swapnali, Did you try starting the server without 'sudo'(super user)? On Mon, Jun 15, 2015 at 9:57 PM, Swapnil Patil wrote: > I ran start-server.sh -p "default". But still the issue persists. > > Output of start-server.sh is as follows. > > $ sudo ./start-servers.sh -p "default" > source it

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
I ran start-server.sh -p "default". But still the issue persists. Output of start-server.sh is as follows. $ sudo ./start-servers.sh -p "default" source it 'default' profile selected. INFO: Using default configuration (you can configure options in one of these file: /etc/default/activemq /root/.a

RE: New committer and PMC member: Vishanth Balasubramaniam

2015-06-15 Thread Martin Eppel (meppel)
Congratulations ! Regards Martin From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Monday, June 15, 2015 1:19 AM To: dev Cc: Vishanth Balasubramaniam Subject: Re: New committer and PMC member: Vishanth Balasubramaniam Congratulations Vishanth..!!! Thanks, Reka On Mon, Jun 15, 2015 at 1:

Build failed in Jenkins: Stratos-Master-Commit-Build #672

2015-06-15 Thread Apache Jenkins Server
See Changes: [imesh] Migrating Kubernetes API client to Fabric8 -- [...truncated 4846 lines...] Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 4538 bytes Compre

Build failed in Jenkins: Stratos-Master-Commit-Build » Fabric8 :: Kubernetes Generated Model #672

2015-06-15 Thread Apache Jenkins Server
See Changes: [imesh] Migrating Kubernetes API client to Fabric8 -- [INFO]

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi Udara, Ok. I will try that. Thanks, Swapnil On Jun 15, 2015 4:19 PM, "Udara Liyanage" wrote: > Hi Swapnil, > > It seems you are running low on RAM. However could you try just starting > Stratos without the installer. > > *TID: [0] [STRATOS] [2015-06-15 10:02:07,072] WARN > {org.wso2.carbon.

Re: Stratos installation successful but console not showing up

2015-06-15 Thread Udara Liyanage
Hi Swapnil, It seems you are running low on RAM. However could you try just starting Stratos without the installer. *TID: [0] [STRATOS] [2015-06-15 10:02:07,072] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 1905 of the system is below the re

Stratos installation successful but console not showing up

2015-06-15 Thread Swapnil Patil
Hi All, I have built Stratos locally and using it while installation (apache-stratos-4.1.0-SNAPSHOT.zip and other zips like cartridge agent and load balancer). Installation is successful but Stratos console is not showing up. I waited for half an hour. Output of netstat doesn't show any entry for

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Anuruddha Liyanarachchi
+1 for the API method On Mon, Jun 15, 2015 at 3:35 PM, Lahiru Sandaruwan wrote: > +1. Also. when we are listing NW partitions, it shows provider as mock, > AFAIR. > > Thanks. > > On Mon, Jun 15, 2015 at 3:32 PM, Pubudu Gunatilaka > wrote: > >> Hi Devs, >> >> In the current implementation, when

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Vishanth Balasubramaniam
+1 for an API method On Mon, Jun 15, 2015 at 3:35 PM, Lahiru Sandaruwan wrote: > +1. Also. when we are listing NW partitions, it shows provider as mock, > AFAIR. > > Thanks. > > On Mon, Jun 15, 2015 at 3:32 PM, Pubudu Gunatilaka > wrote: > >> Hi Devs, >> >> In the current implementation, when a

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Lahiru Sandaruwan
+1. Also. when we are listing NW partitions, it shows provider as mock, AFAIR. Thanks. On Mon, Jun 15, 2015 at 3:32 PM, Pubudu Gunatilaka wrote: > Hi Devs, > > In the current implementation, when adding a network partition it does > list down all the generic network partition providers such as

Re: Listing Network Partition Providers in UI

2015-06-15 Thread Dakshika Jayathilaka
+1 Pubudu, then we can easily use API to list down providers. Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Mon, Jun 15, 2015 at 3:32 PM, Pubudu Gunatilaka wrote: > Hi Devs, > > In the curre

Listing Network Partition Providers in UI

2015-06-15 Thread Pubudu Gunatilaka
Hi Devs, In the current implementation, when adding a network partition it does list down all the generic network partition providers such as mock, ec2, openstack, kubernetes and gce. There can be situations where we may need to add ec2-singapore, ec2-sydney,etc. as network partition providers. Sp

Re: New committer and PMC member: Vishanth Balasubramaniam

2015-06-15 Thread Dedunu Dhananjaya
Congrats Vishanth! :) Regards, Dedunu On Mon, Jun 15, 2015 at 3:10 PM, Mariangela Hills wrote: > Congrats, Vishanth! > > Regards, > Mariangela > > > *Mariangela Hills* > Senior Technical Writer - WSO2, Inc. http://wso2.com > Committer and PMC member - Apache Stratos > email:mariang...@wso2.com

Re: Apache Stratos - Intro and Architecture video

2015-06-15 Thread Shavindri Dissanayake
Hi Sanjeev & Team, I think this is a great initiative. Could we look at including the polished up and finalised video in our docs (for this release maybe because the video and script are already done) and the Apache Stratos website? We will be able to give the user a better understanding of what

Re: New committer and PMC member: Vishanth Balasubramaniam

2015-06-15 Thread Mariangela Hills
Congrats, Vishanth! Regards, Mariangela *Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Mon, Jun 15, 2015 at 1:49 PM, Reka Thirunavukkarasu wrote: > Congratulations Vishanth

Re: New committer and PMC member: Vishanth Balasubramaniam

2015-06-15 Thread Reka Thirunavukkarasu
Congratulations Vishanth..!!! Thanks, Reka On Mon, Jun 15, 2015 at 1:40 PM, Shavindri Dissanayake wrote: > Congratulations Vishanth! > > Thanks & Regards > Shavindri Dissanayake > Technical Writer > > WSO2 Inc. > lean.enterprise.middleware > > On Mon, Jun 15, 2015 at 11:07 AM, shiro wrote: > >

Re: New committer and PMC member: Vishanth Balasubramaniam

2015-06-15 Thread Shavindri Dissanayake
Congratulations Vishanth! Thanks & Regards Shavindri Dissanayake Technical Writer WSO2 Inc. lean.enterprise.middleware On Mon, Jun 15, 2015 at 11:07 AM, shiro wrote: > Congrats Vishanth ! > > On Mon, Jun 15, 2015 at 10:49 AM, Dakshika Jayathilaka > wrote: > >> Congratulations Vishanth! >> >>