We faced a similar issue in a different environment. Lets have a look during the review session at 11.30 am LKT
Sameera. On Wed, Jun 11, 2014 at 4:00 AM, Dimuthu Leelarathne <[email protected]> wrote: > Hi all, > > Adding architecture@. > > Looking at the related issue reported in > https://wso2.org/jira/browse/APPFAC-2079, I believe we are doing the > start tenant flow. What we can do is find out why the start tenant flow is > not loading the proper registry. > > @Platform team: We could also see why the tenant registry is not getting > loaded (derived from the fact that RXT is not found in the registry). I > don't see anything we are doing wrong. So ideally the CarbonContext should > have the proper Registry. > > thanks, > dimuthu > > > On Tue, Jun 10, 2014 at 9:37 PM, Manjula Rathnayake <[email protected]> > wrote: > >> Hi Asanka, >> >> In #3, the request from build server to AF2 goes via >> authentication/authorization handlers and tenant should be loaded by >> authenticators. We might have to patch authenticators get this fixed. >> WDYT? >> >> thank you. >> >> >> On Tue, Jun 10, 2014 at 7:15 PM, Asanka Dissanayake <[email protected]> >> wrote: >> >>> There is one blocker issue for clustering related to tenant loading in >>> Appfactory nodes. Please find the scenario below. >>> >>> >>> 1. User logged in to AF1. and Create a new application. >>> 2. Application creation listeners in AF1 are invoked by BPS and all the >>> necessary stuff are done including first build. >>> 3. When build server notify back the build status , it reaches the AF2 >>> node. >>> 4. When AF2 node tries to update latest build details in the appversion >>> RXT, it gives [1] error when the tenant is NOT loaded. But when the tenant >>> is loaded in the AF2 node it works fine. >>> >>> Eventhough there is an issue like this, application creation is done >>> successfully , except updating latest build details in the rxt. >>> >>> >>> [1] Caused by: >>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: >>> Resource does not exist at path >>> /_system/governance/repository/applications/<application_key>/trunk >>> >>> Thanks, >>> Asanka D >>> >>> >>> >>> >>> On Tue, Jun 3, 2014 at 2:03 PM, Dimuthu Leelarathne <[email protected]> >>> wrote: >>> >>>> Hi Amila, >>>> >>>> Thanks for your input, but they won't solve the problem and we know the >>>> root causes except 2080. For 2080 we'll profile and fix. >>>> >>>> thanks, >>>> dimuthu >>>> >>>> >>>> On Tue, Jun 3, 2014 at 1:54 PM, Amila Maha Arachchi <[email protected]> >>>> wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jun 3, 2014 at 1:21 PM, Dimuthu Leelarathne <[email protected] >>>>> > wrote: >>>>> >>>>>> Hi Amila, >>>>>> >>>>>> Have you set it up properly? It took us about 3 days to identify all >>>>>> the problems and set it up. We are yet to create the guide. >>>>>> >>>>>> However I strongly recommend you to start doing it immediately, >>>>>> otherwise you won't come to where we are very easily. >>>>>> >>>>>> Here are the identified problems. >>>>>> >>>>>> https://wso2.org/jira/browse/APPFAC-2078 >>>>>> >>>>> >>>>> AFAIK you are using the cassandra you are shipping with AF to publish >>>>> wall notifications. It can cause problems when it comes to clustering. But >>>>> we are using the BAM to publish them. So, we should be fine with this >>>>> AFAIU. >>>>> >>>>>> >>>>>> https://wso2.org/jira/browse/APPFAC-2079 >>>>>> >>>>> >>>>> If sticky sessions are working fine, when a user is logged in to one >>>>> AF instance, all his/her requests should go to that instances. We haven't >>>>> tested this yet. >>>>> >>>>> >>>>>> >>>>>> https://wso2.org/jira/browse/APPFAC-2080 >>>>>> >>>>> >>>>> Our already running instance is also fronted by the ELB. Anyway, need >>>>> to see how it behaves when there are two nodes. >>>>> >>>>>> >>>>>> thanks, >>>>>> dimuthu >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jun 3, 2014 at 12:49 PM, Amila Maha Arachchi <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> Hi Dimuthu, >>>>>>> >>>>>>> We need to run two AF nodes to have HA for app cloud because it is >>>>>>> the backbone of App Cloud. We'll be testing with the second node most >>>>>>> probably tomorrow once we fix some other issues we have to work on at >>>>>>> the >>>>>>> moment. >>>>>>> >>>>>>> What are the issues you have found. >>>>>>> >>>>>>> Regards, >>>>>>> Amila. >>>>>>> >>>>>>> >>>>>>> On Tue, Jun 3, 2014 at 12:33 PM, Dimuthu Leelarathne < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi Amila, >>>>>>>> >>>>>>>> Are you planning to cluster AF node in Cloud for WSO2 con? When are >>>>>>>> you going to start testing this in Cloud? >>>>>>>> >>>>>>>> We have found 2 issues with it, and considering whether to fix them. >>>>>>>> >>>>>>>> thanks, >>>>>>>> dimuthu >>>>>>>> >>>>>>>> -- >>>>>>>> Dimuthu Leelarathne >>>>>>>> Architect & Product Lead of App Factory >>>>>>>> >>>>>>>> WSO2, Inc. (http://wso2.com) >>>>>>>> email: [email protected] >>>>>>>> Mobile : 0773661935 >>>>>>>> >>>>>>>> Lean . Enterprise . Middleware >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Amila Maharachchi* >>>>>>> Senior Technical Lead >>>>>>> WSO2, Inc.; http://wso2.com >>>>>>> >>>>>>> Blog: http://maharachchi.blogspot.com >>>>>>> Mobile: +94719371446 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Dimuthu Leelarathne >>>>>> Architect & Product Lead of App Factory >>>>>> >>>>>> WSO2, Inc. (http://wso2.com) >>>>>> email: [email protected] >>>>>> Mobile : 0773661935 >>>>>> >>>>>> Lean . Enterprise . Middleware >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Amila Maharachchi* >>>>> Senior Technical Lead >>>>> WSO2, Inc.; http://wso2.com >>>>> >>>>> Blog: http://maharachchi.blogspot.com >>>>> Mobile: +94719371446 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dimuthu Leelarathne >>>> Architect & Product Lead of App Factory >>>> >>>> WSO2, Inc. (http://wso2.com) >>>> email: [email protected] >>>> Mobile : 0773661935 >>>> >>>> Lean . Enterprise . Middleware >>>> >>> >>> >>> >>> -- >>> >>> >>> *Asanka Dissanayake Software Engineer* >>> *WSO2 Inc. - lean . enterprise . middleware | wso2.com >>> <http://wso2.com/>* >>> >>> *email: [email protected] <[email protected]>, blog: >>> cyberwaadiya.blogspot.com >>> <http://cyberwaadiya.blogspot.com>, asankastechtalks.wordpress.com >>> <http://asankastechtalks.wordpress.com> mobile: +94 71 8373821* >>> >> >> >> >> -- >> Manjula Rathnayaka >> Software Engineer >> WSO2, Inc. >> Mobile:+94 77 743 1987 >> > > > > -- > Dimuthu Leelarathne > Architect & Product Lead of App Factory > > WSO2, Inc. (http://wso2.com) > email: [email protected] > Mobile : 0773661935 > > Lean . Enterprise . Middleware > -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
