Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-06 Thread Asanka Sanjaya Herath
Hi Isuru, Thanks. I'll try it and update the thread. On Wed, May 6, 2015 at 12:35 PM, Isuru Haththotuwa wrote: > Hi Asanka, > > On Wed, May 6, 2015 at 12:18 PM, Asanka Sanjaya Herath > wrote: > >> Hi Isuru, >> >> I just used a public Ubuntu 12.04 image available in GCE. If it is >> required to

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-06 Thread Isuru Haththotuwa
Hi Asanka, On Wed, May 6, 2015 at 12:18 PM, Asanka Sanjaya Herath wrote: > Hi Isuru, > > I just used a public Ubuntu 12.04 image available in GCE. If it is > required to create a cartridge image, I'll create one, test it and update > the thread. I just want to know whether Stratos is capable to

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-05 Thread Asanka Sanjaya Herath
Hi Isuru, I just used a public Ubuntu 12.04 image available in GCE. If it is required to create a cartridge image, I'll create one, test it and update the thread. I just want to know whether Stratos is capable to create instances in GCE. On Wed, May 6, 2015 at 12:09 PM, Isuru Haththotuwa wrote:

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-05 Thread Isuru Haththotuwa
Hi Asanka, What is the image that you are using? Did you create an image in GCE following the documentation available? On Tue, May 5, 2015 at 8:36 PM, Asanka Sanjaya Herath wrote: > Hi Gayan, > > I traced the NodeMetadata object and found that the error caused because > of OS value is null. The

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-05 Thread Asanka Sanjaya Herath
Hi Gayan, I traced the NodeMetadata object and found that the error caused because of OS value is null. The exception cased in JcloudIaas.java [1]. Is there any way to get rid of this exception? Where can I set the value for OS? 1. line 163 - instanceMetadata.setOperatingSystemName(nodeMetadata.g

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-05 Thread Gayan Gunarathne
Hi Asanka, Can you trace the "NodeMetadata" object and see what are the values that we are missing when creating the instance meta data. Thanks, Gayan -- On Mon, May 4, 2015 at 7:07 PM, Asanka Sanjaya Herath wrote: > Hi All, > > When I try to deploy an application in GCE I'm getting the follo

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-04 Thread Asanka Sanjaya Herath
Hi All, When I try to deploy an application in GCE I'm getting the following error in stratos console even though I can see the spawned instance in GCE. CLI Command: deploy-application -a single-cartridge-app -ap application-policy-1 Error: java.lang.NullPointerException at org.apache.stra

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-04 Thread Asanka Sanjaya Herath
Hi, Once I use PEM format authentication issue resolved. Thanks for the help. On Mon, May 4, 2015 at 1:50 PM, Asanka Sanjaya Herath wrote: > Thanks for the help. I'll follow the given instructions and update the > thread. > > On Mon, May 4, 2015 at 1:38 PM, Gayan Gunarathne wrote: > >> Hi Asan

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-04 Thread Asanka Sanjaya Herath
Thanks for the help. I'll follow the given instructions and update the thread. On Mon, May 4, 2015 at 1:38 PM, Gayan Gunarathne wrote: > Hi Asanka, > > As Isuru mention please check with the gce credentials in PEM format.Also > please follow the GCEIaas[1] in the cloud controller where we build

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-04 Thread Gayan Gunarathne
Hi Asanka, As Isuru mention please check with the gce credentials in PEM format.Also please follow the GCEIaas[1] in the cloud controller where we build the jcloud compute template which help you to troubleshoot the connectivity problems with GCE. [1] https://github.com/apache/stratos/blob/master

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-03 Thread Isuru Haththotuwa
Hi Asanka, The private key you downloaded from your GCE account is in PKCS format. You will need to convert it to PEM format. As per what I read, the private key in PEM format is what is required as the credentials. Please refer [1, 2]. [1]. https://github.com/pires/jclouds-gce-example/blob/maste

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-03 Thread Asanka Sanjaya Herath
Thanks Imesh and Dakshika for information. But the error is still there. It still says "Could not start an instance, jclouds template is null for iaas provider [type]: gce ". I suspect that may be a credential issue. I just added my private key ID to credential tag in cloud-controller xml. Is that

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-03 Thread Dakshika Jayathilaka
Yes, that would be great.. then we can list them accordingly. Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, May 3, 2015 at 5:34 PM, Imesh Gunaratne wrote: > Thanks Dakshika for the qui

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-03 Thread Imesh Gunaratne
Thanks Dakshika for the quick response! I see a potential problem here. IMO IaaS providers cannot be treated as a enumeration because users can define any number of IaaS providers with arbitrary names. As a example; "ec2-1", "ec2-2", "openstack-1", "openstack-2", etc. I understand that you have tr

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-03 Thread Dakshika Jayathilaka
Hi, Yes, This happens due to JSON schema enum property. currently we have below enum properties in schema. "enum": ["mock", "ec2", "openstack", "kubernetes"] @Asanka: please add "enum": ["mock", "ec2", "openstack", "kubernetes", "gce" ] into it. Schema Path : components/org.apache.stratos.ma

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-02 Thread Imesh Gunaratne
Dakshika: Do you have any thoughts on this? Thanks On Friday, May 1, 2015, Asanka Sanjaya Herath wrote: > Hi Imesh, > > Thanks for the response. I have attached the screen shot with this. > > On Fri, May 1, 2015 at 10:07 PM, Imesh Gunaratne > wrote: > >> Hi Asanka, >> >> Good to hear that you

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-02 Thread Asanka Sanjaya Herath
Hi Imesh, Thanks for the response. I have attached the screen shot with this. On Fri, May 1, 2015 at 10:07 PM, Imesh Gunaratne wrote: > Hi Asanka, > > Good to hear that you were able to resolve the compilation issue. I'm not > sure whether we have a GCE account for Stratos, will check with Lakm

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Imesh Gunaratne
Hi Asanka, Good to hear that you were able to resolve the compilation issue. I'm not sure whether we have a GCE account for Stratos, will check with Lakmal. Your partition.json looks ok for me, will you be able to share a screen shot of the UI where it was displayed as "mock"? Thanks On Fri, Ma

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Asanka Sanjaya Herath
​​ Hi All, I added a network partition using CLI by using the attached JSON file. Then I looked at the stratos UI and the Network Partition provider is listed as 'mock' instead of gce for the partition I added. Will that be a problem when I deploy an application using stratos? On Fri, May 1, 201

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Asanka Sanjaya Herath
Build succeeded once I remove the .m2 folder. I'm just wondering whether I should use my own GCE account or an account provided by you. Because the trial period of my existing GCE account will end in 19 days. On Thu, Apr 30, 2015 at 10:25 AM, Asanka Sanjaya Herath wrote: > Thanks Imesh for the i

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Asanka Sanjaya Herath
Thanks Imesh for the information. I'll try again by removing the .m2 folder and update the thread. On Thu, Apr 30, 2015 at 10:14 AM, Imesh Gunaratne wrote: > Hi Asanka, > > I found following errors in your log: > > [ERROR] > /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/sr

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Imesh Gunaratne
Hi Asanka, I found following errors in your log: [ERROR] /home/sanjaya/myStratos/stratos/extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/SecondDerivativeFinderWindowProcessor.java:[51,1] cannot find symbol [ERROR] symbol: class SiddhiExtension [ERROR] @SiddhiEx

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Asanka Sanjaya Herath
Hi, I build again using maven 3.0.4 and oracle Java 1.7.0 but still I'm getting the same error. On Wed, Apr 29, 2015 at 6:45 PM, Asanka Sanjaya Herath wrote: > > > On Wed, Apr 29, 2015 at 6:42 PM, Asanka Sanjaya Herath > wrote: > >> Hi Isuru, >> >> Thank you for the information. Currently I ha

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Asanka Sanjaya Herath
On Wed, Apr 29, 2015 at 6:42 PM, Asanka Sanjaya Herath wrote: > Hi Isuru, > > Thank you for the information. Currently I have Java 1.6. I'll build using > Java 1.7 and update the tread. > > On Wed, Apr 29, 2015 at 6:00 PM, Isuru Haththotuwa > wrote: > >> Hi Asanka, >> >> I just build master bran

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Isuru Haththotuwa
Hi Asanka, I just build master branch with tests successfully. What is the Java version and the Maven version that you are using? Its recommended to use Oracle JDK 1.7 and Maven 3.x.x. On Wed, Apr 29, 2015 at 4:32 PM, Asanka Sanjaya Herath wrote: > Hi All, > > I tried to build the latest strato

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-29 Thread Asanka Sanjaya Herath
Hi All, I tried to build the latest stratos source master branch. I ended up with getting this error- please see the attachment. On Tue, Apr 28, 2015 at 10:35 PM, Asanka Sanjaya Herath wrote: > Hi Vishanth, > > Thanks for the information. I'll try to deploy an application manually > using the

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-28 Thread Asanka Sanjaya Herath
Hi Vishanth, Thanks for the information. I'll try to deploy an application manually using the CLI. On Tue, Apr 28, 2015 at 10:30 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi Asanka, > > Currently we do not have any sample applications written for GCE IaaS. > > Regards, > Vishan

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-28 Thread Vishanth Balasubramaniam
Hi Asanka, Currently we do not have any sample applications written for GCE IaaS. Regards, Vishanth On Tue, Apr 28, 2015 at 10:20 PM, Asanka Sanjaya Herath wrote: > Hi All, > > Thanks for selecting me for this project. I'm just wondering whether there > is any sample script already available f

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-28 Thread Asanka Sanjaya Herath
Hi All, Thanks for selecting me for this project. I'm just wondering whether there is any sample script already available for deploying an application in GCE. I can find the ec-2 and openstack scripts. But are there any automated script available for GCE? On Thu, Mar 26, 2015 at 10:03 PM, Asanka

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Swapnil Patil
Hi Imesh, Thank you! But it seems I still don't have edit rights. Could you please check it once? Thanks and Regards, Swapnil On Wed, Apr 22, 2015 at 11:44 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > I have given you post edit rights to the proposal, you could try to edit > it in Melange. >

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Imesh Gunaratne
Hi Swapnil, I have given you post edit rights to the proposal, you could try to edit it in Melange. Thanks On Wed, Apr 22, 2015 at 6:47 PM, Swapnil Patil wrote: > Hi Gayan, > > OK. I will put a comment. > > Thank you for your time. > > Regards, > Swapnil > > On Wed, Apr 22, 2015 at 6:28 PM, Ga

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Swapnil Patil
Hi Gayan, OK. I will put a comment. Thank you for your time. Regards, Swapnil On Wed, Apr 22, 2015 at 6:28 PM, Gayan Gunarathne wrote: > Hi Swapnil, > > I guess now you can't update the proposal in the GSoC site. But you can > put this approach as a comment in that proposal. > > Thanks, > Gay

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Gayan Gunarathne
Hi Swapnil, I guess now you can't update the proposal in the GSoC site. But you can put this approach as a comment in that proposal. Thanks, Gayan On Wed, Apr 22, 2015 at 6:15 PM, Swapnil Patil wrote: > Hi Gayan, > > Thank you for your opinion. > > Could you please tell me what should be my ne

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Swapnil Patil
Hi Gayan, Thank you for your opinion. Could you please tell me what should be my next step? Do I need to update my proposal on GSoC site? Thanks and Regards, Swapnil On Wed, Apr 22, 2015 at 5:04 PM, Gayan Gunarathne wrote: > Hi Swapnil, > > +1 for the approach.Yeah you can create a forwarding

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-22 Thread Gayan Gunarathne
Hi Swapnil, +1 for the approach.Yeah you can create a forwarding rule with the external IP and associate with the target pool. Thanks, Gayan On Tue, Apr 21, 2015 at 6:59 PM, Swapnil Patil wrote: > Hi Gayan, > > Thank you for your thoughts. > > Okay. So if no HA Proxy to be used, my approach wo

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-21 Thread Swapnil Patil
Hi Gayan, Thank you for your thoughts. Okay. So if no HA Proxy to be used, my approach would be as follows. Whenever topology change event is received this new load balancer extension will do following things. for each service for each cluster of the service if a target pool is not created for

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-21 Thread Gayan Gunarathne
Hi Swapnil, IMO also we don't need HAProxy to do the port switching. As we are using target pool for each cluster and you can assign the IP address to a forwarding rule which is associate with the thread pool. Whenever you access the service attach with the IP, it will forward the traffic into one

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Swapnil Patil
Hi Imesh, Thank you for your input. Yes, I agree that we should create a target pool for each cluster. But as far as I know, we can't assign IP address to a target pool. We can assign IP address to a forwarding rule and a target pool will be associated with a forwarding rule. Also forwarding rule

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Imesh Gunaratne
Hi Swapnil, Thanks for your response on this. IMO we could achieve this functionality without having to use a haproxy instance. The concept we have here is to group all the members of a cluster and use a hostname to load balance incoming requests among them. With GCE what we can do is to create a

Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Swapnil Patil
Hi, I have proposed a solution for the project on $subject where I am using an HA Proxy between incoming request and Google Compute Engine (GCE) load balancing components. I have been advised to provide more description regarding why I am using HA Proxy in my proposed solution. Please find below

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-26 Thread Asanka Sanjaya Herath
Here I'm sharing my proposal [1] for GCE load balancing support for Stratos. Any comment or suggestion is really appreciated. [1]. https://docs.google.com/document/d/1tdOGPA2d8_D1-qX0KE0xlzYMFi7JWIwcJmHjmUibQls/edit?usp=sharing On Thu, Mar 26, 2015 at 12:59 AM, Asanka Sanjaya Herath wrote: > ​H

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-25 Thread Asanka Sanjaya Herath
​Hi, I started writing the proposal for ec-2 load balancer project. I'm sharing my proposal [1] with​ all. Any suggestions and comments are appreciated. [1]. https://docs.google.com/document/d/1AtO0URu1oCfanyDxaQZsSv5PTH-O3oJ_OHwRgyPhtpc/edit?usp=sharing Thanks. On Sun, Mar 22, 2015 at 11:42 A

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-21 Thread Asanka Sanjaya Herath
Thanks for the information. On Sun, Mar 22, 2015 at 10:05 AM, Imesh Gunaratne wrote: > Hi Asanka, > > You can find some information here: > > https://docs.google.com/document/d/1_UyglvcuNASxFbC6YK4zDoKohx9xiiqBNZqMiezkhzo/edit#heading=h.3hnlljt63y71 > > On Sun, Mar 22, 2015 at 2:37 AM, Asanka Sa

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-21 Thread Imesh Gunaratne
Hi Asanka, You can find some information here: https://docs.google.com/document/d/1_UyglvcuNASxFbC6YK4zDoKohx9xiiqBNZqMiezkhzo/edit#heading=h.3hnlljt63y71 On Sun, Mar 22, 2015 at 2:37 AM, Asanka Sanjaya Herath wrote: > Hi, > > I'm trying to configure GCE IaaS in stratos. Are there any written >

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-21 Thread Asanka Sanjaya Herath
Hi, I'm trying to configure GCE IaaS in stratos. Are there any written documentation regarding this? Thanks. On Sun, Mar 15, 2015 at 2:40 PM, Asanka Sanjaya Herath wrote: > Hi Imesh, > > Thank you for information. I'll go through these and get back to you with > the draft proposal soon. > > Th

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-15 Thread Asanka Sanjaya Herath
Hi Imesh, Thank you for information. I'll go through these and get back to you with the draft proposal soon. Thanks. On Sun, Mar 15, 2015 at 1:54 PM, Imesh Gunaratne wrote: > Hi Asanka, > > It's nice to hear from you! The expectations of above projects are to > implement Stratos load balancer

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-15 Thread Imesh Gunaratne
Hi Asanka, It's nice to hear from you! The expectations of above projects are to implement Stratos load balancer extensions to programatically configure Amazon AWS load balancer and GCE load balancer to work with Stratos. You could do the following to start with these projects: - Find information

Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-03-14 Thread Asanka Sanjaya Herath
Hi, I Asanka Sanjaya, am willing to do GSoC this year and I found project on $subject very interesting. I'm currently a final year undergraduate of faculty of Information Technology University of Moratuwa. I have worked with Apache Stratos before and I would like to compose project proposals for