Re: GSoC 2015 introduction

2015-02-18 Thread Chamila De Alwis
Hi Nisala, You can find the source for Apache Stratos on Github[1]. The CLI code is in components/org.apache.stratos.cli [2]. [1] - https://github.com/apache/stratos [2] - https://github.com/apache/stratos/tree/master/components/org.apache.stratos.cli Regards, Chamila de Alwis Software Engineer

Re: CLI commands added for adding and updating deployment policies

2015-02-18 Thread Dinithi De Silva
I have fixed the CLI command for deactivate tenant. Please review and merge the PR [1]. [1] - https://github.com/apache/stratos/pull/235 On Wed, Feb 18, 2015 at 3:49 PM, Rajkumar Rajaratnam wrote: > Hi Dinithi, > > Thanks for the PR. I have merged it now. > > Thanks. > > On Wed, Feb 18, 2015 at

[GitHub] stratos pull request: Fixed CLI command for deactivate tenant

2015-02-18 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/235 Fixed CLI command for deactivate tenant Fixed CLI command for deactivate tenant You can merge this pull request into a Git repository by running: $ git pull https://github.com/dinithis/strato

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Imesh Gunaratne
I have now added a validation to verify cartridge groups in applications, commit revision: 9b0b3df2fd93024fe725b87a0c59fdfd672e3d50 On Thu, Feb 19, 2015 at 9:54 AM, Reka Thirunavukkarasu wrote: > That's great Imesh..Yah..We didn't implement the validation in the > pre-alpha due to the time const

GSoC 2015 introduction

2015-02-18 Thread Nisala Mendis
Hi all, I am nisala nirmana. I am currently a postgraduate student in University of Colombo while partly working as a research engineer at Dialog mobile communication research laboratory University of Moraturwa. I am also a past graduate student of university of Kelaniya Sri Lanka and Curtin Univer

GSoC 2015 introduction

2015-02-18 Thread Nisala Mendis
Hi all, I am nisala nirmana. I am currently a postgraduate student in University of Colombo while partly working as a research engineer at Dialog mobile communication research laboratory University of Moraturwa. I am also a past graduate student of university of Kelaniya Sri Lanka and Curtin Univer

[jira] [Created] (STRATOS-1199) Adding a new application via UI

2015-02-18 Thread Shavindri Dissanayake (JIRA)
Shavindri Dissanayake created STRATOS-1199: -- Summary: Adding a new application via UI Key: STRATOS-1199 URL: https://issues.apache.org/jira/browse/STRATOS-1199 Project: Stratos Issue

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Rajkumar Rajaratnam
Good luck Lakmal! On Thu, Feb 19, 2015 at 11:05 AM, Udara Liyanage wrote: > Hi Lakmal, > > Good luck Lakmal > > On Thu, Feb 19, 2015 at 10:59 AM, Isuru Perera wrote: > >> I just voted! I'm sure it will be a great presentation. Wish you all the >> best! :) >> >> On Wed, Feb 18, 2015 at 6:06 PM,

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Udara Liyanage
Hi Lakmal, Good luck Lakmal On Thu, Feb 19, 2015 at 10:59 AM, Isuru Perera wrote: > I just voted! I'm sure it will be a great presentation. Wish you all the > best! :) > > On Wed, Feb 18, 2015 at 6:06 PM, Lakmal Warusawithana > wrote: > >> Hi Devs, >> >> I have submitted "Building a DevOps Paa

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Isuru Perera
I just voted! I'm sure it will be a great presentation. Wish you all the best! :) On Wed, Feb 18, 2015 at 6:06 PM, Lakmal Warusawithana wrote: > Hi Devs, > > I have submitted "Building a DevOps PaaS with Docker, CoreOS, Kubernetes > and Apache Stratos on top of OpenStack" talk/presentation to Op

Re: [Discuss] Writing Cartridge Agent Extensions in Python

2015-02-18 Thread Chamila De Alwis
Hi Imesh, I've opened a PR for this feature at [1]. Please review and merge. [1] - https://github.com/apache/stratos/pull/234 Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Sat, Feb 14, 2015 at 10:02 PM, Chamila De Alwis wrote: > Hi Imesh

[jira] [Commented] (STRATOS-1180) Modify extension execution structure in Python Cartridge Agent

2015-02-18 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326999#comment-14326999 ] ASF GitHub Bot commented on STRATOS-1180: - GitHub user chamilad opened a pull re

[GitHub] stratos pull request: [STRATOS-1180] - Yapsy based plugin architec...

2015-02-18 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/234 [STRATOS-1180] - Yapsy based plugin architecture for PCA A basic plugin system where /plugins folder can be used to drop plugins to be picked up by the PCA. For this I've used Yapsy[1] plugin fra

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Reka Thirunavukkarasu
That's great Imesh..Yah..We didn't implement the validation in the pre-alpha due to the time constraint.. Thanks, Reka On Wed, Feb 18, 2015 at 9:15 PM, Imesh Gunaratne wrote: > Thanks Reka! Following are my current observations: > > - Currently there are no validations to verify whether a group

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Imesh Gunaratne
Thanks Reka! Following are my current observations: - Currently there are no validations to verify whether a group added to an application has defined all the cartridges. At the moment this is not detected at any stage. - There are no validations to verify aliases. - IMO without validations, due t

Re: Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Chamila De Alwis
Hi Imesh, What I have in mind is a conf file with values for (ex:) region, key and security group, that the deploy script will include in the artifacts before executing the REST calls, for each cartridge definition, deployment policy, network partition artifacts. I will try this possibility. Reg

Re: [Discuss] Fixing Autoscaling Issues

2015-02-18 Thread Imesh Gunaratne
I have mistakenly sent grouping related information in this thread. Please refer "[Discuss] Fixing Grouping Issues" for grouping related fixes. On Wed, Feb 18, 2015 at 9:42 PM, Imesh Gunaratne wrote: > As existing grouping samples are bit complex and difficult to debug, I > implemented a new app

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Reka Thirunavukkarasu
Yah Imesh, Grouping functionality has been tested in the pre-alpha and most of the features were working fine. We will need to fix some other edge cases.. Thanks, Reka On Wed, Feb 18, 2015 at 7:15 PM, Imesh Gunaratne wrote: > I think I found the root cause of the most of the grouping functional

Re: Mock IaaS does not update stat values as expected

2015-02-18 Thread Imesh Gunaratne
Great! May be it was not clear. For others information: In mock-iaas.xml if we need any custom statistics publishing for a cluster, we need to add an entry for the relevant cartridge type. On Thu, Feb 19, 2015 at 9:13 AM, Lahiru Sandaruwan wrote: > Missed that Imesh. Type is wrong. I think that

Re: Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Imesh Gunaratne
Each cartridge should specify which IaaS/region to use. Then we need to specify them in the cartridge definition. How can we use a configuration file in this scenario? On Thu, Feb 19, 2015 at 9:10 AM, Chamila De Alwis wrote: > Hi Udara, > > Thanks for the response, yes that was the reason. Why n

Re: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id

2015-02-18 Thread Imesh Gunaratne
Hi Martin, Application signups has a dedicated event receiver: They are not handled by Application event receiver, let us know if you need further clarifications. Thanks ​ On Thu, Feb 19, 2015 at 4:52 AM, Martin Eppel (meppel) wrote: > Hi, > > > > I have another question regarding this impl

Re: Mock IaaS does not update stat values as expected

2015-02-18 Thread Lahiru Sandaruwan
Missed that Imesh. Type is wrong. I think that should be the problem. Will try with the correct one. Thanks. On Thu, Feb 19, 2015 at 9:08 AM, Imesh Gunaratne wrote: > Lahiru, did you check the cartridge type? Is it matching? > > On Thu, Feb 19, 2015 at 12:57 AM, Lahiru Sandaruwan > wrote: > >>

Re: Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Chamila De Alwis
Hi Udara, Thanks for the response, yes that was the reason. Why not have a conf file to specify these values which can be included in the samples when running? It might complicate the setup, however it can also simplify configuring the samples. Regards, Chamila de Alwis Software Engineer | WSO2

Re: [Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread Imesh Gunaratne
It's nice to hear you feedback! I'm still improving it, will send an update soon. We need to do this for all the major components and make the internals transparent. Thanks On Thu, Feb 19, 2015 at 8:49 AM, Reka Thirunavukkarasu wrote: > Really nice to see the diagram Imesh.. > > > Thanks, > Rek

Re: Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Imesh Gunaratne
If you can fix this please send a pull request. On Thu, Feb 19, 2015 at 6:59 AM, Udara Liyanage wrote: > Hi Chamila, > > Yes, region is "default" in the artifact you have deployed. It is > "RegionOne" for default openstack setup unless you have explicitly define > regions > On 19 Feb 2015 01:41,

Re: Mock IaaS does not update stat values as expected

2015-02-18 Thread Imesh Gunaratne
Lahiru, did you check the cartridge type? Is it matching? On Thu, Feb 19, 2015 at 12:57 AM, Lahiru Sandaruwan wrote: > Hi, > > $subject.. > > I have [1] as my configuration. > But it does not update the memory consumption value after one minute, and > kept sending 20. Looking into it. > > Thanks

Re: [Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread Reka Thirunavukkarasu
Really nice to see the diagram Imesh.. Thanks, Reka On Wed, Feb 18, 2015 at 8:09 PM, Rajkumar Rajaratnam wrote: > Thanks for the diagram Imesh. It is really really useful. > > Thanks > > On Wed, Feb 18, 2015 at 8:23 PM, Imesh Gunaratne wrote: > >> Thanks Shiro! Yes a sequence diagram would be

Re: [Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread Rajkumar Rajaratnam
Thanks for the diagram Imesh. It is really really useful. Thanks On Wed, Feb 18, 2015 at 8:23 PM, Imesh Gunaratne wrote: > Thanks Shiro! Yes a sequence diagram would be ideal to represent this. > This is something I drew while fixing grouping functional issues to > understand the current implem

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Gayan Gunarathne
That's Looks great Lakmal! Voted on that! All the very best :) Thanks, Gayan On Wed, Feb 18, 2015 at 11:04 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > All the very best :) > > On Wed, Feb 18, 2015 at 8:55 PM, Dakshika Jayathilaka > wrote: > >> Done.. All the best lakmal.. >> >>

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Imesh Gunaratne
s/review/reviewing/g On Thu, Feb 19, 2015 at 7:45 AM, Imesh Gunaratne wrote: > I think I found the root cause of the most of the grouping functionality > issues after debugging it for nearly a day. > > The problem seems to be with the usage of aliases and ids. AFAIK grouping > functionality work

Re: [Discuss] Fixing Grouping Functionality

2015-02-18 Thread Imesh Gunaratne
I think I found the root cause of the most of the grouping functionality issues after debugging it for nearly a day. The problem seems to be with the usage of aliases and ids. AFAIK grouping functionality worked without a problem in pre-alpha there after it broke when we did some fixes related to

Re: Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Udara Liyanage
Hi Chamila, Yes, region is "default" in the artifact you have deployed. It is "RegionOne" for default openstack setup unless you have explicitly define regions On 19 Feb 2015 01:41, "Chamila De Alwis" wrote: > Hi, > > I'm coming across the following error when executing the deploy script in > th

RE: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id

2015-02-18 Thread Martin Eppel (meppel)
Hi, I have another question regarding this implementation: The PCA (py cartridge agent) handles the “ApplicationSignUpRemovedEvent” (in agent.py), which subsequently I added as well to the JCA. However, it seems support for this event is missing in the “ApplicationsEventReceiver” (respectively

[jira] [Updated] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-18 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-1192: -- Description: There are several improvements / commits which were made in a private 4.0 based

[jira] [Updated] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-18 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-1192: -- Description: There are several improvements / commits which were made in a private 4.0 based

[jira] [Updated] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-18 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-1192: -- Description: There are several improvements / commits which were made in a private 4.0 based

[jira] [Comment Edited] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-18 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326602#comment-14326602 ] Martin Eppel edited comment on STRATOS-1192 at 2/18/15 9:47 PM: --

[jira] [Updated] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-18 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-1192: -- Attachment: 4652fb47fe4b2a0c0b454d9cf5d034e90661e667.patch This patch adds to the the pluginF

Invalid Partition detected - samples/applications/single-cartridge/openstack

2015-02-18 Thread Chamila De Alwis
Hi, I'm coming across the following error when executing the deploy script in the single cartridge application, for openstack. It seems like an issue with the artifacts. TID: [0] [STRATOS] [2015-02-19 01:22:50,668] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating p

Mock IaaS does not update stat values as expected

2015-02-18 Thread Lahiru Sandaruwan
Hi, $subject.. I have [1] as my configuration. But it does not update the memory consumption value after one minute, and kept sending 20. Looking into it. Thanks. [1] 20,120 60 -- -- Lahiru Sanda

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Sajith Kariyawasam
I have already implemented persisting applicationId - applicationPolicy map, and getApplicationPolicy by application Id, in PolicyManager May be you can expose the same via AutoscalerServiceImpl On Wed, Feb 18, 2015 at 10:23 PM, Rajkumar Rajaratnam wrote: > > > On Wed, Feb 18, 2015 at 10:17 PM,

Re: REST API methods for managing deployment policies

2015-02-18 Thread Rajkumar Rajaratnam
Hi, I have now implemented an API (getDeploymentPolicies) in CC to retrieve all the deployment policies and implemented the corresponding rest API (getDeploymentPolicies) as below. GET /deploymentPolicies @Dinithi, Please update the CLI for this API too. Thanks. On Wed, Feb 18, 2015 at 10:21 P

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Vishanth Balasubramaniam
All the very best :) On Wed, Feb 18, 2015 at 8:55 PM, Dakshika Jayathilaka wrote: > Done.. All the best lakmal.. > > @Dulitha: Register as a community member > > https://www.openstack.org/join/register/ > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 07

Re: REST API methods for managing deployment policies

2015-02-18 Thread Rajkumar Rajaratnam
On Wed, Feb 18, 2015 at 7:46 PM, Imesh Gunaratne wrote: > > On Wed, Feb 18, 2015 at 2:52 PM, Rajkumar Rajaratnam > wrote: >> >> >> @Imesh, do we need an API in CC to list all the deployment policies (like >> we already have an api in CC to list all network partitions)? >> >> Yes we do Raj, thank

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
On Wed, Feb 18, 2015 at 10:17 PM, Rajkumar Rajaratnam wrote: > > > On Wed, Feb 18, 2015 at 7:54 PM, Imesh Gunaratne wrote: > >> Great effort Raj! Validations look good! >> >> I think we could introduce a new API method to query network partition >> references in a given application. This would a

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
On Wed, Feb 18, 2015 at 7:54 PM, Imesh Gunaratne wrote: > Great effort Raj! Validations look good! > > I think we could introduce a new API method to query network partition > references in a given application. This would allow the UI to generate the > application deployment page with a set of ch

Re: [Discuss] Fixing Autoscaling Issues

2015-02-18 Thread Imesh Gunaratne
As existing grouping samples are bit complex and difficult to debug, I implemented a new application having a single group with mysql and php cartridges and a startup dependency: cartridge.mysql, cartridge.php: [1] This application is activating without any problems. I'm now introducing addition

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Anuruddha Liyanarachchi
Hi Imesh, PFA file. On Wed, Feb 18, 2015 at 7:44 PM, Imesh Gunaratne wrote: > Hi Anuruddha, > > Can you please share the cartridge-config.properties file in > repository/conf folder? > > Thanks > > On Wed, Feb 18, 2015 at 3:01 PM, Anuruddha Liyanarachchi < > anurudd...@wso2.com> wrote: > >> Hi

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Dakshika Jayathilaka
Done.. All the best lakmal.. @Dulitha: Register as a community member https://www.openstack.org/join/register/ *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Feb 18, 2015 at 7:51 PM, Imesh Gunaratne wrote: > It looks great Lakmal! Just voted!

Re: [Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread Imesh Gunaratne
Thanks Shiro! Yes a sequence diagram would be ideal to represent this. This is something I drew while fixing grouping functional issues to understand the current implementation. Thanks On Wed, Feb 18, 2015 at 8:07 PM, shiro wrote: > Good to see this in one diagram - a much needed one at that !

Re: [Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread shiro
Good to see this in one diagram - a much needed one at that ! Would it be more clear if it was in the form of a sequence diagram ? - Just a suggestion On Wed, Feb 18, 2015 at 8:04 PM, Imesh Gunaratne wrote: > Hi Devs, > > I analyzed the current Application Deployment Work Flow and drew a diagra

[Discuss] [Diagram] Application Deployment Work Flow

2015-02-18 Thread Imesh Gunaratne
Hi Devs, I analyzed the current Application Deployment Work Flow and drew a diagram to describe it: Thanks ​ -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Imesh Gunaratne
Great effort Raj! Validations look good! I think we could introduce a new API method to query network partition references in a given application. This would allow the UI to generate the application deployment page with a set of checkboxes to select "active by default" property in each network par

Re: Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Imesh Gunaratne
It looks great Lakmal! Just voted! All the very best! :-) On Wed, Feb 18, 2015 at 6:06 PM, Lakmal Warusawithana wrote: > Hi Devs, > > I have submitted "Building a DevOps PaaS with Docker, CoreOS, Kubernetes > and Apache Stratos on top of OpenStack" talk/presentation to OpenStack > summit and the

Re: REST API methods for managing deployment policies

2015-02-18 Thread Imesh Gunaratne
On Wed, Feb 18, 2015 at 2:52 PM, Rajkumar Rajaratnam wrote: > > > @Imesh, do we need an API in CC to list all the deployment policies (like > we already have an api in CC to list all network partitions)? > > Yes we do Raj, thanks for pointing. We also need mapping CLI and UI features. Thanks -

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Imesh Gunaratne
Hi Anuruddha, Can you please share the cartridge-config.properties file in repository/conf folder? Thanks On Wed, Feb 18, 2015 at 3:01 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Udara, > > I build the source from > https://git-wip-us.apache.org/repos/asf/stratos.git. again a

Re: 4.1 deployment policy questions

2015-02-18 Thread Lakmal Warusawithana
On Wednesday, February 18, 2015, Rajkumar Rajaratnam wrote: > Hi Imesh, > > Please find a question inline. > > On Wed, Feb 11, 2015 at 7:27 PM, Imesh Gunaratne > wrote: > >> Hi Devs, >> >> Today we had a call on this topic and please find the summary of the >> discussion below: >> >> - In Strato

Re: 4.1 deployment policy questions

2015-02-18 Thread Rajkumar Rajaratnam
Hi Imesh, Please find a question inline. On Wed, Feb 11, 2015 at 7:27 PM, Imesh Gunaratne wrote: > Hi Devs, > > Today we had a call on this topic and please find the summary of the > discussion below: > > - In Stratos 4.0.0 the deployment policy was defined in the global context > and it was re

[Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
Hi Devs, I am almost done with application policy validation logic and would like to give an update on the implementation. This is the sample application policy. { "networkPartition":[ { "id":"network-partition-1", "activeByDefault":"true" }, { "id"

Open for Vote : Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack

2015-02-18 Thread Lakmal Warusawithana
Hi Devs, I have submitted "Building a DevOps PaaS with Docker, CoreOS, Kubernetes and Apache Stratos on top of OpenStack" talk/presentation to OpenStack summit and they have open it for vote. Please have a look and vote.[1] thanks [1] https://www.openstack.org/vote-vancouver/Presentation/buildi

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Mariangela Hills
This has been fixed in [1]. Thanks, for reporting! [1] https://issues.apache.org/jira/browse/STRATOS-1198 Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Wed, Feb 18,

[jira] [Updated] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-18 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1198: -- Description: I'm trying to deploy an application in PaaS 4.1.0 as for this documentati

[jira] [Resolved] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-18 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1198. --- Resolution: Fixed Fixed in [1]. [1] https://cwiki.apache.org/confluence/display/ST

[jira] [Assigned] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-18 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills reassigned STRATOS-1198: - Assignee: Mariangela Hills > Wrong cartridge JSON mentioned in single cartridge

[jira] [Created] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-18 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1198: - Summary: Wrong cartridge JSON mentioned in single cartridge cURL command Key: STRATOS-1198 URL: https://issues.apache.org/jira/browse/STRATOS-1198 Project:

Re: CLI commands added for adding and updating deployment policies

2015-02-18 Thread Rajkumar Rajaratnam
Hi Dinithi, Thanks for the PR. I have merged it now. Thanks. On Wed, Feb 18, 2015 at 2:48 PM, Dinithi De Silva wrote: > I have added CLI command to describe a network partition by id. > > https://github.com/apache/stratos/pull/232 > > On Mon, Feb 16, 2015 at 5:15 PM, Dinithi De Silva > wrote:

[GitHub] stratos pull request: 4.1.0 beta deployment policy fix

2015-02-18 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/232 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

Re: Openstack networking modes supported

2015-02-18 Thread Alok Jani
Rajkumar, Imesh, Thank You for the quick response and directing me to the current alpha. The above link was precisely what I was searching for. Looking forward to the 4.1.0 release. Cheers On Wed, Feb 18, 2015 at 2:31 PM, Rajkumar Rajaratnam wrote: > Hi Alok, > > Please find my comments inline

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-18 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/233 PCA - Fixed PCA integration test to be parameterized on artifact updated event objects This fix enables to test the authenticated git clone on PCA and also fixes minor issues in test structure.

Re: REST API methods for managing deployment policies

2015-02-18 Thread Dinithi De Silva
Hi Raj, I'll add the CLI command to get deployment policies. On Wed, Feb 18, 2015 at 2:52 PM, Rajkumar Rajaratnam wrote: > Hi, > > Get deployment policy rest API was missing. I have now implemented it as > below. > > GET /deploymentPolicies/{deploymentPolicyId} > > Better if we update the

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Anuruddha Liyanarachchi
Hi Udara, I build the source from https://git-wip-us.apache.org/repos/asf/stratos.git. again and tried to run the following command to add auto scaling policy. curl -X POST -H "Content-Type: application/json" -d > @'applications/single-cartridge/artifacts/autoscaling-policy.json' -k -v -u > admin

[jira] [Created] (STRATOS-1197) Message not displayed when remove-kubernetes-cluster CLI command executed

2015-02-18 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1197: - Summary: Message not displayed when remove-kubernetes-cluster CLI command executed Key: STRATOS-1197 URL: https://issues.apache.org/jira/browse/STRATOS-1197

[jira] [Updated] (STRATOS-1195) Message not displayed when remove-cartridge CLI command executed

2015-02-18 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1195: -- Description: When looking at the code related to the remove-cartridge CLI command I no

[jira] [Updated] (STRATOS-1195) Message not displayed when remove-cartridge CLI command executed

2015-02-18 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1195: -- Summary: Message not displayed when remove-cartridge CLI command executed (was: Succe

Re: REST API methods for managing deployment policies

2015-02-18 Thread Rajkumar Rajaratnam
Hi, Get deployment policy rest API was missing. I have now implemented it as below. GET /deploymentPolicies/{deploymentPolicyId} Better if we update the CLI to have this command too. @Imesh, do we need an API in CC to list all the deployment policies (like we already have an api in CC to

Re: CLI commands added for adding and updating deployment policies

2015-02-18 Thread Dinithi De Silva
I have added CLI command to describe a network partition by id. https://github.com/apache/stratos/pull/232 On Mon, Feb 16, 2015 at 5:15 PM, Dinithi De Silva wrote: > Hi all, > I have updated the removeDeploymentPolicy API method and added the > relevant CLI command in the same PR. > > On Mon, F

[GitHub] stratos pull request: Change the fault members identifying way

2015-02-18 Thread sajithswa
Github user sajithswa commented on the pull request: https://github.com/apache/stratos/pull/230#issuecomment-74833370 Sure. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enable

[GitHub] stratos pull request: Change the fault members identifying way

2015-02-18 Thread sajithswa
Github user sajithswa closed the pull request at: https://github.com/apache/stratos/pull/230 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] stratos pull request: Change the fault members identifying way

2015-02-18 Thread R-Rajkumar
Github user R-Rajkumar commented on the pull request: https://github.com/apache/stratos/pull/230#issuecomment-74833181 Since you have sent a different PR with these changes, can you please close this PR? --- If your project is set up for it, you can reply to this email and have your

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Udara Liyanage
Hi Mari, There was an mistake in the doc mentioned. It should deploy php cartridge instead of tomcat. On Wed, Feb 18, 2015 at 2:33 PM, Sajith Abeywardhana wrote: > Hi Udara, > > Yes, Application refers to php cartilage, but stratos do have only tomcat > cartilage. I suggest your team to correct

Re: Openstack networking modes supported

2015-02-18 Thread Rajkumar Rajaratnam
Hi Alok, Please find my comments inline. On Wed, Feb 18, 2015 at 11:26 AM, Alok Jani wrote: > Greetings, > I've been reading through the installation notes regarding an Openstack > based install but was unable to find any reference to a preferred/tested > version for Stratos 4.0. > AFAIK, Stra

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Sajith Abeywardhana
Hi Udara, Yes, Application refers to php cartilage, but stratos do have only tomcat cartilage. I suggest your team to correct the document. In 4th number curl command should execute the php.json file instead of tomcat.json as you pointed out. *Sajith Abeywardhana* | Software Engineer WSO2, Inc |

Re: [Discuss] Openstack networking

2015-02-18 Thread Imesh Gunaratne
Hi Alok, It's nice to hear from you! No, Neutron networking support was implemented in 4.1.0. You can try it out using 4.1.0-alpha tag. Thanks On Wed, Feb 18, 2015 at 2:15 PM, Alok Jani wrote: > Greetings, > I've been reading through the installation notes regarding an Openstack > based instal

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Udara Liyanage
Hi, Ideally CartridgeConfigFileReader reads the properties in the file and exposes as system variables. If you add debug logs for this class org.apache.stratos.manager.utils.CartridgeConfigFileReader you can check if those properties are exposed. Btw are you trying with packs build from current 4

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Anuruddha Liyanarachchi
Hi Udara, PFB my cartridge-config.properties file content. autoscaler.service.url=https://localhost:9443/services/AutoscalerService/ cloud.controller.service.url= https://localhost:9443/services/CloudControllerService/ stratos.manager.service.url= https://localhost:9443/services/StratosManagerSer

[Discuss] Openstack networking

2015-02-18 Thread Alok Jani
Greetings, I've been reading through the installation notes regarding an Openstack based install but was unable to find any reference to a preferred/tested version for Stratos 4.0. It appears from cloud-controller.xml that the provider is set to Nova Networking. Would the 4.0 version work with Neu

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Udara Liyanage
Hi, It seems the cartridge you refereed in your application is not added. Can you share your artefacts. On Wed, Feb 18, 2015 at 1:59 PM, Sajith Abeywardhana wrote: > Hi All, > > I'm trying to deploy an application in PaaS 4.1.0 as for this > documentation [1]. When I execute the 5th number curl

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Udara Liyanage
Hi, You should have cloud.controller.service.url= https://stratos.apache.org:9443/services/CloudControllerService/ in your cartridge-config.properties file. Could you share the content of your cartridge-config.properties file. On Wed, Feb 18, 2015 at 2:04 PM, Dakshika Jayathilaka wrote: > can y

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Anuruddha Liyanarachchi
Hi Dakshika, PFA the JSON. On Wed, Feb 18, 2015 at 2:04 PM, Dakshika Jayathilaka wrote: > can you share your JSON > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > On Wed, Feb 18, 2015 at 2:00 PM, Anuruddha Liyanarachchi < > anurudd...@wso

[jira] [Commented] (STRATOS-1194) Restrict creating a new cartridge group without specific cartridges/groups defined via UI

2015-02-18 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325582#comment-14325582 ] Shavindri Dissanayake commented on STRATOS-1194: Hi Udara, When trying

Re: [Dev] Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Dakshika Jayathilaka
can you share your JSON *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Feb 18, 2015 at 2:00 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi all, > > I am trying sample [1] >

Startos 4.1.0 Single Cartridge on Mock IaaS : Internal server error

2015-02-18 Thread Anuruddha Liyanarachchi
Hi all, I am trying sample [1] . When I execute the 4.Add the cartridge which is defined in the tomcat.json file.. I get following error on stratos console. [2015-02-18 13:49:27,628] ERROR > {org.apache.s

[Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-18 Thread Sajith Abeywardhana
Hi All, I'm trying to deploy an application in PaaS 4.1.0 as for this documentation [1]. When I execute the 5th number curl command I got the below exception. [1] - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+Mock+IaaS [2015-02-18 13:40:15,296] INFO {org.apach