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

Instances are spawned again after Un-Subscription

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0 Alpha
    • Fix Version/s: 4.0.0
    • Component/s: Autoscaler
    • Labels:
      None

      Description

      It looks like un-subscription functionality is not working as expected.

      Scenario:
      1. Deploy a cartridge.
      2. Subscribe to it.
      3. Wait until an instance is activated.
      4. Execute Un-subscribe option.
      5. Now the running instances are terminated, but after some time new instances are spawned to replace the missing ones.

      [2014-03-05 08:35:07,541] INFO

      {org.apache.stratos.messaging.message.processor.topology.MemberMaintenanceModeProcessor}

      - Member updated as In_Maintenance: [service] php [cluster] im-php1.php.domain [member] im-php1.php.domainf73083ea-588a-4041-b817-8b86b13852d7
      [2014-03-05 08:35:07,542] DEBUG

      {org.apache.stratos.autoscaler.message.receiver.topology.AutoscalerTopologyReceiver}

      - Member has been moved as pending termination: [member] im-php1.php.domainf73083ea-588a-4041-b817-8b86b13852d7
      [2014-03-05 08:35:07,542] DEBUG

      {org.apache.stratos.autoscaler.PartitionContext}

      - Active member is removed and added to the termination pending member list. [Member Id] im-php1.php.domainf73083ea-588a-4041-b817-8b86b13852d7
      [2014-03-05 08:35:07,545] INFO

      {org.apache.stratos.messaging.message.processor.topology.MemberReadyToShutdownMessageProcessor}

      - Member updated as Ready to shutdown: [service] php [cluster] im-php1.php.domain [member] im-php1.php.domainf73083ea-588a-4041-b817-8b86b13852d7

      [2014-03-05 08:35:14,488] INFO

      {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}

      - Trying to spawn an instance via cloud controller: [cluster] im-php1.php.domain [partition] zone-1 [lb-cluster] lb332185292.lb.domain [network-partition-id] ec2-region1

        Activity

        Hide
        reka Reka Thirunavukkarasu added a comment -

        It is fixed in 9694fa2bb607063b3781a2a061a1936bf7ea860b.

        Show
        reka Reka Thirunavukkarasu added a comment - It is fixed in 9694fa2bb607063b3781a2a061a1936bf7ea860b.
        Hide
        nirmal Nirmal Fernando added a comment -

        Resolving based on the last comment.

        Show
        nirmal Nirmal Fernando added a comment - Resolving based on the last comment.

          People

          • Assignee:
            reka Reka Thirunavukkarasu
            Reporter:
            imesh Imesh Gunaratne
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development