Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during deployment on vCD #32

Open
ygy opened this issue Dec 11, 2015 · 0 comments
Open

Error during deployment on vCD #32

ygy opened this issue Dec 11, 2015 · 0 comments

Comments

@ygy
Copy link

ygy commented Dec 11, 2015

Tomcat deployment failed with the following error

0 error[s] (listed in primary trace); plus 2 more (e.g. the last is org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.jclouds.compute.RunNodesException: error running 1 node group(<REMOVED>) location(https://VDC_ENDPOINT_REMOVED) image(urn:vcloud:vapptemplate:c8af539b-04a1-4531-a1f6-16df44e00dec) size(1CPU_0.5GB_RAM) options({loginPasswordPresent=true, inboundPorts=[22, 31880, 31001, 8080, 8443, 1099], userMetadata={Name=<REMOVED>, brooklyn-user=<REMOVED>, brooklyn-app-id=GxIuIsru, brooklyn-app-name=Tomcat, brooklyn-entity-id=x7zsWAnj, brooklyn-entity-name=Tomcat Server, brooklyn-server-creation-date=2015-12-11-1249}, networks=[<REMOVED>]})
Execution failures:

1) ExecutionException on <REMOVED>:
java.util.concurrent.ExecutionException: org.jclouds.vcloud.director.v1_5.VCloudDirectorException: Bad Request (400) Error: The value for Number of CPUs must be above zero. You provided 0.
    at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
    at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
    at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
    at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:123)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.jclouds.vcloud.director.v1_5.VCloudDirectorException: Bad Request (400) Error: The value for Number of CPUs must be above zero. You provided 0.
    at org.jclouds.vcloud.director.v1_5.handlers.VCloudDirectorErrorHandler.handleError(VCloudDirectorErrorHandler.java:58)
    at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
    at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:136)
    at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:105)
    at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90)
    at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73)
    at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44)
    at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
    at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
    at com.sun.proxy.$Proxy158.composeVApp(Unknown Source)
    at org.jclouds.vcloud.director.v1_5.compute.strategy.VCloudDirectorComputeServiceAdapter.createNodeWithGroupEncodedIntoName(VCloudDirectorComputeServiceAdapter.java:179)
    at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.createNodeWithGroupEncodedIntoName(AdaptingComputeServiceStrategies.java:195)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:79)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:63)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at java.lang.Thread.getStackTrace(Thread.java:1552)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:167)
    at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:122)
    at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:210)
    at org.apache.brooklyn.location.jclouds.JcloudsLocation.obtainOnce(JcloudsLocation.java:718)
    at org.apache.brooklyn.location.jclouds.JcloudsLocation.obtain(JcloudsLocation.java:608)
    at brooklyn.networking.portforwarding.subnet.JcloudsPortforwardingSubnetLocation.obtain(JcloudsPortforwardingSubnetLocation.java:123)
    at brooklyn.networking.portforwarding.subnet.JcloudsPortforwardingSubnetLocation.obtain(JcloudsPortforwardingSubnetLocation.java:1)
    at org.apache.brooklyn.entity.software.base.lifecycle.MachineLifecycleEffectorTasks$ObtainLocationTask.call(MachineLifecycleEffectorTasks.java:406)
    at org.apache.brooklyn.entity.software.base.lifecycle.MachineLifecycleEffectorTasks$ObtainLocationTask.call(MachineLifecycleEffectorTasks.java:1)
    at org.apache.brooklyn.util.core.task.Tasks.withBlockingDetails(Tasks.java:98)
    at org.apache.brooklyn.entity.software.base.lifecycle.MachineLifecycleEffectorTasks$ProvisionMachineTask.call(MachineLifecycleEffectorTasks.java:380)
    at org.apache.brooklyn.entity.software.base.lifecycle.MachineLifecycleEffectorTasks$ProvisionMachineTask.call(MachineLifecycleEffectorTasks.java:1)
    at org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:342)
    at org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:492)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    ... 3 more


1 error[s]
Node failures:

0 error[s]): org.jclouds.compute.RunNodesException: error running 1 node group(<REMOVED>) location(<REMOVED>) image(urn:vcloud:vapptemplate:c8af539b-04a1-4531-a1f6-16df44e00dec) size(1CPU_0.5GB_RAM) options({loginPasswordPresent=true, inboundPorts=[22, 31880, 31001, 8080, 8443, 1099], userMetadata={Name=<REMOVED>, brooklyn-user=<REMOVED>, brooklyn-app-id=GxIuIsru, brooklyn-app-name=Tomcat, brooklyn-entity-id=x7zsWAnj, brooklyn-entity-name=Tomcat Server, brooklyn-server-creation-date=2015-12-11-1238}, networks=[<REMOVED>]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant