provisionr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tudor Rogoz <ro...@adobe.com>
Subject not able to create instances (org.activiti.engine.ActivitiException: no processes deployed with key 'amazonPoolManagement' )
Date Mon, 07 Oct 2013 08:25:11 GMT
Hi,

I get this error when I'm trying to create a new pool of machines in amazon[0].The machines
are not created.
I'm not sure why, but sometimes if i restart provisionr several times it will work.The command
that i'm using is "/home/ubuntu/workspace/rootdir/build/org.apache.provisionr-0.4.0-incubating-SNAPSHOT/bin/client
"provisionr:create  --id amazon --key test2313 --size 5 --volume /dev/sdh1:30 --volume /dev/sdh2:30
--volume /dev/sdh3:30 --volume /dev/sdh4:30 --hardware-type m1.xlarge --template mongod --image-id
ami-4965f479 --timeout 600".
I checked the amazon configuration file and it looks fine.
jenkins@<host>:/home/ubuntu/workspace/rootdir/build/org.apache.provisionr-0.4.0-incubating-SNAPSHOT/etc$
cat org.apache.provisionr.amazon.cfg 
accessKey = <is set>
secretKey = <is set>
region = us-west-2

I also saw that there is another error in the log when i'm starting provisionr (during initialization)[1],
it may be related. I'm using 0.4 stable release.

Any ideas?

Thanks,
Tudor



[0]
2013-10-07 08:10:30,307 | ERROR | NioProcessor-2   | CommandContext                   | 88
- org.activiti.engine - 5.10.0 | Error while closing command context
org.activiti.engine.ActivitiException: no processes deployed with key 'amazonPoolManagement'
	at org.activiti.engine.impl.persistence.deploy.DeploymentCache.findDeployedLatestProcessDefinitionByKey(DeploymentCache.java:63)
	at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:58)
	at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
	at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
	at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
	at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
	at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:59)
	at org.apache.provisionr.amazon.AmazonProvisionr.startPoolManagementProcess(AmazonProvisionr.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_27]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.6.0_27]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.6.0_27]
	at java.lang.reflect.Method.invoke(Method.java:616)[:1.6.0_27]
	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)
	at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)
	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)
	at sun.proxy.$Proxy35.startPoolManagementProcess(Unknown Source)
	at org.apache.provisionr.commands.CreatePoolCommand.doExecute(CreatePoolCommand.java:90)
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
	at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand$1.run(ShellCommandFactory.java:109)
	at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_27]
	at javax.security.auth.Subject.doAs(Subject.java:416)[:1.6.0_27]
	at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand.start(ShellCommandFactory.java:107)[37:org.apache.karaf.shell.ssh:2.2.10]
	at org.apache.sshd.server.channel.ChannelSession.handleExec(ChannelSession.java:388)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.server.channel.ChannelSession.handleRequest(ChannelSession.java:235)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.server.channel.ChannelSession.handleRequest(ChannelSession.java:195)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.common.session.AbstractSession.channelRequest(AbstractSession.java:1057)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.server.session.ServerSession.running(ServerSession.java:229)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.server.session.ServerSession.handleMessage(ServerSession.java:205)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:566)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:236)[24:org.apache.sshd.core:0.8.0]
	at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:58)[24:org.apache.sshd.core:0.8.0]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:697)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:651)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:640)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:67)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1111)[35:org.apache.mina.core:2.0.5]
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[35:org.apache.mina.core:2.0.5]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)[:1.6.0_27]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.6.0_27]
	at java.lang.Thread.run(Thread.java:679)[:1.6.0_27]

[1] 2013-10-07 08:02:16,050 | ERROR | FelixStartLevel  | Extender                        
| 89 - org.activiti.osgi - 5.10.0 | Unable to deploy activiti bundle
java.lang.IllegalStateException: Unable to find a ProcessEngine service
	at org.activiti.osgi.Extender.checkBundle(Extender.java:201)[89:org.activiti.osgi:5.10.0]
	at org.activiti.osgi.Extender.bundleChanged(Extender.java:159)[89:org.activiti.osgi:5.10.0]
	at org.activiti.osgi.Extender.addingBundle(Extender.java:107)[89:org.activiti.osgi:5.10.0]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:440)[karaf.jar:2.2.10]
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:2.2.10]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)[karaf.jar:2.2.10]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:413)[karaf.jar:2.2.10]
	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3879)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix.access$800(Felix.java:79)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix$StatefulResolver.fireResolvedEvents(Felix.java:4491)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix$StatefulResolver.resolve(Felix.java:4162)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3557)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)[org.apache.felix.framework-3.2.2.jar:]
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)[org.apache.felix.framework-3.2.2.jar:]
	at java.lang.Thread.run(Thread.java:679)[:1.6.0_27]

Mime
View raw message