I have now completed task 8: - Added tenantPartitions property to cartridge bean in the REST API. - Updated cloud controller service definition to handle tenant partitions. - Updated default application parser to find the tenant range from tenant id and tenant partitions for each cluster. - Implemented a unit test to verify above logic. - Tenant range was added to cluster.
Now the latest task status looks as follows: 1. Finalize Kubernetes Workflow (DONE) 2. Verify Service Grouping on OpenStack and EC2 (DONE) *3. Verify Clustering Support for Stratos Components (IN-PROGRESS)* 4. Implement Load Balancer Configuration for Service Grouping (DONE) 5. Implement ADC logic for Service Grouping (DONE) 6. Implement Multi-Tenant support for Applications (DONE) 7. Verify Domain Mappings Functionality (DONE) 8. Verify Tenant Partitioning Functionality for Multi-Tenant Applications (DONE) Thanks On Sun, Jan 11, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org> wrote: > Shiro has contributed to clustering implementation in Autoscaler with the > following pull request [1] and it is now merged to master branch. > > [1] https://github.com/apache/stratos/pull/165 > > On Sun, Jan 11, 2015 at 9:47 AM, Imesh Gunaratne <im...@apache.org> wrote: > >> We have now completed domain mappings functionality, now the latest task >> status looks as follows: >> >> 1. Finalize Kubernetes Workflow (DONE) >> 2. Verify Service Grouping on OpenStack and EC2 (DONE) >> *3. Verify Clustering Support for Stratos Components (IN-PROGRESS)* >> 4. Implement Load Balancer Configuration for Service Grouping (DONE) >> 5. Implement ADC logic for Service Grouping (DONE) >> 6. Implement Multi-Tenant support for Applications (DONE) >> 7. Verify Domain Mappings Functionality (DONE) >> *8. Verify Tenant Partitioning Functionality for Multi-Tenant >> Applications* >> >> I'm now working on task 3: verifying clustering functionality. Appreciate >> if someone could contribute to task 8. >> >> Thanks >> >> On Fri, Jan 9, 2015 at 11:54 AM, Imesh Gunaratne <im...@apache.org> >> wrote: >> >>> Thanks Lakmal, yes we could remove docker image resizing effort from >>> alpha release since we have completed Kubernetes workflow. We have also >>> completed the load balancer configuration task, now the latest task list >>> status would be as follows: >>> >>> 1. Finalize Kubernetes Workflow (DONE) >>> 2. Verify Service Grouping on OpenStack and EC2 (DONE) >>> *3. Verify Clustering Support for Stratos Components (IN-PROGRESS)* >>> 4. Implement Load Balancer Configuration for Service Grouping (DONE) >>> 5. Implement ADC logic for Service Grouping (DONE) >>> 6. Implement Multi-Tenant support for Applications (DONE) >>> *7. Verify Domain Mappings Functionality (IN-PROGRESS)* >>> *8. Verify Tenant Partitioning Functionality for Multi-Tenant >>> Applications* >>> >>> Thanks >>> >>> On Fri, Jan 9, 2015 at 11:45 AM, Lakmal Warusawithana <lak...@wso2.com> >>> wrote: >>> >>>> >>>> >>>> On Fri, Jan 9, 2015 at 11:39 AM, Imesh Gunaratne <im...@apache.org> >>>> wrote: >>>> >>>>> Hi Devs, >>>>> >>>>> I'm now working on fixing Domain Mapping functionality. While doing >>>>> this I found another functionality which we need to fix (Task-9): >>>>> >>>>> 1. Finalize Kubernetes Workflow (DONE) >>>>> 2. Verify Service Grouping on OpenStack and EC2 (DONE) >>>>> *3. Verify Clustering Support for Stratos Components (IN-PROGRESS)* >>>>> *4. Implement Load Balancer Configuration for Service Grouping >>>>> (IN-PROGRESS)* >>>>> *5. Reduce the Docker Image Size (IN-PROGRESS) * >>>>> >>>> >>>> IMO, we can take off #5 from the alpha release. >>>> >>>> >>>>> 6. Implement ADC logic for Service Grouping (DONE) >>>>> 7. Implement Multi-Tenant support for Applications (DONE) >>>>> *8. Verify Domain Mappings Functionality (IN-PROGRESS)* >>>>> *9. Verify Tenant Partitioning Functionality for Multi-Tenant >>>>> Applications* >>>>> As it looks like current cartridge definition does not allow us to >>>>> define tenant partitions. This is needed for creating multiple clusters >>>>> for >>>>> a multi-tenant cartridge if tenant partitions are defined. >>>>> >>>>> *Example:* >>>>> Cartridge A (Multi-Tenant) >>>>> Tenant Partitions: 1-100,101-200,201-* >>>>> Clusters: Cluster-1 (Tenant-Range: 1-100), Cluster-2 (Tenant-Range: >>>>> 101-200), Cluster-3 (Tenant-Range: 201-*) >>>>> All three clusters; Cluster-1, Cluster-2 & Cluster-3 will have the >>>>> same host name. >>>>> >>>>> Thanks >>>>> >>>>> On Wed, Jan 7, 2015 at 7:38 PM, Imesh Gunaratne <im...@apache.org> >>>>> wrote: >>>>> >>>>>> Hi Devs, >>>>>> >>>>>> Please find the latest status of the tasks we need to complete for >>>>>> 4.1.0-Alpha release below: >>>>>> >>>>>> 1. Finalize Kubernetes Workflow (DONE) >>>>>> 2. Verify Service Grouping on OpenStack and EC2 (DONE) >>>>>> *3. Verify Clustering Support for Stratos Components (IN-PROGRESS)* >>>>>> *4. Implement Load Balancer Configuration for Service Grouping >>>>>> (IN-PROGRESS)* >>>>>> *5. Reduce the Docker Image Size (IN-PROGRESS) * >>>>>> 6. Implement ADC logic for Service Grouping (DONE) >>>>>> 7. Implement Multi-Tenant support for Applications (DONE) >>>>>> *8. Verify Domain Mappings Functionality* >>>>>> >>>>>> Thanks >>>>>> >>>>>> On Wed, Jan 7, 2015 at 1:50 PM, Imesh Gunaratne <im...@apache.org> >>>>>> wrote: >>>>>> >>>>>>> Great work Sajith! Now we have verified both OpenStack and EC2 on >>>>>>> the latest codebase. >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> On Wed, Jan 7, 2015 at 1:21 PM, Sajith Kariyawasam <saj...@wso2.com> >>>>>>> wrote: >>>>>>> >>>>>>>> I tested the basic flow in Openstack, and it worked fine. I used a >>>>>>>> single cartridge (tomcat) and got the member activated event. Were >>>>>>>> able to >>>>>>>> access tomcat home page. >>>>>>>> Now I'm in the process of testing more complex scenarios >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Sajith >>>>>>>> >>>>>>>> On Tue, Jan 6, 2015 at 1:21 PM, Sajith Kariyawasam <saj...@wso2.com >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> 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 ! >>>>>>>>>> >>>>>>>>>> On Tue, Jan 6, 2015 at 11:40 AM, Sajith Kariyawasam < >>>>>>>>>> saj...@wso2.com> wrote: >>>>>>>>>> >>>>>>>>>>> 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.tomcat.domain,CARTRIDGE_KEY=6AvzpTM6e8XFQ522, >>>>>>>>>>> *DEPLOYMENT* >>>>>>>>>>> =null,APPLICATION_PATH=null,REPO_URL=null,PORTS=22,PROVIDER=apache,PUPPET_IP=192.168.30.90,PUPPET_HOSTNAME=puppet,PUPPET_DNS_AVAILABLE=null,PUPPET_ENV=false,,, >>>>>>>>>>> *DEPLOYMENT*=default, >>>>>>>>>>> >>>>>>>>>>> This causes wrong hostname in the cartridge instance, hence >>>>>>>>>>> puppet master doesn't recognize the service type of the node. >>>>>>>>>>> >>>>>>>>>>> I'm looking into this >>>>>>>>>>> >>>>>>>>>>> On Tue, Jan 6, 2015 at 9:58 AM, Mariangela Hills < >>>>>>>>>>> mariang...@wso2.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>>>>>>> <http://wso2.com/events/> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Jan 6, 2015 at 9:34 AM, Manula Chathurika Thantriwatte >>>>>>>>>>>> <manu...@wso2.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I'll work with Mari and update the documentation. >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks ! >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Jan 5, 2015 at 6:22 PM, Imesh Gunaratne < >>>>>>>>>>>>> im...@apache.org> 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 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, Manula Chathurika >>>>>>>>>>>>>> Thantriwatte <manu...@wso2.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> 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 < >>>>>>>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Great work Lahiru! >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>> Manula Chathurika Thantriwatte >>>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>>> WSO2 Inc. : http://wso2.com >>>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> email : manu...@wso2.com / man...@apache.org >>>>>>>>>>>>>>> phone : +94 772492511 >>>>>>>>>>>>>>> blog : http://manulachathurika.blogspot.com/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>>>> >>>>>>>>>>>>>> Technical Lead, WSO2 >>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Manula Chathurika Thantriwatte >>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>> WSO2 Inc. : http://wso2.com >>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>> >>>>>>>>>>>>> email : manu...@wso2.com / man...@apache.org >>>>>>>>>>>>> phone : +94 772492511 >>>>>>>>>>>>> blog : http://manulachathurika.blogspot.com/ >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> *Sajith Kariyawasam* >>>>>>>>>>> >>>>>>>>>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., >>>>>>>>>>> http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575* >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Regards, >>>>>>>>>> Manula Chathurika Thantriwatte >>>>>>>>>> Software Engineer >>>>>>>>>> WSO2 Inc. : http://wso2.com >>>>>>>>>> lean . enterprise . middleware >>>>>>>>>> >>>>>>>>>> email : manu...@wso2.com / man...@apache.org >>>>>>>>>> phone : +94 772492511 >>>>>>>>>> blog : http://manulachathurika.blogspot.com/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Sajith Kariyawasam* >>>>>>>>> >>>>>>>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., >>>>>>>>> http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575* >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> *Sajith Kariyawasam* >>>>>>>> >>>>>>>> *Committer and PMC member, Apache Stratos,WSO2 Inc., >>>>>>>> http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575* >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Imesh Gunaratne >>>>>>> >>>>>>> Technical Lead, WSO2 >>>>>>> Committer & PMC Member, Apache Stratos >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Imesh Gunaratne >>>>>> >>>>>> Technical Lead, WSO2 >>>>>> Committer & PMC Member, Apache Stratos >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Imesh Gunaratne >>>>> >>>>> Technical Lead, WSO2 >>>>> Committer & PMC Member, Apache Stratos >>>>> >>>> >>>> >>>> >>>> -- >>>> Lakmal Warusawithana >>>> Vice President, Apache Stratos >>>> Director - Cloud Architecture; WSO2 Inc. >>>> Mobile : +94714289692 >>>> Blog : http://lakmalsview.blogspot.com/ >>>> >>>> >>> >>> >>> -- >>> Imesh Gunaratne >>> >>> Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Technical Lead, WSO2 >> Committer & PMC Member, Apache Stratos >> > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos