You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2014/04/30 18:03:16 UTC

[LoadBalancer] Doesn't keep super-tenant subscriptions for a multi-tenant service

Hi All,

$Subject. Reason seems to be that since no one creates super tenant,
TenantCreatedMessageProcessor event would not send for super tenant. Hence,
Stratos LB doesn't treat super tenant as a valid tenant. Example is when a
super tenant subscription to a multi-tenant service, Stratos LB logs
following [1].

Fix would be to pre-load the maps in TenantManager, with super-tenant
details.

[1]
TID: [0] [LB] [2014-04-30 15:56:43,709]  WARN
{org.apache.stratos.messaging.message.processor.tenant.TenantUnSubscribedMessageProcessor}
-  Tenant not found: [tenant-id] -1234

-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: [LoadBalancer] Doesn't keep super-tenant subscriptions for a multi-tenant service

Posted by Imesh Gunaratne <im...@apache.org>.
I will have a look at this Nirmal.

Thanks


On Wed, Apr 30, 2014 at 9:54 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Here's the jira: https://issues.apache.org/jira/browse/STRATOS-641
>
>
> On Wed, Apr 30, 2014 at 9:33 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Hi All,
>>
>> $Subject. Reason seems to be that since no one creates super tenant,
>> TenantCreatedMessageProcessor event would not send for super tenant. Hence,
>> Stratos LB doesn't treat super tenant as a valid tenant. Example is when a
>> super tenant subscription to a multi-tenant service, Stratos LB logs
>> following [1].
>>
>> Fix would be to pre-load the maps in TenantManager, with super-tenant
>> details.
>>
>> [1]
>> TID: [0] [LB] [2014-04-30 15:56:43,709]  WARN
>> {org.apache.stratos.messaging.message.processor.tenant.TenantUnSubscribedMessageProcessor}
>> -  Tenant not found: [tenant-id] -1234
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos

Re: [LoadBalancer] Doesn't keep super-tenant subscriptions for a multi-tenant service

Posted by Nirmal Fernando <ni...@gmail.com>.
Here's the jira: https://issues.apache.org/jira/browse/STRATOS-641


On Wed, Apr 30, 2014 at 9:33 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Hi All,
>
> $Subject. Reason seems to be that since no one creates super tenant,
> TenantCreatedMessageProcessor event would not send for super tenant. Hence,
> Stratos LB doesn't treat super tenant as a valid tenant. Example is when a
> super tenant subscription to a multi-tenant service, Stratos LB logs
> following [1].
>
> Fix would be to pre-load the maps in TenantManager, with super-tenant
> details.
>
> [1]
> TID: [0] [LB] [2014-04-30 15:56:43,709]  WARN
> {org.apache.stratos.messaging.message.processor.tenant.TenantUnSubscribedMessageProcessor}
> -  Tenant not found: [tenant-id] -1234
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/