[ https://issues.apache.org/jira/browse/STRATOS-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isuru Haththotuwa reassigned STRATOS-965: ----------------------------------------- Assignee: Isuru Haththotuwa > Application can not be undeployed when moniter creation is failed > ----------------------------------------------------------------- > > Key: STRATOS-965 > URL: https://issues.apache.org/jira/browse/STRATOS-965 > Project: Stratos > Issue Type: Bug > Reporter: Udara Liyanage > Assignee: Isuru Haththotuwa > Fix For: 4.1.0 > > > TID: [0] [STRATOS] [2014-11-14 12:45:46,355] ERROR > {org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitorFactory} - > Deployment policy is null: [policy-name] economyDeploymentPolicy > TID: [0] [STRATOS] [2014-11-14 12:45:46,356] WARN > {org.apache.stratos.autoscaler.monitor.ParentComponentMonitor} - Monitor > creation failed for: myphp.php.domain > org.apache.stratos.autoscaler.exception.PolicyValidationException: Deployment > policy is null: [policy-name] economyDeploymentPolicy > at > org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitorFactory.getVMServiceClusterMonitor(ClusterMonitorFactory.java:102) > at > org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitorFactory.getMonitor(ClusterMonitorFactory.java:70) > at > org.apache.stratos.autoscaler.monitor.application.ApplicationMonitorFactory.getClusterMonitor(ApplicationMonitorFactory.java:194) > at > org.apache.stratos.autoscaler.monitor.application.ApplicationMonitorFactory.getMonitor(ApplicationMonitorFactory.java:68) > at > org.apache.stratos.autoscaler.monitor.ParentComponentMonitor$MonitorAdder.run(ParentComponentMonitor.java:389) > at java.lang.Thread.run(Thread.java:662) > TID: [0] [STRATOS] [2014-11-14 12:45:46,358] ERROR > {org.apache.stratos.autoscaler.monitor.ParentComponentMonitor} - Monitor > creation failed, even after retrying for 5 times, for : myphp.php.domain > TID: [0] [STRATOS] [2014-11-14 12:49:04,705] INFO > {org.apache.stratos.autoscaler.client.CloudControllerClient} - Validating > partition via cloud controller: [id] p1 > TID: [0] [STRATOS] [2014-11-14 12:49:05,607] INFO > {org.apache.stratos.autoscaler.partition.PartitionManager} - Partition is > deployed successfully: [id] p1 > TID: [0] [STRATOS] [2014-11-14 12:49:48,581] INFO > {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Deploying > deployment policy: [id] dep > TID: [0] [STRATOS] [2014-11-14 12:49:48,594] INFO > {org.apache.stratos.autoscaler.policy.PolicyManager} - Deploying deployment > policy: [id] dep > TID: [0] [STRATOS] [2014-11-14 12:49:48,898] INFO > {org.apache.stratos.autoscaler.policy.PolicyManager} - Deployment policy is > deployed successfully: [id] dep > TID: [0] [STRATOS] [2014-11-14 12:50:45,050] INFO > {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} > - Life Cycle State Manager started for Topology element [ php-only ], > initial state: Created > TID: [0] [STRATOS] [2014-11-14 12:50:45,063] INFO > {org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser} > - Application with id php-only parsed successfully > TID: [0] [STRATOS] [2014-11-14 12:50:45,091] WARN > {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder} - > Application already exists: [application-id] php-only > TID: [0] [STRATOS] [2014-11-14 12:50:45,135] WARN > {org.apache.stratos.messaging.message.processor.applications.ApplicationCreatedMessageProcessor} > - Application with id [ php-only ] already exists > TID: [0] [STRATOS] [2014-11-14 12:51:15,463] INFO > {org.apache.stratos.autoscaler.applications.topic.ApplicationBuilder} - > Updating application status: [application-id] php-only [status] Terminating > TID: [0] [STRATOS] [2014-11-14 12:51:15,464] INFO > {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} > - Topology element [ php-only ]'s life Cycle State changed from [ Created ] > to [ Terminating ] > TID: [0] [STRATOS] [2014-11-14 12:51:15,465] INFO > {org.apache.stratos.autoscaler.monitor.application.ApplicationMonitor} - > [ApplicationMonitor] php-only state changes from Created to Terminating > TID: [0] [STRATOS] [2014-11-14 12:51:15,554] INFO > {org.apache.stratos.autoscaler.applications.topic.ApplicationsEventPublisher} > - Publishing Application terminating event for [application]: php-only > TID: [0] [STRATOS] [2014-11-14 12:51:15,578] INFO > {org.apache.stratos.messaging.domain.topology.lifecycle.LifeCycleStateManager} > - Topology element [ php-only ]'s life Cycle State changed from [ Created ] > to [ Terminating ] > TID: [0] [STRATOS] [2014-11-14 12:51:15,581] INFO > {org.apache.stratos.autoscaler.applications.topic.ApplicationsEventPublisher} > - Publishing Application terminating event for [application]: php-only -- This message was sent by Atlassian JIRA (v6.3.4#6332)