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

Instances are getting spawn when unsubscribing

    Details

      Description

      Even after unsubscribing from a cartridge also, instances are getting spawned. The reason for this is, while the CC terminates instances, if the minimum rule executed in AS side, then AS will request to spin a new instances as it is below the minimum count.

      In order to make AS aware of the unsubscription, we need to introduce another state to cluster saying CLUSTER_IN_MAINTENANCE. So that once all the instances are terminated, cluster can be removed as well as AS can pause the cluster monitor when it is in maintenance mode. Even this state can be useful when applying patches or upgrading the cluster.

        Activity

        Hide
        reka Reka Thirunavukkarasu added a comment -

        Unsubscibing is no longer there..

        Show
        reka Reka Thirunavukkarasu added a comment - Unsubscibing is no longer there..
        Hide
        reka Reka Thirunavukkarasu added a comment -

        Thanks for pointing out Cris. This is also similar issue. I have also discussed on a similar issue as you faced in here:

        http://mail-archives.apache.org/mod_mbox/stratos-dev/201403.mbox/%3CCAFhGutJK3b-bL-oRgoGbVxGpvatV=gViZES7Qz5KDew1OHP5oA@mail.gmail.com%3E

        +1. We need to fix this according to the jira (STRATOS-658) that you have created as well as with a proper rollback mechanism to revert back the already created unhealthy instances.

        Show
        reka Reka Thirunavukkarasu added a comment - Thanks for pointing out Cris. This is also similar issue. I have also discussed on a similar issue as you faced in here: http://mail-archives.apache.org/mod_mbox/stratos-dev/201403.mbox/%3CCAFhGutJK3b-bL-oRgoGbVxGpvatV=gViZES7Qz5KDew1OHP5oA@mail.gmail.com%3E +1. We need to fix this according to the jira ( STRATOS-658 ) that you have created as well as with a proper rollback mechanism to revert back the already created unhealthy instances.
        Show
        snowch chris snow added a comment - Hi Reka, this seems similiar to the issue I was experiencing here: http://mail-archives.apache.org/mod_mbox/incubator-stratos-dev/201405.mbox/%3CCAGWifGJ%3D2kvcOZrO%2BBPzwkbUw%3DRgSiVXOQDdLDT6-o%3DCTJE5XQ%40mail.gmail.com%3E

          People

          • Assignee:
            reka Reka Thirunavukkarasu
            Reporter:
            reka Reka Thirunavukkarasu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development