You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2014/01/03 07:04:50 UTC
[jira] [Updated] (CLOUDSTACK-5727) [Automation] Inspite of VM
Deployment Failure, the job reports success
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rayees Namathponnan updated CLOUDSTACK-5727:
--------------------------------------------
Summary: [Automation] Inspite of VM Deployment Failure, the job reports success (was: Inspite of VM Deployment Failure, the job reports success)
> [Automation] Inspite of VM Deployment Failure, the job reports success
> ----------------------------------------------------------------------
>
> Key: CLOUDSTACK-5727
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5727
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.3.0
> Environment:
> Reporter: Chandan Purushothama
> Priority: Critical
> Fix For: 4.3.0
>
> Attachments: management-server.zip
>
>
> VM Deployment failed due to InsufficientVirtualNetworkCapcityException as shown below but the deployVM Job reported Success.
> 2014-01-03 07:02:45,426 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Executor-156:ctx-07ca4fec ctx-1fcf6075) Insufficient capacity
> com.cloud.exception.InsufficientVirtualNetworkCapcityException: Unable to allocate vnet as a part of network Ntwk[221|Guest|8] implement Scope=interface com.cloud.dc.DataCenter; id=1
> at com.cloud.network.guru.GuestNetworkGuru.allocateVnet(GuestNetworkGuru.java:278)
> at com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetworkGuru.java:308)
> at com.cloud.network.guru.ExternalGuestNetworkGuru.implement(ExternalGuestNetworkGuru.java:135)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetwork(NetworkOrchestrator.java:951)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare(NetworkOrchestrator.java:1221)
> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:941)
> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4736)
> at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4855)
> at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:99)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:522)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> 2014-01-03 07:02:45,432 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-156:ctx-07ca4fec ctx-1fcf6075) Cleaning up resources for the vm VM[User|QA-b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca] in Starting state
> =============
> Success Report:
> =============
> 2014-01-03 07:02:45,819 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-153:ctx-f844ef7e ctx-1fcf6075) Complete async job-149, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca","name":"QA-b2b665ef-bf62-4e17-a8eb-a6e374e2b6ca","displayname":"testVM","account":"test-TestCreateTemplate-NH42Z1","domainid":"6165446e-740f-11e3-b905-06080800001f","domain":"ROOT","created":"2014-01-03T07:02:43+0530","state":"Error","haenable":false,"zoneid":"21ea361a-95fc-456f-aa87-b7f37361c8e0","zonename":"Sandbox-XenServer","templateid":"616a2830-740f-11e3-b905-06080800001f","templatename":"CentOS 5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"CentOS 5.6(64-bit) no GUI (XenServer)","passwordenabled":false,"serviceofferingid":"8a9847a7-ae0b-4a8e-b6ab-58e625bd0a04","serviceofferingname":"Tiny Instance","cpunumber":1,"cpuspeed":100,"memory":128,"guestosid":"617271a2-740f-11e3-b905-06080800001f","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"ae221e41-813d-451f-a99d-32722bca77f9","networkid":"df33ec3b-fa5e-47cf-9c52-c557d22392ba","networkname":"test-TestCreateTemplate-NH42Z1-network","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.141","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:52:1a:00:01"}],"hypervisor":"XenServer","instancename":"i-18-33-QA","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":true,"jobid":"13bd7917-137c-4fe7-921a-084938d58d5d","jobstatus":0}
> 2014-01-03 07:02:45,828 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-153:ctx-f844ef7e) Done executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-149
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)