Re: [Proposal] Stratos 5.0 - Ignite Architecture

2016-10-17 Thread Swapnil Patil
Hi All, Hope you all are doing good! It's been more than a year since I last contributed to Stratos as a GSoC project. I would like to start contributing again. I liked the idea of "Ignite Architecture". Just wondering if there are any tasks that are planed on which I can try my hands? Thanks,

Re: Merged the AWS load balancer to Stratos 4.1.x branch

2015-10-12 Thread Swapnil Patil
Thanks Gayan! I am glad to hear this. I would be happy to contribute further to Stratos. Thanks and Regards, Swapnil On Sun, Oct 11, 2015 at 10:58 AM, Gayan Gunarathne wrote: > Now I have merged the AWS LB extension[1] to the gsoc-projects-2015 and > added the same thing to the Stratos-4.1.x b

Re: Adding tags to AWS load balancers - AWS LB Extension

2015-09-05 Thread Swapnil Patil
Thanks Imesh! I will send the pull request in a couple of days. Thanks, Swapnil On Fri, Sep 4, 2015 at 8:46 AM, Imesh Gunaratne wrote: > Great! Thanks Swapnil! Feel free to send an update to the same pull > request. > > Thanks > > > On Thu, Sep 3, 2015, 22:22 Swapnil Pati

Adding tags to AWS load balancers - AWS LB Extension

2015-09-03 Thread Swapnil Patil
Hi All, I am planning to add support to add tag to AWS load balancer which will help identify which AWS load balancer is for which cluster. But now as this will not be a part of GSoC how should I go about it? Do I need to discuss it over the mailing list or maybe create an issue in JIRA for this?

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
Please send all your latest changes in a pull request we will use >>> that to review the statistics publishing logic. >>> >>> You have done a great job completing this Google Summer of Code project! >>> Please feel free to contribute to Stratos whenever time per

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
Hi All, Apologies, my broadband connection got disconnected. It is still not up. Let me see if I can join and demo using my mobile internet. I will update you soon. Thanks, Swapnil On Aug 24, 2015 9:20 PM, "Swapnil Patil" wrote: > Hi All, > > Apologies, I had to create a ne

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
Hi All, Apologies, I had to create a new event. Please find it at [1]. [1] https://plus.google.com/hangouts/_/hoaevent/AP36tYdCKApj9pwiZeub5Me4lK3H5O9QZjTRD6a9k5z2BVau74iTaQ?hl=en&authuser=0 On Mon, Aug 24, 2015 at 3:36 PM, Swapnil Patil wrote: > Hi All, > > Please use either

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
Mon, Aug 24, 2015 at 3:28 PM, Swapnil Patil wrote: > Hi All, > > Please find the link for Google Hangout at [1] > > [1] https://plus.google.com/events/c8i8vo21nujb6p7lhmg9qr9tbj4 > > Thanks and Regards, > Swapnil > > On Mon, Aug 24, 2015 at 3:21 PM, Swapn

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
Hi All, Please find the link for Google Hangout at [1] [1] https://plus.google.com/events/c8i8vo21nujb6p7lhmg9qr9tbj4 Thanks and Regards, Swapnil On Mon, Aug 24, 2015 at 3:21 PM, Swapnil Patil wrote: > Hi Chamila, > > Sorry, I had not created the hangout while sending previous ma

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
an't find a hangout link. Is it in a separate thread? > > (On a mobile) > Regards, > Chamila de Alwis > Committer and PMC Member - Apache Stratos > Software Engineer - WSO2 > http://code.chamiladealwis.com > On Aug 24, 2015 9:33 AM, "Swapnil Patil" wrote: >

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-24 Thread Swapnil Patil
tos >>> Software Engineer - WSO2 >>> http://code.chamiladealwis.com >>> On Aug 20, 2015 2:39 PM, "Swapnil Patil" wrote: >>> >>>> Hi Lahiru, >>>> >>>> Apologies, forgot to mention the timezone. Yes, this is

Re: AWS Load Balancing Support for Stratos - Demo

2015-08-20 Thread Swapnil Patil
Hi Lahiru, Apologies, forgot to mention the timezone. Yes, this is IST. Thanks, Swapnil On Thu, Aug 20, 2015 at 6:32 PM, Lahiru Sandaruwan wrote: > > On Thu, Aug 20, 2015 at 1:29 PM, Swapnil Patil > wrote: > >> Hi All, >> >> I would like to demonstrate the e

AWS Load Balancing Support for Stratos - Demo

2015-08-20 Thread Swapnil Patil
Hi All, I would like to demonstrate the extension over a public hangout. I would like to continue working on the project even after GSoC is over. So we can also discuss few improvements we can do in the extension. So can we have a hangout on Monday, 24th August at 9 pm? Please let me know if th

Re: [GSoC 2015] Project deliverables

2015-08-18 Thread Swapnil Patil
Thanks Imesh. I have sent the pull request. Regards, Swapnil On Tue, Aug 18, 2015 at 10:50 AM, Imesh Gunaratne wrote: > Please send the PR now, will review it afterwards. > > On Mon, Aug 17, 2015 at 11:45 PM, Swapnil Patil > wrote: > >> Hi Gayan, Imesh, >> >>

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-08-18 Thread Swapnil Patil
Thanks Imesh. I will send a pull request in the evening. Thanks and Regards, Swapnil On Aug 18, 2015 9:47 AM, "Imesh Gunaratne" wrote: > It would be better to send a pull request Swapnil. It's easier to review > the code there. > > On Sun, Aug 16, 2015 at 10:09

Re: [GSoC 2015] Project deliverables

2015-08-17 Thread Swapnil Patil
Hi Gayan, Imesh, Could you please let me know when I can send a PR for the project AWS Load Balancing Support for Stratos? Can I send the PR now or Do I need to have a code review before I send PR? PS: I had a code review on 29th July. After that I have added code for couple of features and also

AWS Load Balancing Support for Stratos - Blog post

2015-08-17 Thread Swapnil Patil
Hi All, I have written a blog post on this project. Please find it at [1]. Please let me know if you have any suggestions to improve it further. [1] http://swapnil-patil.tumblr.com/post/126845950464/aws-loadbalancing-extension-of-apache-stratos Thanks and Regards, Swapnil

Re: AWS Load Balancing Support for Stratos - Screencast

2015-08-16 Thread Swapnil Patil
day in a demo Swapnil showed this issue to us. We need to > investigate the load balancer extension and see the reason for this problem. > > Thanks > > On Wed, Jul 22, 2015 at 9:21 AM, Swapnil Patil > wrote: > >> Hi Imesh, Lakmal, >> >> I observed the e

Re: [GSoC 2015] Pencils Down Date - AWS Load Balancing Support for Stratos

2015-08-16 Thread Swapnil Patil
should send pull request? Also please let me know if you have any other tasks that I should do. [1] https://docs.google.com/document/d/1MJ9LWel4C2JVPlJUmj01e3ygV4mBzRrzWp9FlQ22RnE/edit?usp=sharing Thanks and Regards, Swapnil On Fri, Aug 14, 2015 at 6:37 PM, Swapnil Patil wrote: > Hi

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-08-15 Thread Swapnil Patil
at 2:39 AM, Swapnil Patil wrote: > Hi All, > > I have made code changes suggested in last code review meeting and > committed at my GitHub repo [1]. > > Please feel free to let me know if I have missed anything. > > [1] https://github.com/swaprp15/stratos > > Thanks a

Re: Deloying and testing REST API changes

2015-08-15 Thread Swapnil Patil
You will see a log appearing in server > startup similar to 'patch changes detected'. > > On Fri, Aug 14, 2015 at 12:17 PM, Swapnil Patil > wrote: > >> Hi Isuru, >> >> I have api.war file in the target directory and in the path you >> mentioned. I hope t

Re: Deloying and testing REST API changes

2015-08-14 Thread Swapnil Patil
, 2015 at 3:29 AM, Swapnil Patil wrote: > Thanks Isuru! > > Regards, > Swapnil > On Aug 14, 2015 1:01 AM, "Isuru Haththotuwa" wrote: > >> Hi Swapnil, >> >> Build the org.apache.stratos.rest.endpoint component with your changes. >> You will find a web

Re: [GSoC 2015] Pencils Down Date - AWS Load Balancing Support for Stratos

2015-08-14 Thread Swapnil Patil
Hi All, In project AWS Load Balancing Support for Stratos, one feature to add domain mapping is remaining. Basically in this extension we create a AWS load balancer for each cluster in the topology. Each load balancer has a DNS name associated with it. So I think we can add domain mapping to a cl

Re: Deloying and testing REST API changes

2015-08-13 Thread Swapnil Patil
he exploded web app files (stratos directory) under > /repository/deployment/server/webapps with the newly built > one, and restart the server. > > On Thu, Aug 13, 2015 at 11:59 AM, Swapnil Patil > wrote: > >> Hi All, >> >> I am modifying the REST API for adding

Deloying and testing REST API changes

2015-08-13 Thread Swapnil Patil
Hi All, I am modifying the REST API for adding domain mappings, to include support for cluster id. I have made code changes. These changes are in org.apache.stratos.rest.endpoint. So just wondering how can I replace just this binary in Stratos and test the API? Instead of building and replacing t

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-11 Thread Swapnil Patil
before so that I can take approval from my manager to adjust my office hours. [1] https://docs.google.com/document/d/1MJ9LWel4C2JVPlJUmj01e3ygV4mBzRrzWp9FlQ22RnE/edit?usp=sharing Thanks and Regards, Swapnil On Mon, Aug 10, 2015 at 6:20 PM, Swapnil Patil wrote: > Thanks Imesh! > > I w

Re: Adding domain mappings using REST API

2015-08-11 Thread Swapnil Patil
Okay. Thank you. I will check. Regards, Swapnil On Tue, Aug 11, 2015 at 12:25 AM, Imesh Gunaratne wrote: > Check the TopologyManager. It should have a method to get cluster objects > by providing the cluster id. > > On Mon, Aug 10, 2015 at 11:53 PM, Swapnil Patil > wrote

Re: Adding domain mappings using REST API

2015-08-10 Thread Swapnil Patil
luster ID to find the Service > Type and invoke the above service method. > > Thanks > > On Mon, Aug 10, 2015 at 12:03 AM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> Sorry, I am not sure I got you. Just to reiterate what I want to say. >> >> In co

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-10 Thread Swapnil Patil
Thanks Imesh! I will start implementing this. Thanks and Regards, Swapnil On Mon, Aug 10, 2015 at 3:47 AM, Imesh Gunaratne wrote: > +1 A good suggestion, will take that approach. > > On Sun, Aug 9, 2015 at 11:31 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> &g

Re: Adding domain mappings using REST API

2015-08-09 Thread Swapnil Patil
e()); > > domainMapping.setClusterId(clusterDataHolder.getClusterId()); > serviceClient.addDomainMapping(domainMapping); > > On Sun, Aug 9, 2015 at 8:53 PM, Swapnil Patil > wrote: > >> Hi All, >> >> I need to add a REST method to add domain m

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-09 Thread Swapnil Patil
hear that. Is there a way to find the total number of > requests being processed (requests in flight) within a given time window? > If so we need to find this for each cluster. > > Thanks > > On Sat, Aug 8, 2015 at 4:13 PM, Swapnil Patil > wrote: > >> Sorry, forgot

Re: Adding domain mappings using REST API

2015-08-09 Thread Swapnil Patil
. There is no clusterIdToClusterDataMap. Thanks and Regards, Swapnil On Mon, Jul 27, 2015 at 3:37 AM, Swapnil Patil wrote: > Oh Okay. Sorry I missed this suggestion during the meeting. I will look > into this. > > Thanks and Regards, > Swapnil > > On Mon, Jul 27, 2015 at 2:5

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-08 Thread Swapnil Patil
Sorry, forgot to mention that it is mentioned that 'max' is preferred for SurgeQueueLength. We should decide which to use - max or average. Thanks and Regards, Swapnil On Sat, Aug 8, 2015 at 10:36 AM, Swapnil Patil wrote: > Hi Imesh, > > I was able to write a sample code to

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-08 Thread Swapnil Patil
rval. Now we need to decide what should be this interval. Any suggestions on this? [1] https://github.com/swaprp15/AWS_ELB_Client [2] http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-cloudwatch-metrics.html Thanks and Regards, Swapnil On Tue, Aug 4, 2015 at 10:48 AM, Swapnil

Need access to wiki to add documentation for AWS Load Balancing Support for Stratos

2015-08-06 Thread Swapnil Patil
Hi All, I need access to wiki to add documentation for AWS Load Balancing Support for Stratos. Could someone please provide me the same? Thanks and Regards, Swapnil

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-04 Thread Swapnil Patil
erGuide/access-log-collection.html > > Thanks > > On Mon, Aug 3, 2015 at 10:49 PM, Swapnil Patil > wrote: > >> Hi All, >> >> Last week I worked on following things. >> >>1. Adding logic for creating security group for load balancers in >>

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-08-03 Thread Swapnil Patil
Hi All, I have made code changes suggested in last code review meeting and committed at my GitHub repo [1]. Please feel free to let me know if I have missed anything. [1] https://github.com/swaprp15/stratos Thanks and Regards, Swapnil On Jul 29, 2015 5:05 PM, "Swapnil Patil" wrote:

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-03 Thread Swapnil Patil
=26 Thanks and Regards, Swapnil On Mon, Jul 27, 2015 at 5:36 AM, Swapnil Patil wrote: > Hi All, > > Last week I worked on following things. > > 1. Tested the extension for scale up and scale down. > 2. Tested the extension for changing the port mappings of a cartridge. >

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-29 Thread Swapnil Patil
needed. >9. Add method comments. > > Thank you. > > On Wed, Jul 29, 2015 at 2:11 PM, Swapnil Patil > wrote: > >> Hi All, >> >> I have started hangout. You can join in for code review. >> >> URL: https://plus.google.com/hangouts/_/g7jnhpysd

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-29 Thread Swapnil Patil
Hi All, I have started hangout. You can join in for code review. URL: https://plus.google.com/hangouts/_/g7jnhpysd3dxyyrqycerhd6iyua Thanks and Regards, Swapnil On Mon, Jul 27, 2015 at 1:14 PM, Swapnil Patil wrote: > Hi Imesh, > > Ok. No problem. We can have this on Wednesday 29th

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-27 Thread Swapnil Patil
> > Thanks > > On Mon, Jul 27, 2015 at 2:23 PM, Swapnil Patil > wrote: > >> It seems no one has joined yet. Shall we have it some other time? >> >> Thanks and Regards, >> Swapnil >> >> On Mon, Jul 27, 2015 at 8:28 AM, Swapnil Patil >>

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-27 Thread Swapnil Patil
It seems no one has joined yet. Shall we have it some other time? Thanks and Regards, Swapnil On Mon, Jul 27, 2015 at 8:28 AM, Swapnil Patil wrote: > Hi All, > > I have started a Google Hangout. You can join in for code review. > > Hangout URL: > https://plus.g

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-27 Thread Swapnil Patil
Hi All, I have started a Google Hangout. You can join in for code review. Hangout URL: https://plus.google.com/hangouts/_/guna2qyr7euqebsqk7lm42j6hia Thanks and Regards, Swapnil On Sat, Jul 25, 2015 at 2:38 AM, Swapnil Patil wrote: > Sure. Fine with me. > > Thanks and Regards,

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-26 Thread Swapnil Patil
get in flight request count. I have posted a question for the same on aws forum. [2] [1] https://github.com/swaprp15/stratos [2] https://forums.aws.amazon.com/thread.jspa?threadID=26 Thanks and Regards, Swapnil On Tue, Jul 21, 2015 at 3:56 PM, Swapnil Patil wrote: > Hi Imesh, > >

Re: Adding domain mappings using REST API

2015-07-26 Thread Swapnil Patil
alias. > > On Sun, Jul 26, 2015 at 10:51 PM, Swapnil Patil > wrote: > >> Thanks Ashan! >> >> But unfortunately I don't have access to application id. So this method >> will not be useful for me. >> >> Thanks and Regards, >> Swapnil >&g

Re: Adding domain mappings using REST API

2015-07-26 Thread Swapnil Patil
> > curl -k -u admin:admin https://localhost:9443/api/v4.1/applications/{ > applicationId}/runtime/ > curl -k -u admin:admin > https://localhost:9443/api/v4.1/applications/tomcat-single-signon/runtime/ > > I hope this may help. > > Thank You! > Best Regards, > Ashan >

Adding domain mappings using REST API

2015-07-26 Thread Swapnil Patil
Hi All, I want to add domain mappings to a cluster as a part of AWS load balancer extension functionality. For that I went through [1]. But I have a couple of doubts. 1. In the request, I need to specify cartridge alias. But I am not able to find a way to get the alias of a cluster using Service

Not able to use AWS region other than the one specified in cloud controller

2015-07-25 Thread Swapnil Patil
Hi All, I was trying to deploy a sample php application in AWS region ap-southeast-2. But I got the following error messages. [2015-07-25 06:57:37,291] ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - Failed to start an instance. MemberContext [applicationId=single-cartridge-app-

Re: Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-24 Thread Swapnil Patil
Sure. Fine with me. Thanks and Regards, Swapnil On Fri, Jul 24, 2015 at 5:59 PM, Imesh Gunaratne wrote: > Shall we move this to 2 PM on the same day (27th July)? > > Thanks > > On Fri, Jul 24, 2015 at 6:49 PM, Swapnil Patil > wrote: > >> Hi All, >> >>

Code Review meeting - AWS Load Balancing Support for Stratos

2015-07-24 Thread Swapnil Patil
Hi All, I am planning to schedule a code review meeting for AWS extension on Monday at 1 pm. Please feel free to let me know if you want to reschedule it at different time or a day? Thanks and Regards, Swapnil

Re: AWS Load Balancing Support for Stratos - Meeting notes

2015-07-24 Thread Swapnil Patil
Hi All, I have committed all my latest changes for aws extension in my GitHub repository. Please feel free to try it out and give feedback. GitHub URL : https://github.com/swaprp15/stratos Thanks and Regards, Swapnil On Wed, Jul 22, 2015 at 11:17 AM, Swapnil Patil wrote: > Hi All, > &

Re: AWS Load Balancing Support for Stratos - Meeting notes

2015-07-22 Thread Swapnil Patil
next week. I will send a mail regarding the same. Thanks and Regards, Swapnil On Mon, Jun 29, 2015 at 11:40 AM, Swapnil Patil wrote: > Hi All, > > Imesh, Udara and I had a hangout session today. > > We discussed progress of the project till now. Had a demo of whatever is

Re: AWS Load Balancing Support for Stratos - Screencast

2015-07-21 Thread Swapnil Patil
xpect. Thanks and Regards, Swapnil On Tue, Jul 21, 2015 at 4:27 AM, Imesh Gunaratne wrote: > On Mon, Jul 20, 2015 at 9:20 PM, Swapnil Patil > wrote: >> >> >> Though there was some time lag for the extension to get to know the newly >> spawned instance. When a new

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-21 Thread Swapnil Patil
gt; On Tue, Jul 21, 2015 at 5:40 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> Apologies for the delay. >> >> Any time tomorrow would be fine for me. >> >> Regards, >> Swapnil >> On Jul 21, 2015 9:54 AM, "Imesh Gunaratne" wro

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-21 Thread Swapnil Patil
> Thanks > > On Mon, Jul 20, 2015 at 11:47 AM, Swapnil Patil > wrote: > >> Hi All, >> >> In last week I worked on following tasks. >> >> 1. Tested and modified extension to make sure it works properly when a >> simple application is deployed and un

Re: AWS Load Balancing Support for Stratos - Screencast

2015-07-20 Thread Swapnil Patil
n, Jul 20, 2015 at 9:20 PM, Swapnil Patil > wrote: > >> Hi Lakmal, >> >> I tested the extension for scale up and scale down. And it did work as >> expected. It attached the the newly spawned instances to the LB while >> scaling up and detached the terminated inst

Re: AWS Load Balancing Support for Stratos - Screencast

2015-07-20 Thread Swapnil Patil
sanka? Thanks and Regards, Swapnil On Mon, Jul 20, 2015 at 5:37 AM, Swapnil Patil wrote: > Thanks Lakmal! > > I have the logic in place to attach newly created instances to LB in case > of scale up and same for scale down. But I have not tested it yet. That > testing will be my next st

Re: Simulating scale up and scale down

2015-07-20 Thread Swapnil Patil
u-computer-with-stress/ > > Thanks, > Raj. > > On Mon, Jul 20, 2015 at 5:01 PM, Swapnil Patil > wrote: > >> Hi All, >> >> I am currently testing AWS Load Balancer extension which is under >> development. I want to test the extension for scale up and scale do

Simulating scale up and scale down

2015-07-20 Thread Swapnil Patil
Hi All, I am currently testing AWS Load Balancer extension which is under development. I want to test the extension for scale up and scale down. As per my understanding, scaling up and scaling down is done based on the auto-scaling policy used. So this will act on the real work load. I was just w

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-19 Thread Swapnil Patil
create and use it. 4. Implementing logic for getting in flight request count. I would appreciate any thoughts on next steps. Thanks and Regards, Swapnil On Thu, Jul 16, 2015 at 6:33 PM, Swapnil Patil wrote: > Hi Akila, > > I updated the issue with latest status and github repo. But I am

Re: AWS Load Balancing Support for Stratos - Screencast

2015-07-19 Thread Swapnil Patil
scale up > , does AWS load balancer extension attached the newly created instance to > LB? same like when scale down does it detached the deleted instance from > LB? Also when attaching and detaching does any service interruption occurs? > > thanks > > On Mon, Jul 20, 2015 at 10

AWS Load Balancing Support for Stratos - Screencast

2015-07-19 Thread Swapnil Patil
Hi AIl, I have published screencast of AWS load balancer extension on YouTube. Here is the link : https://youtu.be/ZNl8JVB7xeU I would appreciate any suggestions. Thanks and Regards, Swapnil

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks Rajkumar. It worked. Regards, Swapnil On Fri, Jul 17, 2015 at 8:34 AM, Swapnil Patil wrote: > Thanks! > > Regards, > Swapnil > > On Fri, Jul 17, 2015 at 8:32 AM, Rajkumar Rajaratnam > wrote: > >> You don't need to restart puppet master. You can us

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks! Regards, Swapnil On Fri, Jul 17, 2015 at 8:32 AM, Rajkumar Rajaratnam wrote: > You don't need to restart puppet master. You can use the same base image. > > Thanks. > > On Fri, Jul 17, 2015 at 2:00 PM, Swapnil Patil > wrote: > >> Thanks Rajkumar! >&

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
ridge base image Sorry for a lot of questions. Thanks, Swapnil On Fri, Jul 17, 2015 at 8:06 AM, Rajkumar Rajaratnam wrote: > > > On Fri, Jul 17, 2015 at 1:27 PM, Swapnil Patil > wrote: > >> Thanks Rajkumar! >> >> Do I need to set it in >> ​​ >> thrif

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
015 at 12:28 PM, Swapnil Patil > wrote: > >> I checked Stratos log and I did find member fault event. >> >> TID: [0] [STRATOS] [2015-07-17 06:41:32,767] INFO >> {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} - Faulty >> member

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
ports] ['7711'] 2015-07-17 06:44:48,164:DEBUG:Port '7711' is not active 2015-07-17 06:44:53,169:INFO:Waiting for ports to be active: [ip] '127.0.0.1' [ports] ['7711'] 2015-07-17 06:44:53,170:DEBUG:Port '7711' is not active 2015-07-17 06:44:58,175:I

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
Thanks Rajkumar for the suggestion! Regards, Swapnil On Fri, Jul 17, 2015 at 6:05 AM, Rajkumar Rajaratnam wrote: > > > On Fri, Jul 17, 2015 at 11:31 AM, Swapnil Patil > wrote: > >> Thanks Akila and Udara! >> >> I will check Stratos logs. >> >> I n

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
> This is probably because instances that were spawned got activated but >> failed to publish health stats to CEP. Check whether CEP IP and port are >> correctly set in the cartridge definition. Did you check Stratos logs for >> possible causes? >> >> On Fri, Jul

AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
Hi All, I am testing the AWS load balancer extension using sample ec2 scripts. I am using simple application scripts for deployment. Application gets deployed successfully but the instance that got created gets terminated immediately (in around 2 minutes) and a new one is started. Just wondering

Re: AWS Load Balancer Support - issue with topology update

2015-07-16 Thread Swapnil Patil
rst time. Initialize the member list from the first topology > update and build the member list by listening to other member events on the > fly. > > Thanks. > > On Thu, Jul 16, 2015 at 1:40 PM, Swapnil Patil > wrote: > >> Hi All, >> >> Till now I am ab

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-16 Thread Swapnil Patil
Hi Akila, I updated the issue with latest status and github repo. But I am not able to find a way to assign this to myself. Could you please let me know how to do it? Thanks and Regards, Swapnil On Thu, Jul 16, 2015 at 3:53 PM, Swapnil Patil wrote: > Hi Akila, > > Sure. Will do. &

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-16 Thread Swapnil Patil
self. > > [1] https://issues.apache.org/jira/browse/STRATOS-500 > > Thanks. > > On Mon, Jun 29, 2015 at 4:48 PM, Swapnil Patil > wrote: > >> Hi Udara, >> >> Okay. I will go through it and see if we can use it instead of aws sdk. >> >> Thank

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

2015-07-16 Thread Swapnil Patil
+1. Yes, this will be very helpful. I will also do it for AWS Load Balancer Support. Thanks, Swapnil On Jul 16, 2015 12:10 PM, "Gayan Gunarathne" wrote: > Great stuff Asanka. Good initiative. That will be really useful. IMO also > we can follow the same for other projects. > > Thanks, > Gayan >

AWS Load Balancer Support - issue with topology update

2015-07-16 Thread Swapnil Patil
Hi All, Till now I am able to create load balancer for a new cluster and attach its members to load balancer. But I am facing an issue. I am using sample ec2 scripts to deploy application. For initial topology update all works fine. I get a new cluster and member in it. So the extension create

AWS Load Balancing Support for Stratos - Weekly Update

2015-07-04 Thread Swapnil Patil
Hi All, I am sending this week's update a little early as I will be out of station for next three days. This week I was able to make necessary code changes to create aws load balancer and attach any newly created instances to it. I used AWS sdk itself as of now because I thought first I should s

Re: Exposing instance id through topology

2015-07-02 Thread Swapnil Patil
t; well. See this commit [1]. >> >> [1]. >> https://github.com/apache/stratos/commit/9f44791884a5447a0e5d00f7a4b46047b3b2 >> >> On Thu, Jul 2, 2015 at 11:56 PM, Swapnil Patil >> wrote: >> >>> Hi Asanka, >>> >>> I am trying to expose instance id t

Re: Exposing instance id through topology

2015-07-02 Thread Swapnil Patil
> [1]. > https://github.com/apache/stratos/commit/9f44791884a5447a0e5d00f7a4b46047b3b2 > > On Thu, Jul 2, 2015 at 11:56 PM, Swapnil Patil > wrote: > >> Hi Asanka, >> >> I am trying to expose instance id through topology. For that I have made >> these chan

Exposing instance id through topology

2015-07-02 Thread Swapnil Patil
Hi Asanka, I am trying to expose instance id through topology. For that I have made these changes [1]. I am trying to retrieve instance id of member context and set it to Member object inside handleMemberCreatedEvent. But I am getting instance id of member context, which is passed as argument as n

AWS Load Balancing Support for Stratos - Meeting notes

2015-06-29 Thread Swapnil Patil
Hi All, Imesh, Udara and I had a hangout session today. We discussed progress of the project till now. Had a demo of whatever is done till now which included running aws extension and see if configure method of extension gets called on deploying application on ec2. I am currently using AWS Java

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-29 Thread Swapnil Patil
tps://github.com/jclouds/jclouds-labs-aws/blob/master/aws-elb/pom.xml > > On Mon, Jun 29, 2015 at 12:13 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> Ok. 2 PM today is fine for me. >> >> Thanks and Regards, >> Swapnil >> On Jun 29, 2015 11:31 A

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-28 Thread Swapnil Patil
ST. Let me know > your availability. > > Thanks > > On Mon, Jun 29, 2015 at 11:14 AM, Swapnil Patil > wrote: > >> Hi All, >> >> Last week I worked on testing load balancer extension with ec2 >> cartridges. Till now I was able to spawn ec2 cartridge and ha

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
n details in [1]. It provides > all the details for setting up in a EC2 environment. > > [1] - > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Install+Stratos+with+EC2+in+a+Testing+Environment > > Thank you! > > On Mon, Jun 29, 2015 at 2:03 AM, Swapnil Pati

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-28 Thread Swapnil Patil
were few errors related to my code changes. In this week I will continue to test the extension and make necessary changes in order to act on topology events properly and create and configure aws load balancers. Thanks and Regards, Swapnil On Tue, Jun 23, 2015 at 9:11 AM, Swapnil Patil wrote

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
.properties - puppet master IP and hostname > 2. jndi.properties - message broker setup > 3. thrift-client-config.xml - CEP setup > > @Mari: Do we have above mentioned file configurations in wiki? I could > not find any. I think we need to add these. > > Thank you! > > > On Su

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+Puppet+Master [2] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master Thanks and Regards, Swapnil On Sun, Jun 28, 2015 at 2:12 PM, Swapnil Patil wrote: > Hi Imesh, Pubudu, > > I c

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-28 Thread Swapnil Patil
and not the hostname of master. Thanks and Regards, Swapnil On Sat, Jun 27, 2015 at 3:57 PM, Swapnil Patil wrote: > Hi Imesh, Pubudu, > > I did not find screen.agent.log under /tmp in ec2 cartridge instance > created. Seems I did something wrong while configuring either puppet

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Swapnil Patil
, 2015 at 12:39 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > Can you please verify the CEP IP and MB IP values passed into the EC2 > instance created? You could find these values in the cartridge agent log > file (/tmp/screen.agent.log). > > Thanks > > On Sat, Jun 27, 2015

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-27 Thread Swapnil Patil
luence/display/STRATOS/4.1.0+Install+Stratos+with+EC2+in+a+Testing+Environment > [2] - > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+Puppet+Master > > Thank you! > > On Sat, Jun 27, 2015 at 12:10 PM, Swapnil Patil > wrote: > >> Hi Pubudu, >&g

Re: Log stops at Member initialized when deploying ec2 cartridge

2015-06-26 Thread Swapnil Patil
agent log? You cannot deploy the same network > partition in mock which you used in ec2. Configurations are different. > > Thank you! > > On Sat, Jun 27, 2015 at 9:47 AM, Swapnil Patil > wrote: > >> Hi All, >> >> I have setup Stratos on one ec2 instance

Log stops at Member initialized when deploying ec2 cartridge

2015-06-26 Thread Swapnil Patil
Hi All, I have setup Stratos on one ec2 instance and MB on another ec2 instance. When I try to deploy ec2 application using sample script, application does get deployed and I can see ec2 instance being created for cartridge. But in wso2carbon.log I can only see messages till Member initialized. M

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-23 Thread Swapnil Patil
ation with MB, CEP on different EC2 instances. Thanks and Regards, Swapnil On Jun 23, 2015 2:08 PM, "Imesh Gunaratne" wrote: > Thanks for the update Swapnil! > > On Mon, Jun 22, 2015 at 12:46 PM, Swapnil Patil > wrote: > >> Hi, >> >> 3. To test the oth

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-22 Thread Swapnil Patil
/5770646efe7faa50b8ea2c36391a03e0e404a632 Thanks and Regards, Swapnil On Mon, Jun 15, 2015 at 5:35 PM, Swapnil Patil wrote: > 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

Re: Retrieving EC2 instance id from its public IP address

2015-06-21 Thread Swapnil Patil
need to add it to the load balancer Topology (load balancer has a >> separate structure). >> >> Please note that Autoscaler also use the term "Instance Id" to refer >> Application Instances, Group Instances & Cluster Instances. May be we need >> to clearly doc

Re: Retrieving EC2 instance id from its public IP address

2015-06-21 Thread Swapnil Patil
document this. > > Thanks > > On Sun, Jun 21, 2015 at 2:14 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> Yes we can do that. But it doesn't reduce the time taken by the method >> call. It is more or less same as when filters are used. >> >>

Re: Retrieving EC2 instance id from its public IP address

2015-06-21 Thread Swapnil Patil
> May be we can do a instance query without any filters and then find the > required instances that match the IP addresses locally. > > Thanks > > On Fri, Jun 19, 2015 at 9:17 PM, Swapnil Patil > wrote: > >> Just one concern here. >> >> I measured t

Re: httpclient-4.1.1-wso2v1.jar and httpclient-4.2.jar

2015-06-20 Thread Swapnil Patil
Thanks Gayan. Adding a new dependency for httpclient-4.2.5.wso2v1.jar resolved the problem. Regards, Swapnil On Fri, Jun 19, 2015 at 3:28 PM, Swapnil Patil wrote: > Thanks Gayan. > > I will look into it. > > Thanks and Regards, > Swapnil > > On Fri, Jun 19, 2015 at 11

Re: Retrieving EC2 instance id from its public IP address

2015-06-19 Thread Swapnil Patil
, Swapnil On Fri, Jun 19, 2015 at 3:35 PM, Swapnil Patil wrote: > Hi Imesh, > > As discussed in the last hangout. I tried if we can get instance id using > public IP of the ec2 instance. It is indeed possible to do this. > > I have committed code for this in the client for AWS AP

Retrieving EC2 instance id from its public IP address

2015-06-19 Thread Swapnil Patil
Hi Imesh, As discussed in the last hangout. I tried if we can get instance id using public IP of the ec2 instance. It is indeed possible to do this. I have committed code for this in the client for AWS API [1]. So just wondering if this is what we should use instead of making changes to expose i

Re: httpclient-4.1.1-wso2v1.jar and httpclient-4.2.jar

2015-06-19 Thread Swapnil Patil
gt; You can use the same way. > [1] > https://github.com/apache/stratos/blob/master/components/org.apache.stratos.mock.iaas.client/pom.xml > > Thanks, > Gayan > > > On Thu, Jun 18, 2015 at 11:12 PM, Swapnil Patil > wrote: > >> Thanks Gayan. >> >> I

  1   2   >