Re: Member ID is not found in Member Fault Event

2014-12-08 Thread Imesh Gunaratne
Now I can see another problem in autoscaler in member fault handling scenario: [2014-12-09 13:04:03,795] ERROR {org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator} - Failed to retrieve instance notifier event message java.lang.NullPointerException at org.apa

Re: Member ID is not found in Member Fault Event

2014-12-08 Thread Imesh Gunaratne
This is now fixed in 4.1.0-test branch. On Tue, Dec 9, 2014 at 12:54 PM, Imesh Gunaratne wrote: > Found the problem, FaultHandlingWindowProcessor has invoked the member > fault event constructor with a wrong parameter order: > > public MemberFaultEvent(String clusterId, String memberId, String >

Re: Member ID is not found in Member Fault Event

2014-12-08 Thread Imesh Gunaratne
Found the problem, FaultHandlingWindowProcessor has invoked the member fault event constructor with a wrong parameter order: public MemberFaultEvent(String clusterId, String memberId, String partitionId, String instanceId, String networkPartitionId, float value) { Memb

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
Hi Martin, I saw a log saying the unable to retrieve registry data. Can you try with a fresh DB as well? Since we have pojo changes, with old data in the DB, it might have issues. And also, i'm unable to find the log line which says application definition is deployed successfully as like [1]. Sin

Member ID is not found in Member Fault Event

2014-12-08 Thread Imesh Gunaratne
Hi Devs, I see the below error in autoscaler: [2014-12-09 12:40:02,716] INFO {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} - Faulty member detected [member-id] tom1group6.tomcat1.domain587441ed-2b02-42a9-aec7-77ba0b193d37 with [last time-stamp] 1418108426872 [time-out] 6 m

[GitHub] stratos pull request: Adding instance id for health stats publishe...

2014-12-08 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/140 Adding instance id for health stats publisher in cartridge agent This PR contains: Adding the instance id for health stats publisher in cartridge agent Adding executor service for haproxy/ext

Re: Error when deploying a cartridge

2014-12-08 Thread Vishanth Balasubramaniam
solved. sorry for the inconvenience. On Tue, Dec 9, 2014 at 12:24 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > I was able to successfully deploy the autoscaling policy. > > I modified my cloud-controller as follows > > > > > org.apache.stratos.cloud.controller.iaases

Error when deploying a cartridge

2014-12-08 Thread Vishanth Balasubramaniam
Hi, I was able to successfully deploy the autoscaling policy. I modified my cloud-controller as follows org.apache.stratos.cloud.controller.iaases.JcloudsOpenstackIaas openstack-nova stratos:vishanth vishanth http://192.168.30.66:5000/v2.0 " />

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
Thanks Martin for the logs..I will go through it and update the thread.. On Tue, Dec 9, 2014 at 11:52 AM, Martin Eppel (meppel) wrote: > Yeah I did, > > > > I deployed in the following sequence: > > > > 1. Autoscale policy > > 2. Cartridge > > 3. Application > > 4. Deploymen

Interactive Topology Tree for application - Initial pull request

2014-12-08 Thread Dakshika Jayathilaka
Hi Dev, I have created pull request for Initial topology view[1]. https://github.com/apache/stratos/pull/139 please be kind enough to merge. TODO: --> Add status refresh --> Add node level status with color I'll update above soon. [1] [Discuss] Interactive Topology Tree for application Thank

[jira] [Commented] (STRATOS-1014) Monitoring Live Application Status with topology view

2014-12-08 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239036#comment-14239036 ] ASF GitHub Bot commented on STRATOS-1014: - GitHub user dakshika opened a pull re

[GitHub] stratos pull request: Application topology view initial view [STRA...

2014-12-08 Thread dakshika
GitHub user dakshika opened a pull request: https://github.com/apache/stratos/pull/139 Application topology view initial view [STRATOS-1014] - This will include basic topology view feature //TODO: * Add status refresh * Add node level status with color You can me

Re: Releases page on Stratos website needs to be updated

2014-12-08 Thread Madhura Mendis
Hi Mariangela, This is updated. Thanks Madhura On Wed, Dec 3, 2014 at 2:16 PM, Mariangela Hills wrote: > Hi Madhura, > > We need to update the releases page [1] on the Stratos website. The JIRA > list for each of the 4.1.0 releases are as follows: > > *Stratos 4.1.0 M1* > > https://cwiki.apach

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Udara Liyanage
Hi Martin, Have you deployed the application which is mentioned in deployed policy. The reason for NPE is application is is null, that is why I asked whether you have deployed the application before this. Group group = application.getGroupRecursively(alias); On Tue, Dec 9, 2014 at 9:52 AM, Mart

Re: Global Deployment Policy for the Application

2014-12-08 Thread Reka Thirunavukkarasu
Hi Martin. On Tue, Dec 9, 2014 at 10:18 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > So if I try to model the following (real use case) with 2 levels of nested > groups and the startup dependencies tomcat3 -> group8 -> tomcat1 ->group7 – > tomcat2 -> group6 > > > > it will be defined as

RE: Global Deployment Policy for the Application

2014-12-08 Thread Martin Eppel (meppel)
Hi Reka, So if I try to model the following (real use case) with 2 levels of nested groups and the startup dependencies tomcat3 -> group8 -> tomcat1 ->group7 – tomcat2 -> group6 it will be defined as follows (see inline definition for 2nd level of nesting -> group8 in bold) : I assume that si

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
Hi Reka, I tested both sequences, and I see exceptions in either one. When I deploy the application policy before the deployment policy (as you suggested) I get the following exception: TID: [0] [STRATOS] [2014-12-09 01:08:10,069] DEBUG {org.apache.stratos.autoscaler.applications.ApplicationHo

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
Hi Martin, The artefacts order is as below. In the sample script too having it in the same order. Let me explain the order. - Deploy autoscale policy - Deploy cartridges - Deploy group definition - Deploy application definition - Deploy deployment policy When you deploy the deployment policy, i

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
mmmh, seems we have a circular dependency here: ·When I deploy the deployment policy before the application I get the exception 1.) (I checked the code, it seems it tries to validate the application ·When I deploy the application before the deployment policy I get exception 2.

RE: OpenstackNovaIaas class is missing on master ?

2014-12-08 Thread Martin Eppel (meppel)
Yep, thanks, that fixed it From: Rajkumar Rajaratnam [mailto:rajkum...@wso2.com] Sent: Monday, December 08, 2014 3:22 PM To: dev@stratos.apache.org Subject: Re: OpenstackNovaIaas class is missing on master ? Hi Martin, It is renamed to JcloudsOpenstackIaas.java

Re: OpenstackNovaIaas class is missing on master ?

2014-12-08 Thread Rajkumar Rajaratnam
Hi Martin, It is renamed to JcloudsOpenstackIaas.java I guess every other IaaS classes were renamed too, which is not t

OpenstackNovaIaas class is missing on master ?

2014-12-08 Thread Martin Eppel (meppel)
With the latest source from master I fail to deploy an open stack based cartridge with the following exception: TID: [0] [STRATOS] [2014-12-08 23:05:25,672] ERROR {org.apache.stratos.cloud.controller.util.CloudControllerUtil} - Class [org.apache.stratos.cloud.controller.iaases.OpenstackNovaIaa

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
I am running into some issues trying to deploy a deployment policy. I am using today’s code from the master and tried to deploy the sample deployment policy provided. I am getting the exception below (at org.apache.stratos.autoscaler.api.AutoScalerServiceImpl.validateDeploymentPolicy(AutoScaler

[jira] [Created] (STRATOS-1027) Stratos AWS Quick Start Guide improvements

2014-12-08 Thread Colin Roy-Ehri (JIRA)
Colin Roy-Ehri created STRATOS-1027: --- Summary: Stratos AWS Quick Start Guide improvements Key: STRATOS-1027 URL: https://issues.apache.org/jira/browse/STRATOS-1027 Project: Stratos Issue Ty

[GitHub] stratos pull request: Api refactor on test

2014-12-08 Thread shirolk
GitHub user shirolk opened a pull request: https://github.com/apache/stratos/pull/138 Api refactor on test PR for review - not ready for merge yet You can merge this pull request into a Git repository by running: $ git pull https://github.com/shirolk/stratos api-refactor-on-te

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
Thanks, This should help me getting started on the new format From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Monday, December 08, 2014 12:06 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha Hi Martin, Really sorry for not providing the correct steps to test on this..I have attac

Re: Use of create instead of deploy within Stratos

2014-12-08 Thread Shiroshica Kulatilake
Hi, In order to create a flow and to figure out the required minimal set of REST apis for application handling thought of breaking down the actions up to deploying and undeploying an application in Stratos as follows. 1. Create cartridges needed - POST /cartridges with cartridgeDefinition.jso

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
Hi Reka, The format to define application, service groups and deployment policies has changed, so I am not entirely sure what it is supposed to look like. To do meaningful testing I need either the new format(s) documented or a set of examples which will help me build applicable (and more compl

RE: Global Deployment Policy for the Application

2014-12-08 Thread Martin Eppel (meppel)
Resending it in case you missed it Thanks Martin From: Martin Eppel (meppel) Sent: Friday, December 05, 2014 1:42 PM To: dev@stratos.apache.org Subject: RE: Global Deployment Policy for the Application Hi Reka, I was looking at the attached samples and had a few questions: Did we change the g

[Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
Hi All, Since we have completed most of the implementation for 4.1.0 alpha from the following items, we are currently focusing on testing the scenarios. We had been working hard last week to get the master stable back with the workable state. So, it would be better to keep the master in a stable m

Re: Use of create instead of deploy within Stratos

2014-12-08 Thread Imesh Gunaratne
+1 We might need to clarify how we connect a deployment policy to an application according to this model. On Mon, Dec 8, 2014 at 5:40 PM, Lakmal Warusawithana wrote: > > > On Mon, Dec 8, 2014 at 4:55 PM, Shiroshica Kulatilake > wrote: > >> Hi All, >> >> While cleaning up the REST API I noticed

Re: Use of create instead of deploy within Stratos

2014-12-08 Thread Lakmal Warusawithana
On Mon, Dec 8, 2014 at 4:55 PM, Shiroshica Kulatilake wrote: > Hi All, > > While cleaning up the REST API I noticed that we have used the word > "deploy" instead of 'create' in some places. > > We need to use these terms consistently IMO > > As a first start thought of renaming the api methods in

Re: Use of create instead of deploy within Stratos

2014-12-08 Thread Manula Chathurika Thantriwatte
Hi, +1 for the purposed terminology. On Mon, Dec 8, 2014 at 5:01 PM, Lahiru Sandaruwan wrote: > +1 for "create" for these APIs, since we have a separate operation called > "deploy" for the applications as of latest changes. > > Thanks. > > On Mon, Dec 8, 2014 at 4:55 PM, Shiroshica Kulatilake

Re: Use of create instead of deploy within Stratos

2014-12-08 Thread Lahiru Sandaruwan
+1 for "create" for these APIs, since we have a separate operation called "deploy" for the applications as of latest changes. Thanks. On Mon, Dec 8, 2014 at 4:55 PM, Shiroshica Kulatilake wrote: > Hi All, > > While cleaning up the REST API I noticed that we have used the word > "deploy" instead

Use of create instead of deploy within Stratos

2014-12-08 Thread Shiroshica Kulatilake
Hi All, While cleaning up the REST API I noticed that we have used the word "deploy" instead of 'create' in some places. We need to use these terms consistently IMO As a first start thought of renaming the api methods in the rest api to reflect this. e.g. Policies = create/delete instead of dep

Re: Global Deployment Policy for the Application

2014-12-08 Thread Manula Chathurika Thantriwatte
Hi Martin, Yes, you are correct. "applicationId":"test_app_os4" have match with the applicationId which we were using. Thanks ! On Sat, Dec 6, 2014 at 3:26 AM, Martin Eppel (meppel) wrote: > One more question, in the deployment_policy.json there is a filed > "applicationId": "test_app_os4", –

Re: [1/2] git commit: Added java2wsdl plugin execution

2014-12-08 Thread Nirmal Fernando
Thanks Mari. On Mon, Dec 8, 2014 at 3:25 PM, Mariangela Hills wrote: > I have added information on how to generate a WSDL automatically in the > developer guide [1]. > > [1] > https://cwiki.apache.org/confluence/display/STRATOS/Automatically+Generating+a+WSDL+File > > Regards, > Mariangela > > >

Re: [1/2] git commit: Added java2wsdl plugin execution

2014-12-08 Thread Mariangela Hills
I have added information on how to generate a WSDL automatically in the developer guide [1]. [1] https://cwiki.apache.org/confluence/display/STRATOS/Automatically+Generating+a+WSDL+File Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware.

[jira] [Comment Edited] (STRATOS-1026) Wiki - Document the java2wsdl plugin

2014-12-08 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237690#comment-14237690 ] Mariangela Hills edited comment on STRATOS-1026 at 12/8/14 9:54 AM: --

[jira] [Resolved] (STRATOS-1026) Wiki - Document the java2wsdl plugin

2014-12-08 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1026. --- Resolution: Fixed Fix Version/s: 4.1.0 Added information in [1] in the develo

[Discuss] A Mock Infrastructure as a Service for Cloud Controller

2014-12-08 Thread Imesh Gunaratne
Hi Devs, As many of us have already experienced, verifying service grouping functionality is a very time consuming process with a real Infrastructure as a Service (IaaS) platform. This may include: - Setting up and configuring an IaaS - Creating base images - Setting up puppet master - Implementi