Rajkumar Rajaratnam created STRATOS-919:
-------------------------------------------

             Summary: Error while AS asks CC to terminate an instance that are 
not in the topology
                 Key: STRATOS-919
                 URL: https://issues.apache.org/jira/browse/STRATOS-919
             Project: Stratos
          Issue Type: Bug
          Components: Autoscaler, Cloud Controller, Messaging
    Affects Versions: 4.1.0 M2
            Reporter: Rajkumar Rajaratnam
            Priority: Critical
             Fix For: 4.1.0 M4


The following scenario will ended up with termination failed error continuously.

AS asks CC to create a container
CC schedule a new task and returning member contexts to AS
AS adding the members to pending list
CC is also adding member contexts to its data holder
But CC will not add it to the topology until pods status become to "Running" 
state
Meanwhile members are exceeding their timeouts and moved to obsolete list
AS asks CC to terminate obsolete pods
CC kills it, but didn't send the member terminated event, because member is not 
in the topology
AS didn't get any member terminated event, so it will not remove any members 
from its member lists
AS will ask CC again to terminate the pod, in next monitor interval
CC now will complain "Failed to terminate member. Member id not found", because 
it terminated those pods already and removed the member contexts from its data 
holder
So this "Failed to terminate member. Member id not found" will occur 
continuously



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to