[GSOC - 2015] Thank you for your support!

2015-08-25 Thread Asanka Sanjaya Herath
Hi All, I'm very glad that I had the fortune to take part in GSOC this year. And it became more awesome because I got the opportunity to work in an Apache Stratos project. From the beginning to end of project I didn't have to struggle too much to find solutions for the problems I had since the dev

Re: [GSOC] GCE Load balancing support for stratos - Demo

2015-08-25 Thread Asanka Sanjaya Herath
Hi All, This is a reminder about the hangout. It will be started at 10 AM IST today. Hangout link [1]. [1]. https://plus.google.com/hangouts/_/hoaevent/AP36tYf3UUPUENceEevqVWvtQpqvqoFJxYz4O3sLO8ON3bH-EFQcQg?hl=en&authuser=0 On Mon, Aug 24, 2015 at 1:17 PM, Asanka Sanjaya Herath wrote:

Re: [GSOC] GCE Load balancing support for stratos - Demo

2015-08-24 Thread Asanka Sanjaya Herath
ote: > >> +1 >> >> On Fri, Aug 21, 2015 at 11:35 AM, Imesh Gunaratne >> wrote: >> >>> +1 >>> >>> On Fri, Aug 21, 2015 at 11:03 AM, Asanka Sanjaya Herath < >>> angal...@gmail.com> wrote: >>> >>>> Hi All, >

[GSOC] GCE Load balancing support for stratos - Demo

2015-08-20 Thread Asanka Sanjaya Herath
Hi All, We are going to have a public hangout for present and demonstrate the GCE load balancer extension. It has been scheduled to 25th August 9 pm IST. -- Thanks, Regards, ASH

Re: Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
.1.1) for the moment. > > On Mon, Aug 17, 2015 at 11:13 AM, Asanka Sanjaya Herath < > angal...@gmail.com> wrote: > >> Hi, >> >> Now I'm getting another exception when stratos is attempting to start >>

Re: Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
OK Akila. I'll use the 4.1.1 release. On Mon, Aug 17, 2015 at 11:51 PM, Akila Ravihansa Perera wrote: > Hi Asanka, > > There seems to be some issues in GCE provider. Can you use 4.1.1 release > for your work for now? > > Thanks. > > On Mon, Aug 17, 2015 at 11

Re: Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) TID: [0] [

Re: Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
-os-cloud/global/images/ubuntu-1404-trusty-v20150128 > " > > On Mon, Aug 17, 2015 at 11:05 PM, Asanka Sanjaya Herath < > angal...@gmail.com> wrote: > >> Hi Isuru, >> >> Yes the image exists. I tried by changing the image too. Still getting >> the

Re: Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
Hi Isuru, Yes the image exists. I tried by changing the image too. Still getting the same error. On Mon, Aug 17, 2015 at 11:04 PM, Isuru Haththotuwa wrote: > Hi Asanka, > > Can you check in the GCE side if this image exists? > > On Mon, Aug 17, 2015 at 10:30 AM, Asanka Sanjaya H

Application deployemnt error - Could not find image in GCE

2015-08-17 Thread Asanka Sanjaya Herath
Hi, I'm using latest Stratos master branch code. I'm getting following exception which I did not get earlier when I try to deploy an application in GCE. I changed the image ID and tried, but still getting the same error saying Jclouds could not find the Image in GCE. TID: [0] [STRATOS] [2015-08-17

Re: Error while adding an application to stratos

2015-08-17 Thread Asanka Sanjaya Herath
Hi Udara, It worked!. Thanks for the help. On Mon, Aug 17, 2015 at 9:07 PM, Asanka Sanjaya Herath wrote: > Thanks. I'll try it and update. > > On Mon, Aug 17, 2015 at 9:02 PM, Udara Liyanage wrote: > >> Hi, >> >> Or else you can try changing Stratos hostna

Re: Error while adding an application to stratos

2015-08-17 Thread Asanka Sanjaya Herath
is commented out, it should be running on localhost. >> Please try changing stratos.com -> localhost in identity configuration. >> >> On Mon, Aug 17, 2015 at 8:57 PM, Asanka Sanjaya Herath < >> angal...@gmail.com> wrote: >> >>> Hi Udara, >>> >

Re: Error while adding an application to stratos

2015-08-17 Thread Asanka Sanjaya Herath
> Could you please check the hostname in carbon.xml and identity > configuration found on autoscaler.xml > > > IS_HOST > 9443 > > 30 > > > > > On Mon, Aug 17, 2015 at 8:13 PM, Asanka Sanjaya Herath > wrot

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

2015-08-17 Thread Asanka Sanjaya Herath
Hi, I have added two blog posts regarding the GCE LB extension [1] and [2]. [1] http://asankasa.blogspot.com/2015/07/google-compute-engine-load-balancer.html [2] http://asankasa.blogspot.com/2015/08/google-compute-engine-load-balancer.html On Thu, Aug 13, 2015 at 10:33 AM, Asanka Sanjaya Herath

Error while adding an application to stratos

2015-08-17 Thread Asanka Sanjaya Herath
I'm getting following exception when I try to add an application using CLI. Log file has been attached. Any help is appreciated on this. TID: [0] [STRATOS] [2015-08-17 14:38:27,003] ERROR {org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser} - Could not create oauth token:

Re: [Dev][Stratos] Build failure

2015-08-15 Thread Asanka Sanjaya Herath
I tried to build using maven v3.0.4 but that gave me an error. Then I tried using v3.0.5 and build got successful. On Sat, Aug 15, 2015 at 11:21 PM, Imesh Gunaratne wrote: > Try to build dependencies first, Akila may have pushed jclouds upgrade > changes to master branch. > > On Sat, Aug 15, 201

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

2015-08-10 Thread Asanka Sanjaya Herath
further.Can you please check and update those. > > Thanks, > Gayan > > > > On Sat, Aug 8, 2015 at 10:38 AM, Asanka Sanjaya Herath > wrote: > >> Hi Isuru, >> >> I think you are referring to a previous commit. I have changed all those >> in later c

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

2015-08-07 Thread Asanka Sanjaya Herath
Hi Isuru, I think you are referring to a previous commit. I have changed all those in later commits. Please refer final changes here [1]. [1]. https://github.com/apache/stratos/pull/419/files On Sat, Aug 8, 2015 at 10:32 AM, Asanka Sanjaya Herath wrote: > Hi Isuru, > > Thanks I

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

2015-08-07 Thread Asanka Sanjaya Herath
> > On Fri, Aug 7, 2015 at 1:03 AM, Asanka Sanjaya Herath > wrote: > >> I have created the PR [1]. >> >> [1]. https://github.com/apache/stratos/pull/419 >> >> On Fri, Aug 7, 2015 at 11:43 AM, Asanka Sanjaya Herath < >> angal...@gmail.com> wrote: &g

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

2015-08-07 Thread Asanka Sanjaya Herath
I have created the PR [1]. [1]. https://github.com/apache/stratos/pull/419 On Fri, Aug 7, 2015 at 11:43 AM, Asanka Sanjaya Herath wrote: > Hi Gayan, > > I'll send the PR today. Sorry for the delay. > > On Thu, Aug 6, 2015 at 1:02 PM, Gayan Gunarathne wrote: > >> H

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

2015-08-06 Thread Asanka Sanjaya Herath
On Thu, Jul 30, 2015 at 7:14 PM, Asanka Sanjaya Herath > wrote: > >> Code review notes: >> >> 1. Without throwing run time exceptions always try to handle the exception >> 2. Try to throw more specific exceptions without just throwing generic >> exceptions so that will

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

2015-07-30 Thread Asanka Sanjaya Herath
12:06 PM, Asanka Sanjaya Herath wrote: > Hi All, > > We had the hangout and demo as we planned. We discussed about issues in > current code like exception handling commenting etc. And we discussed about > modifications I did, future plans, limitations in GCE like domain mappi

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

2015-07-29 Thread Asanka Sanjaya Herath
tions requested in my code and do a screen cast again including the changes I have done. Participants: Stratos Team, Asanka On Mon, Jul 27, 2015 at 12:16 PM, Asanka Sanjaya Herath wrote: > Hi, > > We are planning to have a hangout in this week for discuss the progress, > change

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

2015-07-26 Thread Asanka Sanjaya Herath
is information, we have to > look in to alternate methods. Not sure how the health check works here, but > maybe its just doing a port check. If so, we won't be able to directly use > in Autoscaling decision making. But that is fine IMO, we can only support > what is available

Re: [GSOC] GCE Load balancer support for stratos - Documentation

2015-07-24 Thread Asanka Sanjaya Herath
apis_java_client_library On Sat, Jul 25, 2015 at 12:03 AM, Asanka Sanjaya Herath wrote: > Hi Gayan, > > ​ >> Also I think we can schedule a google hangout to demonstrate the latest >> changes that you have done.May be in next week. > > ​​ > Yes, We can have a hango

Re: [GSOC] GCE Load balancer support for stratos - Documentation

2015-07-24 Thread Asanka Sanjaya Herath
functionality in detail. > > Thanks > > On Fri, Jul 24, 2015 at 11:15 AM, Gayan Gunarathne > wrote: > >> Great! >> >> Also I think we can schedule a google hangout to demonstrate the latest >> changes that you have done.May be in next week. >> >>

[GSOC] GCE Load balancer support for stratos - Documentation

2015-07-23 Thread Asanka Sanjaya Herath
Hi All, I started writing a documentation[1] for the GCE Load Balancer extension Currently I'm working on. Any suggestion or comment is highly appreciated. ​[1]​. https://docs.google.com/document/d/1a2ZptPScpjuavfpxVu1R1GC7R95jjzHo3L372zL2bRY/edit?usp=sharing -- Thanks, Regards, ASH

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

2015-07-21 Thread Asanka Sanjaya Herath
Thanks Lakmal. On Wed, Jul 22, 2015 at 11:52 AM, Lakmal Warusawithana wrote: > Great work Asanka! > > On Wed, Jul 15, 2015 at 6:31 PM, Asanka Sanjaya Herath > wrote: > >> Thanks Gayan for the feedback. As we discussed on hangout I have done >> some screen recoding ab

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

2015-07-21 Thread Asanka Sanjaya Herath
de option to get in flight request count,IMO we > can use their inbuilt health checking option. > > [1] https://groups.google.com/forum/#!forum/gce-discussion > [2] https://cloud.google.com/compute/docs/load-balancing/health-checks > > Thanks, > Gayan > > On Tue, Jul

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

2015-07-21 Thread Asanka Sanjaya Herath
Hi Isuru, Unfortunately I was not able to figure out a way to do this. I really appreciate if you can help me with this. On Tue, Jul 21, 2015 at 8:20 PM, Isuru Haththotuwa wrote: > Hi Asanka, > > On Sat, Jul 18, 2015 at 10:13 AM, Asanka Sanjaya Herath < > angal...@gmail.com>

Re: AWS Load Balancing Support for Stratos - Screencast

2015-07-20 Thread Asanka Sanjaya Herath
Hi swapnil, Yes I had this issue. On Mon, 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 instan

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

2015-07-18 Thread Asanka Sanjaya Herath
gt; Great work so far Asanka! > > On Wed, Jul 15, 2015 at 6:01 AM, Asanka Sanjaya Herath > wrote: > >> Thanks Gayan for the feedback. As we discussed on hangout I have done >> some screen recoding about the LB extension that I have created. I have >> published that

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

2015-07-16 Thread Asanka Sanjaya Herath
That will be really useful. IMO >>>> also we can follow the same for other projects. >>>> >>>> Thanks, >>>> Gayan >>>> >>>> On Thu, Jul 16, 2015 at 11:13 AM, Asanka Sanjaya Herath < >>>> angal...@gmail.com> w

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

2015-07-15 Thread Asanka Sanjaya Herath
Thanks Imesh. On Thu, Jul 16, 2015 at 10:55 AM, Imesh Gunaratne wrote: > On Wed, Jul 15, 2015 at 9:01 PM, Asanka Sanjaya Herath > wrote: > >> Thanks Gayan for the feedback. As we discussed on hangout I have done >> some screen recoding about the LB extension that I

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

2015-07-15 Thread Asanka Sanjaya Herath
> for your extension. > > Thanks, > Gayan > > > > On Mon, Jul 6, 2015 at 6:12 PM, Asanka Sanjaya Herath > wrote: > >> Hi, >> >> Last week I implemented a way to read configuration from a configuration >> file instead of reading from syst

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

2015-07-06 Thread Asanka Sanjaya Herath
we discussed in last hangout. I'm willing to do the statistics publishing part in this week and I'm supposed to recode a demo too. [1]. https://github.com/apache/stratos/commit/d8256222b959721763354e8149a6f975dd8e3d76 On Mon, Jun 29, 2015 at 2:58 PM, Asanka Sanjaya Herath wrote:

Re: Topology does not contain information about latest activated member

2015-07-03 Thread Asanka Sanjaya Herath
mesh Gunaratne wrote: > >> On Fri, Jun 26, 2015 at 12:58 AM, Asanka Sanjaya Herath < >> angal...@gmail.com> wrote: >> >>> >>> Once I debug the flow, I figured out that line 196 in >>> LoadBalancerExtension class >>> ​ ​ >>>

Re: Exposing instance id through topology

2015-07-02 Thread Asanka Sanjaya Herath
> > ​ > So just wanted to know if you are able to get instance id there.​ ​Yes I was able to get instance ID once I set it in member initialized event.​ On Fri, Jul 3, 2015 at 12:08 AM, Asanka Sanjaya Herath wrote: > Hi Swapnil, > > IMO We need to set instance ID in m

Re: Exposing instance id through topology

2015-07-02 Thread Asanka Sanjaya Herath
Hi Swapnil, IMO We need to set instance ID in member *initialized *event, not in member created event. In member created event I also got member ID as null. Because I think that instance ID is not set in member created event. Another important thing is we need to do message processor side changes

Re: Topology does not contain information about latest activated member

2015-07-02 Thread Asanka Sanjaya Herath
rs, we can't guaranteed topology provider update occurs before we > reading the topology provider.IMO we can do it through one listener. > > Thanks, > Gayan > > On Thu, Jul 2, 2015 at 8:23 PM, Asanka Sanjaya Herath > wrote: > >> Hi, >> >> As Gayan sug

Re: Topology does not contain information about latest activated member

2015-07-02 Thread Asanka Sanjaya Herath
Hi, As Gayan suggested I added a delay before execute configure method as a temporary solution. But It seems like the issue has not solved completely yet. On Thu, Jul 2, 2015 at 6:46 PM, Asanka Sanjaya Herath wrote: > Hi Gayan, > > Yes that is correct. All the other members are

Re: Topology does not contain information about latest activated member

2015-07-02 Thread Asanka Sanjaya Herath
Hi Gayan, Yes that is correct. All the other members are shown in topology but the recent activated one is not showing. It seems like the issue is related to member activated event. On Thu, Jul 2, 2015 at 3:24 PM, Gayan Gunarathne wrote: > > > On Fri, Jun 26, 2015 at 12:58 AM, Asank

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

2015-06-29 Thread Asanka Sanjaya Herath
Tue, Jun 23, 2015 at 2:09 PM, Imesh Gunaratne wrote: > On Mon, Jun 22, 2015 at 4:00 PM, Asanka Sanjaya Herath > wrote: > >> Hi All, >> >> We had the hangout today and we discussed on following. >> >> >> Participants: IsuruH, GayanG, Imesh, Asanka >

Topology does not contain information about latest activated member

2015-06-25 Thread Asanka Sanjaya Herath
Hi All, As we discussed in the hangout I did some debugging on $subject. *Issue: When configure() method[1] executed, topology object does not contain information about latest activated member*. When a member get activated [2], reloadConfiguration() method in LoadBalancerExtension [3] class will

Re: [Q] Stratos samples verification - GCE

2015-06-23 Thread Asanka Sanjaya Herath
HI lahiru, I tested only single cartridge applications in GCE :) Thanks. On Wed, Jun 24, 2015 at 10:56 AM, Lahiru Sandaruwan wrote: > +Asanka. > I remember Asanka doing some tests recently. > > Thanks. > > On Wed, Jun 24, 2015 at 10:50 AM, Shavindri Dissanayake < > shavin...@wso2.com> wrote: >

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

2015-06-22 Thread Asanka Sanjaya Herath
. Thanks. On Mon, Jun 22, 2015 at 12:40 PM, Asanka Sanjaya Herath wrote: > Hi All, > > We scheduled the hangout today at 2.30 PM IST in order to discuss about > the implementation of GCE load balancer support for Stratos. > > Thanks. > > On Thu, Jun 18, 2015 at 10:17 PM, G

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

2015-06-22 Thread Asanka Sanjaya Herath
e a hangout for this.I think we can schedule that > in early next week. > > Thanks, > Gayan > > > On Thu, Jun 18, 2015 at 6:18 PM, Asanka Sanjaya Herath > wrote: > >> Hi Isuru and Gayan, >> >> I'm implementing the logic for listening to topolo

Re: Retrieving EC2 instance id from its public IP address

2015-06-21 Thread Asanka Sanjaya Herath
Hi Swapnil and Imesh, I have implemented a way to retrieve the instance ID my adding a new field to org.apache.stratos.load.balancer.common.domain.Member class and doing relevant changes to org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder class. You can see it by analyzing co

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

2015-06-16 Thread Asanka Sanjaya Herath
[2]. https://cloud.google.com/compute/docs/reference/latest/regionOperations [3]. https://cloud.google.com/compute/docs/reference/latest/zoneOperations On Tue, Jun 16, 2015 at 11:36 AM, Gayan Gunarathne wrote: > > Hi Asanka, > > On Tue, Jun 16, 2015 at 4:27 AM, Asanka Sanjaya Herath &

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

[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: [GSOC] GCE Load Balancing Support For Stratos - weekly update

2015-06-10 Thread Asanka Sanjaya Herath
related issues -How to get relevant instance name/ID from GCE -How can we make the application as a standalone one -Differences between ha-proxy extension and gce extension -Exception handling On Tue, Jun 9, 2015 at 2:46 PM, Asanka Sanjaya Herath wrote: > Hi Isuru, > > Yes I'm happy

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

2015-06-09 Thread Asanka Sanjaya Herath
required? Is 3.00 PM IST ok > for you? > > On Mon, Jun 8, 2015 at 9:53 AM, Asanka Sanjaya Herath > wrote: > >> Hi All, >> >> In this week I was committing my code to this[1] repository. I added >> basic extension structure. I have written and test

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

2015-06-07 Thread Asanka Sanjaya Herath
Hi All, In this week I was committing my code to this[1] repository. I added basic extension structure. I have written and tested methods for calling GCE API in GCEOperations class. Authorization part is also completed. Currently I'm writing logic for configure and start methods in GCELoadBalancer

Re: [Error] Failed to start an instance in GCE

2015-06-07 Thread Asanka Sanjaya Herath
gt; Hi Asanka, >> >> On Sun, Jun 7, 2015 at 11:27 AM, Asanka Sanjaya Herath < >> angal...@gmail.com> wrote: >> >>> Hi Isuru, >>> >>> i'm continuously getting this error. I did debugging but I couldn't be >>> able to find the fa

Re: [Error] Failed to start an instance in GCE

2015-06-07 Thread Asanka Sanjaya Herath
]. https://mail-archives.apache.org/mod_mbox/jclouds-user/201408.mbox/%3CCAD7EdunUxv4szAs-sHm9msX8jSm6c3EbWmQ2zAz+zR94=hz...@mail.gmail.com%3E On Sun, Jun 7, 2015 at 6:44 AM, Gayan Gunarathne wrote: > Hi Asanka, > > On Sun, Jun 7, 2015 at 11:27 AM, Asanka Sanjaya Herath > wrote: > >> Hi Isuru,

Re: [Error] Failed to start an instance in GCE

2015-06-06 Thread Asanka Sanjaya Herath
and see what is causing this > IllegalArgumentException. > > On Sat, Jun 6, 2015 at 11:18 AM, Asanka Sanjaya Herath > wrote: > >> Hi All, >> >> I used latest Stratos master branch code and tried to deploy an >>

[Error] Failed to start an instance in GCE

2015-06-05 Thread Asanka Sanjaya Herath
Hi All, I used latest Stratos master branch code and tried to deploy an application in GCE. I'm getting this error. Any help is highly appreciated. [2015-06-06 05:04:21,391] INFO {org.apache.stratos.messaging.message.processor.topology.MemberCreatedMessageProcessor} - Member created: [service-n

Re: Stratos is not setting user meta data to instances created in GCE

2015-06-03 Thread Asanka Sanjaya Herath
OK. I'll send a pull request. On Wed, Jun 3, 2015 at 9:14 AM, Gayan Gunarathne wrote: > Great. We need to fix this in the master branch. Can you please send a PR > for this? > > Thanks, > Gayan > > On Wed, Jun 3, 2015 at 2:31 PM, Asanka Sanjaya Herath > wrote: >

Re: Stratos is not setting user meta data to instances created in GCE

2015-06-03 Thread Asanka Sanjaya Herath
in the if condition. > > >> @ Asanka: Can you remove the null check [2] and re-test. >> >> [1].setPayload(byte[] payload) >> [2].iaasInfo.getPayload() == null >> > > Thanks, > Gayan > >> >> On Wed, Jun 3, 2015 at 11:36 AM, Asanka Sa

Re: Stratos is not setting user meta data to instances created in GCE

2015-06-02 Thread Asanka Sanjaya Herath
DynamicPayload function? > > In both EC2IaaS and OpenStackIaaS this check is not there. Can you test > removing 'iaasInfo.getPayload() == null' check? > > On Wed, Jun 3, 2015 at 11:15 AM, Asanka Sanjaya Herath > wrote: > >> Hi All, >> >> I did some debu

Stratos is not setting user meta data to instances created in GCE

2015-06-02 Thread Asanka Sanjaya Herath
Hi All, I did some debugging on $subject and I found that there is a problem in GCEIaas.java class located in cloud controller component. In line 184, iaasInfo.getPayload() is always has a null value. So the method setDynamicPayload() will return immediately without setting user metadata to the i

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
nstance from being > terminated. Then, SSH to the instance and see if you can manually query the > custom meta data using the APIs listed in 'Querying custom metadata' > section of [1]. > > [1]. https://cloud.google.com/compute/docs/metadata#custom > > On Mon, Jun 1, 201

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
shKeys WDYT? On Mon, Jun 1, 2015 at 5:20 PM, Asanka Sanjaya Herath wrote: > Hi All, > > I'm trying to find a relevant metadata URL for GCE instances. I found > this[1] but it seems like API structure has not changed. Currently in the > config.sh file we are using this[2] as th

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
adata). After removing the last field I got following output in the launch-params file. [1].https://cloud.google.com/compute/docs/metadata#default [2]. http://metadata.google.internal/computeMetadata/v1/instance/attributes/stratos_usermetadata On Mon, Jun 1, 2015 at 10:44 AM, Asanka Sanjaya Herath

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
ror, indicating that the meta data was not found.The final > line seems to indicate the reason; the queried URL for meta data is wrong. > > On Mon, Jun 1, 2015 at 3:59 PM, Asanka Sanjaya Herath > wrote: > >> Hi Gayan, >> >> This is the content of lunch-params file(Please s

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
n-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params' >>> >> > Also as per this error Instance don't have the payload/launch-params > file.Seems lauch-params file is not copied properly.Can you find the > lauch-params at /tmp/payload? > > Thanks, > Gayan

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
Thanks Gayan. I'll check it and update the thread. On Mon, Jun 1, 2015 at 10:00 AM, Gayan Gunarathne wrote: > Hi Asanka, > > On Mon, Jun 1, 2015 at 3:17 PM, Asanka Sanjaya Herath > wrote: > >> Hi Lahiru, >> >> When I run "python agent.py" command

Re: [GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
File "/root/stratos/products/python-cartridge-agent/distribution/target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/config.py", line 244, in __init__ raise RuntimeError(ex) RuntimeError: Cannot find the value of required parameter: 'APPLICATION_ID' On

[GSOC] GCE Load balancing support for stratos - weekly update

2015-06-01 Thread Asanka Sanjaya Herath
​Hi all, Here I have listed the work I have done during last week. 1. Completed the design diagram of the extension. 2. Tested ​GCE LB API using a sample program. 3. Configured a php cartridge on GCE. But still the cartridge agent is not starting properly. I'm using this[1] fork for commit my co

Re: PHP Application is not accessible from proxy port

2015-05-31 Thread Asanka Sanjaya Herath
Thanks for the help Lahiru. On Sun, May 31, 2015 at 8:47 AM, Lahiru Sandaruwan wrote: > > > On Sun, May 31, 2015 at 2:11 PM, Asanka Sanjaya Herath > wrote: > >> Hi Lahiru, >> >> Thanks for the help. I'm using offset as 0 in carbon.xml. Is there any >>

Re: PHP Application is not accessible from proxy port

2015-05-31 Thread Asanka Sanjaya Herath
Hi Lahiru, Thanks for the help. I'm using offset as 0 in carbon.xml. Is there any other thing to check? On Sun, May 31, 2015 at 8:30 AM, Lahiru Sandaruwan wrote: > Hi Asanka, > > Thanks. > > On Sun, May 31, 2015 at 1:54 PM, Asanka Sanjaya Herath > wrote: > >>

PHP Application is not accessible from proxy port

2015-05-31 Thread Asanka Sanjaya Herath
Hi All, I have configured Apache Stratos for GCE and created a PHP cartridge successfully using puppet. But I can't connect to Apache server using the proxy port I have mentioned in cartridge definition( https://Stratos_node_public_IP:8280). This is the cartridge configuration I used. I'm not sure

Re: [GSOC] - GCE load balancing support for stratos - Class Diagram

2015-05-30 Thread Asanka Sanjaya Herath
an concentrate on how to configure and start > the GCE load balancer. > Also you can fork the Apache Stratos repo to your repository and start the > implementation. > > Thanks, > Gayan > > On Fri, May 29, 2015 at 8:11 PM, Asanka Sanjaya Herath > wrote: > >> Hi >>

Re: [GSOC] - GCE load balancing support for stratos - Class Diagram

2015-05-28 Thread Asanka Sanjaya Herath
Hi Isuru, Thank you for information. You are correct. I'll update the class diagram and update the thread. On Thu, May 28, 2015 at 7:05 PM, Isuru Haththotuwa wrote: > Hi Asanka, > > On Thu, May 28, 2015 at 5:42 PM, Asanka Sanjaya Herath > wrote: > >> Hi Gayan, &

Re: [GSOC] - GCE load balancing support for stratos - Class Diagram

2015-05-28 Thread Asanka Sanjaya Herath
> Thanks, > Gayan > > On Thu, May 28, 2015 at 5:01 PM, Asanka Sanjaya Herath > wrote: > >> Hi All, >> >> Here I have attached my class diagram for the extension. Any suggestion >> is appreciated. >> >> -- >> Thanks, >> Regards, >

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

2015-05-24 Thread Asanka Sanjaya Herath
come up with the > design documentation.If we have a good design it will easier for you when > it comes to the implementation stage. > > Thanks, > Gayan > > > On Sun, May 24, 2015 at 9:00 AM, Imesh Gunaratne wrote: > >> Great! Nice to hear that Asanka! >> >&g

Re: Cartridge creation error

2015-05-23 Thread Asanka Sanjaya Herath
That's great Imesh. On Sun, May 24, 2015 at 9:05 AM, Imesh Gunaratne wrote: > Great! :-) May be next week will arrange a hangout and see how things have > gone so far. > > Thanks > > > On Sunday, May 24, 2015, Asanka Sanjaya Herath wrote: > >> Hi Imesh, >&

Re: Cartridge creation error

2015-05-23 Thread Asanka Sanjaya Herath
Hi Imesh, The problem solved once I open the port 8140 on puppet master. Now I have configured the cartridge with puppet. On Sat, May 23, 2015 at 9:05 AM, Asanka Sanjaya Herath wrote: > Thanks Imesh. I'll try that and update the thread. > > On Sat, May 23, 2015 at 8:48 AM, I

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

2015-05-23 Thread Asanka Sanjaya Herath
essible from GCE. The reason is that the > cartridge agent needs to connect to CEP and ActiveMQ. > > Were you able to test the Google Cloud Load Balancing API? How far were > you able to go with this? > > Thanks > > On Sat, May 23, 2015 at 10:40 PM, Asanka Sanjaya Herath <

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

2015-05-23 Thread Asanka Sanjaya Herath
Hi all, In this week I was able to test stratos with GCE by installing stratos locally and by using a public ubuntu image available in GCE. I was able to configure puppet master properly. And I went through stratos wiki and got an idea about how the stratos architecture works. Now I'm working on

Re: Cartridge creation error

2015-05-23 Thread Asanka Sanjaya Herath
properly configured to run on the startup. > > Thanks > > On Sat, May 23, 2015 at 12:11 PM, Asanka Sanjaya Herath < > angal...@gmail.com> wrote: > >> Hi All, >> >> I tried to create a php cartridge on GCE using init.sh[1] and >> config.sh[2]. W

Cartridge creation error

2015-05-22 Thread Asanka Sanjaya Herath
Hi All, I tried to create a php cartridge on GCE using init.sh[1] and config.sh[2]. When I run ./config.sh command it gives me following error. I have attached the log file here. Any help is appreciated. * Starting puppet agent puppet not configured to start, please edit /etc/default/puppet to

Re: [GCE] [Testing] Verify Stratos with GCE

2015-05-13 Thread Asanka Sanjaya Herath
Hi Lahiru, I didn't create a cartridge for testing. I used a public ubuntu image. My next step is to create a php cartridge. I'll update the thread after doing that. On Thu, May 14, 2015 at 7:56 AM, Lahiru Sandaruwan wrote: > > > On Thu, May 14, 2015 at 1:32 AM, Asanka Sanj

Re: [GCE] [Testing] Verify Stratos with GCE

2015-05-13 Thread Asanka Sanjaya Herath
Hi All, I tested the latest code and now it is working correctly with GCE without giving the previous exception. I was able to deploy and undeploy an application without giving any exception. On Wed, May 13, 2015 at 10:08 PM, Lahiru Sandaruwan wrote: > Mari, > > Shall we document this? > > User

Re: Build failure in CLI component

2015-05-13 Thread Asanka Sanjaya Herath
Thanks for the information vishanth. On Wed, May 13, 2015 at 6:39 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi Asanka, > > It is fixed now. Please update your source with the master and build again. > > Regards, > Vishanth > > On Wed, May 13, 2

Build failure in CLI component

2015-05-13 Thread Asanka Sanjaya Herath
Hi All, Today I got a new clone of the stratos master branch and built it using a new .m2 repository with Java 7 and Maven 3.0.5. I'm getting following error. Any help is appreciated. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on

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

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

2015-05-05 Thread Asanka Sanjaya Herath
wrote: > 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 a

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

2015-05-05 Thread Asanka Sanjaya Herath
(nodeMetadata.getOperatingSystem().getName()); On Tue, May 5, 2015 at 6:30 PM, Asanka Sanjaya Herath wrote: > Hi Gayan, > > Thanks for information. I'll try it. > > On Tue, May 5, 2015 at 5:55 PM, Gayan Gunarathne wrote: > >> Hi Asanka, >> >> Can you trace the &

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

2015-05-04 Thread Asanka Sanjaya Herath
d.run(Thread.java:745) I have attached the log relevant to deploy the application with this. Any help is appreciated. On Mon, May 4, 2015 at 4:06 PM, Asanka Sanjaya Herath wrote: > Hi, > > Once I use PEM format authentication issue resolved. Thanks for the help. > > On Mon, Ma

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 Gunarathn

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

2015-05-04 Thread Asanka Sanjaya Herath
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/master/README.md >> >> [2]. >> https://github.com/jclouds/jclouds-labs-google/tree/master/google-co

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

2015-05-03 Thread Asanka Sanjaya Herath
uot;, "openstack", "kubernetes", "gce" ] >>> into it. >>> >>> Schema Path : >>> >>> components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json >>> >>> Regards, >>&

Re: Delivery Status Notification (Delay)

2015-05-02 Thread Asanka Sanjaya Herath
ify GCE IaaS provider. > > Thanks > > > On Saturday, May 2, 2015, Asanka Sanjaya Herath > wrote: > >> Hi all, >> >> I'm getting following error in Stratos when I run this[1] command in CLI >> in order to deploy an application. >> >> ERROR {org

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

2015-05-02 Thread Asanka Sanjaya Herath
, 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, May 1, 2015 at 8:34 PM, Asanka Sanjaya Herath > wrote: > >> ​​ >> Hi All, >

Re: Delivery Status Notification (Delay)

2015-05-02 Thread Asanka Sanjaya Herath
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 St

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

2015-05-01 Thread Asanka Sanjaya Herath
Fri, May 1, 2015 at 2:20 PM, Asanka Sanjaya Herath wrote: > 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

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

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

2015-04-29 Thread Asanka Sanjaya Herath
heck whether you can find the following > artifact in your local .m2 repository? > > org.wso2.siddhi > siddhi-core > 2.0.0-wso2v5 > > > Thanks > > > On Wed, Apr 29, 2015 at 7:57 PM, Asanka Sanjaya Herath > wrote: > >> Hi, >> >> I build a

  1   2   >