Skip to content

Instantly share code, notes, and snippets.

@cloudartisan
Created June 17, 2011 01:25
Show Gist options
  • Save cloudartisan/1030686 to your computer and use it in GitHub Desktop.
Save cloudartisan/1030686 to your computer and use it in GitHub Desktop.
Pallet/jClouds credential problems
WARN implementation - pallet.compute.vmfest provider failed to load: java.io.FileNotFoundException: Could not locate vmfest/virtualbox/virtualbox__init.class or vmfest/virtualbox/virtualbox.clj on classpath: (vmfest.clj:1)
WARN deprecate - DEPRECATED [staging/core.clj:25] pallet.core/defnode is deprecated. See group-spec, server-spec and node-spec in pallet.core
WARN deprecate - DEPRECATED [staging/core.clj:41] pallet.resource/phase is deprecated, use pallet.phase/phase-fn
WARN deprecate - DEPRECATED [staging/core.clj:42] pallet.resource/phase is deprecated, use pallet.phase/phase-fn
WARN deprecate - DEPRECATED [Compiler.java:2906] pallet.core/make-node is deprecated. See group-spec, server-spec and node-spec in pallet.core.
INFO core - retrieving nodes
INFO core - converging nodes
INFO core - adjust-node-count :mongodb 1
INFO core - Starting 1 nodes for :mongodb os-family :ubuntu
INFO jclouds - building node template for :mongodb
INFO jclouds - authorizing /Users/david/.ssh/id_rsa.pub
INFO jclouds - options {:min-cores 2, :os-description-matches "11.04", :key-pair "us-east-1a_staging", :inbound-ports [22], :os-family :ubuntu, :os-64-bit true, :hardware-id "m1.large", :image-id "us-east-1/ami-1aad5273", :min-ram 8192}
ERROR futures - Adjust node count exception: error running 1 node tag(mongodb) location(us-east-1) image(ami-1aad5273) size(m1.large) options([groupIds=[], keyPair=us-east-1a_staging, noKeyPair=false, monitoringEnabled=false, placementGroup=null, noPlacementGroup=false, subnetId=null, userData=null, blockDeviceMappin
gs=[], spotPrice=null, spotOptions=[formParameters={}]])
Execution failures:
0 error[s]
Node failures:
1) NullPointerException on node us-east-1/i-a9ca8bc7:
java.lang.NullPointerException: no credential found for ubuntu on node us-east-1/i-a9ca8bc7
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)
at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:56)
at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:40)
at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.init(RunScriptOnNodeAsInitScriptUsingSsh.java:112)
at org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:67)
at org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:40)
at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:148)
at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:57)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
1 error[s]
at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:237)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
at org.jclouds.compute$create_nodes.invoke(compute.clj:213)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.AFn.applyTo(AFn.java:151)
at clojure.core$apply.invoke(core.clj:540)
at org.jclouds.compute$run_nodes.doInvoke(compute.clj:215)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at pallet.compute.jclouds.JcloudsService.run_nodes(jclouds.clj:404)
at pallet.core$create_nodes.invoke(core.clj:408)
at pallet.core$adjust_node_count.invoke(core.clj:450)
at pallet.core$parallel_adjust_node_counts$p_a_n_c_future__5973$fn__5974.invoke(core.clj:473)
at clojure.lang.AFn.call(AFn.java:18)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at org.jclouds.compute$run_nodes.doInvoke(compute.clj:215)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at pallet.compute.jclouds.JcloudsService.run_nodes(jclouds.clj:404)
at pallet.core$create_nodes.invoke(core.clj:408)
at pallet.core$adjust_node_count.invoke(core.clj:450)
at pallet.core$parallel_adjust_node_counts$p_a_n_c_future__5973$fn__5974.invoke(core.clj:473)
at clojure.lang.AFn.call(AFn.java:18)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
INFO core - lift-nodes phases [:settings :configure], groups [:mongodb]
INFO core - apply-phase :pallet.phase/pre-settings for :mongodb with 0 nodes
INFO core - apply-phase :settings for :mongodb with 0 nodes
INFO core - apply-phase :pallet.phase/post-settings for :mongodb with 0 nodes
INFO core - apply-phase :pallet.phase/pre-configure for :mongodb with 0 nodes
INFO core - apply-phase :configure for :mongodb with 0 nodes
INFO core - apply-phase :pallet.phase/post-configure for :mongodb with 0 nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment