Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-641

LoadBalancer doesn't keep super-tenant subscriptions for a multi-tenant service

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0 RC3
    • Component/s: Load Balancer
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                imesh Imesh Gunaratne
                Reporter:
                nirmal Nirmal Fernando
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: