Reka Thirunavukkarasu created STRATOS-677:
---------------------------------------------

             Summary: 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)

Reply via email to