stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reka Thirunavukkarasu <r...@wso2.com>
Subject Re: Testing stratos 4.1: termination behavior / STRATOS-1353
Date Fri, 01 May 2015 07:06:04 GMT
Hi Martin,

Sorry that i couldn't get a chance to verify the scenarios that you
mentioned with the code. I will verify all other usecases for termination
behavior and update with you on the progress..

Thanks,
Reka

On Fri, May 1, 2015 at 8:02 AM, Martin Eppel (meppel) <meppel@cisco.com>
wrote:

>  Hi Reka,
>
>
>
> I merged in your fix for termination behavior and it fixes a couple of
> issues (terminate-all). However, I encountered a couple of other potential
> issues:
>
>
>
> 1.      In the 2 level nested grouping scenario (as defined in
> STRATOS-1353) the terminate-none seems to be incorrect (see application
> structure :
> When I terminated the instance in G1 the instance c1 is terminated – but
> no new instance is started.
> See screen shot [1.], [2.] and artifacts attached (artifacts_scen_1)
> After terminating c3 in G3 (bottom group, which has terminate-all defined)
> c3 and c2 start up again but c1 still doesn’t come up (see log
> wso2carbon-full.log)
>
>
>  2.      In the 1 level grouping scenario (different application as in
> scen_1, see screen shot [4.]) I terminate c3 in group G1. Group G1 defines
> as termination behavior “terminate-dependents” and c1 depends on c2 and c2
> depends on c3.
> When I kill c1, c2 is correctly terminated but no restarted (*instance
> terminated after: TID: [0] [STRATOS] [2015-05-01 01:29:22,139]*)  .
> Instead I noticed exceptions in the log file (see attached log file,
> below[3.])
> Artifacts are attached (artifacts_scen_2)
>
>
>
>  Regards
>
>
>
> Martin
>
>
>
>
>
> [1.] Screenshot scenario 1
>
>
>
>
>
>
>
>
>
> [2.] After terminating c1 :
>
>
>
>
>
>
>
>
>
> [3.] Exceptions
>
>
>
> *java.lang.NullPointerException*
>
> *        at
> org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.allParentActive(ParentComponentMonitor.java:536)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.onChildTerminatedEvent(ParentComponentMonitor.java:429)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.component.GroupMonitor.onTerminationOfInstance(GroupMonitor.java:459)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.component.GroupMonitor.onChildStatusEvent(GroupMonitor.java:435)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.events.builder.MonitorStatusEventBuilder.notifyParent(MonitorStatusEventBuilder.java:86)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.events.builder.MonitorStatusEventBuilder.handleClusterStatusEvent(MonitorStatusEventBuilder.java:40)*
>
> *        at
> org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor.notifyParentMonitor(ClusterMonitor.java:221)*
>
> *        at
> org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver$8.onEvent(AutoscalerTopologyEventReceiver.java:317)*
>
> *        at
> org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)*
>
> *        at java.util.Observable.notifyObservers(Observable.java:159)*
>
> *        at
> org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterInstanceTerminatedProcessor.doProcess(ClusterInstanceTerminatedProcessor.java:132)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterInstanceTerminatedProcessor.process(ClusterInstanceTerminatedProcessor.java:64)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterRemovedMessageProcessor.process(ClusterRemovedMessageProcessor.java:65)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterInstanceInactivateProcessor.process(ClusterInstanceInactivateProcessor.java:73)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterInstanceActivatedProcessor.process(ClusterInstanceActivatedProcessor.java:73)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ClusterCreatedMessageProcessor.process(ClusterCreatedMessageProcessor.java:67)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ApplicationClustersRemovedMessageProcessor.process(ApplicationClustersRemovedMessageProcessor.java:63)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ApplicationClustersCreatedMessageProcessor.process(ApplicationClustersCreatedMessageProcessor.java:65)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ServiceRemovedMessageProcessor.process(ServiceRemovedMessageProcessor.java:64)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor.process(ServiceCreatedMessageProcessor.java:65)*
>
> *        at
> org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor.process(CompleteTopologyMessageProcessor.java:74)*
>
> *        at
> org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61)*
>
> *        at
> org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator.run(TopologyEventMessageDelegator.java:73)*
>
> *        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)*
>
>
>
>
>
> [4.] Screen shot application
>
>
>
>
>
>


-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Mime
View raw message