stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akila (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (STRATOS-1538) Application with more than one group in application level fails to undeploy
Date Wed, 02 Sep 2015 09:43:45 GMT

    [ https://issues.apache.org/jira/browse/STRATOS-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727091#comment-14727091
] 

Akila edited comment on STRATOS-1538 at 9/2/15 9:43 AM:
--------------------------------------------------------

Removed the class GroupStatusTerminatedProcessor in 9c051e45e2eb3b5a7ec3d06dd7292d8bc497b3d5


was (Author: ravihansa):
Removed the class in 9c051e45e2eb3b5a7ec3d06dd7292d8bc497b3d5

> Application with more than one group in application level fails to undeploy
> ---------------------------------------------------------------------------
>
>                 Key: STRATOS-1538
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1538
>             Project: Stratos
>          Issue Type: Bug
>          Components: Autoscaler
>    Affects Versions: 4.1.1
>            Reporter: Pubudu Chinthaka Gunatilaka
>             Fix For: 4.1.2
>
>
> When there is more than one group in application level, it fails to undeploy. When one
group is terminated it will send the terminated event and application  will mark as terminated.
This will cause for removing other groups in the application level and it will keep the spawned
instances of that group. The following error message can be seen in the log due to this behaviour.
> java.lang.IllegalArgumentException: Could not terminate container, cluster context not
found: [cluster-id] wso2am-190-application.gateway-worker.wso2am-190-gw-worker.domain [member-id]
wso2am-190-application.gateway-worker.wso2am-190-gw-worker.domaina9ddb584-45aa-4857-87f8-9af7c17c67d8
>         at org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.handleNullObject(KubernetesIaas.java:858)
>         at org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.terminateContainer(KubernetesIaas.java:785)
>         at org.apache.stratos.cloud.controller.iaases.kubernetes.KubernetesIaas.terminateInstance(KubernetesIaas.java:139)
>         at org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:56)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> Fix would be not to send any terminated or terminating event at GroupStatusTerminatedProcessor
as there is no need of a such event for the listeners at this level. 



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

Mime
View raw message