stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Re: Could not start mock instance
Date Wed, 28 Jan 2015 10:48:36 GMT
In the latest build I didn't get this exception, but now getting below..
Looking into it..

[2015-01-28 15:55:34,303]  INFO
{org.apache.stratos.manager.messaging.receiver.StratosManagerInstanceStatusEventReceiver}
-  Instance started event received: [application-id] app_boo
[cartridge-type] tomcat2 [member-id]
group6tom.tomcat2.domain41352ab4-77bd-473a-a28d-200e4a1ea9d6
[2015-01-28 15:55:34,308] ERROR
{org.apache.stratos.manager.components.ArtifactDistributionCoordinator} -
 Could not notify artifact updated event
java.lang.RuntimeException: Cluster data not found for alias:
[application-id] app_boo [alias] group6tom
at
org.apache.stratos.manager.components.ArtifactDistributionCoordinator.findClusterId(ArtifactDistributionCoordinator.java:178)
at
org.apache.stratos.manager.components.ArtifactDistributionCoordinator.notifyArtifactUpdatedEventForSignUp(ArtifactDistributionCoordinator.java:86)
at
org.apache.stratos.manager.messaging.receiver.StratosManagerInstanceStatusEventReceiver$1.onEvent(StratosManagerInstanceStatusEventReceiver.java:101)
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.instance.status.InstanceStatusMemberStartedMessageProcessor.process(InstanceStatusMemberStartedMessageProcessor.java:50)
at
org.apache.stratos.messaging.message.processor.instance.status.InstanceStatusMemberActivatedMessageProcessor.process(InstanceStatusMemberActivatedMessageProcessor.java:54)
at
org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:60)
at
org.apache.stratos.messaging.message.receiver.instance.status.InstanceStatusEventMessageDelegator.run(InstanceStatusEventMessageDelegator.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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:744)
[2015-01-28 15:55:34,309]  INFO
{org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher}
-  Publishing member started event: [service-name] tomcat2 [cluster-id]
group6tom.tomcat2.domain [cluster-instance-id] app_boo-1 [member-id]
group6tom.tomcat2.domain41352ab4-77bd-473a-a28d-200e4a1ea9d6
[network-partition-id] openstack_R1 [partition-id] P1
[2015-01-28 15:55:34,310] ERROR
{org.apache.stratos.manager.messaging.receiver.StratosManagerInstanceStatusEventReceiver}
-  Could not send artifact updated event
org.apache.stratos.manager.exception.ArtifactDistributionCoordinatorException:
Could not notify artifact updated event
at
org.apache.stratos.manager.components.ArtifactDistributionCoordinator.notifyArtifactUpdatedEventForSignUp(ArtifactDistributionCoordinator.java:111)
at
org.apache.stratos.manager.messaging.receiver.StratosManagerInstanceStatusEventReceiver$1.onEvent(StratosManagerInstanceStatusEventReceiver.java:101)
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.instance.status.InstanceStatusMemberStartedMessageProcessor.process(InstanceStatusMemberStartedMessageProcessor.java:50)


On Wed, Jan 28, 2015 at 3:33 PM, Sajith Kariyawasam <sajith@wso2.com> wrote:

> Hi all,
>
> I'm getting an exception ,
>
> [2015-01-28 12:43:55,821]  INFO
> {org.apache.stratos.messaging.message.processor.topology.MemberCreatedMessageProcessor}
> -  Member created: [service-name] tomcat2 [cluster-id]
> group6tom.tomcat2.domain [member-id]
> group6tom.tomcat2.domainaa6b6fe0-9e5a-4318-95d6-cabe6b985df2
> [cluster-instance-id] app_boo-1
> [2015-01-28 12:43:55,984]  WARN {org.apache.cxf.jaxrs.utils.JAXRSUtils} -  *No
> operation matching request path "/mock-iaas/api/instances/" is found,*
> Relative Path: /api/instances/, HTTP Method: POST, ContentType:
> application/json, Accept: */*,. Please enable FINE/TRACE log level for more
> details.
> [2015-01-28 12:43:56,019] ERROR
> {org.apache.stratos.cloud.controller.services.impl.InstanceCreator} -
>  Could not start instance: [cartridge-type] tomcat2 [cluster-id]
> group6tom.tomcat2.domain
> java.lang.RuntimeException: Could not start mock instance
> at
> org.apache.stratos.mock.iaas.client.MockIaasApiClient.startInstance(MockIaasApiClient.java:74)
> at
> org.apache.stratos.cloud.controller.iaases.mock.MockIaas.startInstance(MockIaas.java:67)
>
>
> Have we modified rest operations lately? may be mock iaas client is not
> updated with it.. any idea?
>
> Thanks,
> Sajith
>
>
>
> --
> *Sajith Kariyawasam*
>
> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>



-- 
*Sajith Kariyawasam*

*Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
<http://wso2.com>AMIE (SL)Mobile: +94772269575*

Mime
View raw message