Re: [Discuss] Are we creating a replication controller per member?

2015-01-05 Thread Lakmal Warusawithana
On Tue, Jan 6, 2015 at 1:17 PM, Rajkumar Rajaratnam wrote: > Hi, > > Seems replication controller id is same as member id. > > core@master ~ $ kubecfg list replicationControllers > Name > Image(s) > Selector > Replicas > -- > > -- > --

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Sajith Kariyawasam
I fixed this now. Verified with a tomcat cartridge in Openstack On Tue, Jan 6, 2015 at 11:55 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi, > > DEPLOYMENT payload parameter set in two places in BasicPayloadData and > ApplicationUtils. Can we set this in one place ? > > Thanks

[Discuss] Are we creating a replication controller per member?

2015-01-05 Thread Rajkumar Rajaratnam
Hi, Seems replication controller id is same as member id. core@master ~ $ kubecfg list replicationControllers Name Image(s) Selector Replicas -- -- -- -- php-php-domain7dd60909-45a3-425f-820e-9703237e6d90 stratos/php:4.1.0-alp

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Manula Chathurika Thantriwatte
Hi, DEPLOYMENT payload parameter set in two places in BasicPayloadData and ApplicationUtils. Can we set this in one place ? Thanks ! On Tue, Jan 6, 2015 at 11:40 AM, Sajith Kariyawasam wrote: > Found an issue while testing in Openstack, DEPLOYMENT payload parameter is > set twice, as follows..

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Sajith Kariyawasam
Found an issue while testing in Openstack, DEPLOYMENT payload parameter is set twice, as follows.. APPLICATION_ID=single-cartridge-app,GROUP_NAME=null,SERVICE_NAME=tomcat,HOST_NAME= tomcat.tomcat.apache.org ,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=*,CARTRIDGE_ALIAS=tomcat,CLUSTER_ID=tomcat.

Re: Jclouds creates security groups in EC2 for each new instance

2015-01-05 Thread Manula Chathurika Thantriwatte
Hi, I think this is the known problem in EC2. We can try with [1] [1] http://www.cloudsoftcorp.com/blog/2013/03/tidying-up-after-jclouds/ Thanks ! On Tue, Jan 6, 2015 at 10:51 AM, Sajith Kariyawasam wrote: > Hi all, > > I noted, for each new instance being created in EC2, JClouds creates a ne

Jclouds creates security groups in EC2 for each new instance

2015-01-05 Thread Sajith Kariyawasam
Hi all, I noted, for each new instance being created in EC2, JClouds creates a new security group (prefix jclouds# ) and seems its not removed when instances are terminated. This results in unused security groups being accumulated.. shouldn't those security groups be deleted in instance terminatio

Re: Cloud-Stack Configuration

2015-01-05 Thread Supun Muthutantrige
More detailed documentation about setting up Cloud-stack can be found under [2]. [2]. http://thehyperadvisor.com/2014/08/05/quick-easy-apache-cloudstack-deployments-using-cldstk-deploy/#comment-3641 Thank you, Regards *Supun Rasitha Muthutantrige* Software Engineer | Intern WSO2 Inc: http://ws

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Mariangela Hills
I will work with Manula on this task! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Jan 6, 2015 at 9:34 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wr

Cloud-Stack Configuration

2015-01-05 Thread Supun Muthutantrige
Hi, Currently I am working on configuring Cloud-Stack in my local machine. I am using a VM VirtualBox hypervisor. Cloud-stack management server and the KVM hosts are configured in separate (Centos 6.6) virtual machines. Since manual configuration takes significant amount of time, currently i am fo

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Manula Chathurika Thantriwatte
Hi, I'll work with Mari and update the documentation. Thanks ! On Mon, Jan 5, 2015 at 6:22 PM, Imesh Gunaratne wrote: > Great work Manula! Really nice to hear that it worked on EC2 without any > problems. > > I think we need to update the documentation with the relevant information > including

Re: Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Rajkumar Rajaratnam
I have done this. Thanks. On Mon, Jan 5, 2015 at 10:14 PM, Reka Thirunavukkarasu wrote: > Sorry..I was not upto date..That's great.. > > Thanks, > Reka > > On Mon, Jan 5, 2015 at 9:32 AM, Rajkumar Rajaratnam > wrote: > >> Hi Reka, >> >> Thanks for the ack! >> >> Lahiru already merged AbstractC

Re: Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Reka Thirunavukkarasu
Sorry..I was not upto date..That's great.. Thanks, Reka On Mon, Jan 5, 2015 at 9:32 AM, Rajkumar Rajaratnam wrote: > Hi Reka, > > Thanks for the ack! > > Lahiru already merged AbstractClusterMonitor into ClusterMonitor. We don't > have AbstractClusterMonitor now :) > > So better to drop this Cl

Re: Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Rajkumar Rajaratnam
Hi Reka, Thanks for the ack! Lahiru already merged AbstractClusterMonitor into ClusterMonitor. We don't have AbstractClusterMonitor now :) So better to drop this ClusterMonitorFactory too. Will do. Thanks. On Mon, Jan 5, 2015 at 9:59 PM, Reka Thirunavukkarasu wrote: > +1. We can move this to

Re: Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Reka Thirunavukkarasu
+1. We can move this to MonitorFactory as ClusterMonitor is also a Monitor. Also, please do consider whether we will need AbstractClusterMonitor as ClusterMonitor is the the only child class of AbstractClusterMonitor AFAIK. But, if we need the AbstractClusterMonitor in future at some point, then i'

Re: Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Rajkumar Rajaratnam
If you look at the ClusterMonitorFactory class, there are only a few lines of code. There is no need to have a separate factory for cluster monitors. We can move this to MonitorFactory class which has the factory method for other monitors such as group monitor and application monitor. Thanks. On

Configuration of Load Balancer related to the service grouping

2015-01-05 Thread Gayan Gunarathne
Hi All, Following are the identified changes related to the configuration of Load Balancer related to the service grouping. - We can treat the LB cartridge as same as other cartridges.We can distinguished the Load balances cartridge based on the cartridge category. i.e if the cartridge

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Imesh Gunaratne
Great work Manula! Really nice to hear that it worked on EC2 without any problems. I think we need to update the documentation with the relevant information including how to setup Stratos 4.1.0 on EC2 from scratch. Appreciate if Mari can assist us on this. Thanks On Mon, Jan 5, 2015 at 5:12 PM,

Re: [Discuss] Finalizing 4.1.0-Alpha Release

2015-01-05 Thread Manula Chathurika Thantriwatte
Hi, I have done the test in EC2 IaaS and it works successfully. Thanks ! On Sun, Jan 4, 2015 at 10:42 PM, Imesh Gunaratne wrote: > Great work Lahiru! > > Thanks > -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email

Re: Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Shiroshica Kulatilake
On Mon, Jan 5, 2015 at 4:33 PM, Rajkumar Rajaratnam wrote: > Hi, > > Yeah should be 404. Fixed it. > +1 > > Thanks. > > On Mon, Jan 5, 2015 at 3:17 PM, Udara Liyanage wrote: > >> Hi, >> >> Client should get a 404 in this case. >> >> On Mon, Jan 5, 2015 at 3:15 PM, Shiroshica Kulatilake >> wrot

Shall we remove ClusterMonitorFactory?

2015-01-05 Thread Rajkumar Rajaratnam
Hi Devs, We have a single cluster monitor now. I guess we can remove the factory class. wdyt? Thanks. -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com

Re: Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Rajkumar Rajaratnam
Hi, Yeah should be 404. Fixed it. Thanks. On Mon, Jan 5, 2015 at 3:17 PM, Udara Liyanage wrote: > Hi, > > Client should get a 404 in this case. > > On Mon, Jan 5, 2015 at 3:15 PM, Shiroshica Kulatilake > wrote: > >> Exception or error ? >> >> On Mon, Jan 5, 2015 at 3:11 PM, Rajkumar Rajaratna

[jira] [Resolved] (STRATOS-1055) [Wiki] - Improvements needed in the Puppet Master docs

2015-01-05 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1055. --- Resolution: Fixed This information has been added to the wiki documentation in [1].

[jira] [Created] (STRATOS-1055) [Wiki] - Improvements needed in the Puppet Master docs

2015-01-05 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1055: - Summary: [Wiki] - Improvements needed in the Puppet Master docs Key: STRATOS-1055 URL: https://issues.apache.org/jira/browse/STRATOS-1055 Project: Stratos

Re: Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Udara Liyanage
Hi, Client should get a 404 in this case. On Mon, Jan 5, 2015 at 3:15 PM, Shiroshica Kulatilake wrote: > Exception or error ? > > On Mon, Jan 5, 2015 at 3:11 PM, Rajkumar Rajaratnam > wrote: > >> Hi Devs, >> >> $Subject in master branch. Should throw and propagate an exception to the >> caller

Re: Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Rajkumar Rajaratnam
Hi, While fixing $Subject, noticed that we are doing two map operations in some of the functions in AutoscalerContext. For example, public ApplicationContext getApplicationContext(String applicationId) { if(applicationContextMap.containsKey(applicationId)) { return applicationContextM

Re: Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Shiroshica Kulatilake
Exception or error ? On Mon, Jan 5, 2015 at 3:11 PM, Rajkumar Rajaratnam wrote: > Hi Devs, > > $Subject in master branch. Should throw and propagate an exception to the > caller. > > I will fix it. > > Thanks. > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engin

Deleting non-existing application returns "Application deleted successfully"

2015-01-05 Thread Rajkumar Rajaratnam
Hi Devs, $Subject in master branch. Should throw and propagate an exception to the caller. I will fix it. Thanks. -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com