[ https://issues.apache.org/jira/browse/STRATOS-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037274#comment-14037274 ]
chris snow commented on STRATOS-677: ------------------------------------ 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 > Instances are getting spawn when unsubscribing > ---------------------------------------------- > > Key: STRATOS-677 > URL: https://issues.apache.org/jira/browse/STRATOS-677 > Project: Stratos > Issue Type: Bug > Components: Autoscaler, Cloud Controller, Eventing > Affects Versions: 4.0.0 > Reporter: Reka Thirunavukkarasu > Assignee: Reka Thirunavukkarasu > Fix For: 4.1.0 > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)