cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Higginbottom <geoff.higginbot...@shapeblue.com>
Subject Re: Issue with imported VHD from CS 4.0
Date Wed, 04 Dec 2013 23:28:37 GMT
Adam,

Is the VR running for the network you are trying to connect the VM to?  I often see VMs failing
to start when it's actually the VR failing to start which is the real cause of the issue.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540>
| M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<mailto:geoff.higginbottom@shapeblue.com> | www.shapeblue.com<htp://www.shapeblue.com/>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS<x-apple-data-detectors://37>



On 4 Dec 2013, at 23:21, "Adam Harvey" <aharvey@enmasse.com<mailto:aharvey@enmasse.com>>
wrote:

After importing a VHD (centos 6.4) as a template into CS4.2 (The vhd was running previously
on a CS4.0 cloud), running into the following issue when attempting to deploy it as a small
instance:

2013-12-04 23:18:18,637 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status.
2013-12-04 23:18:18,638 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
2013-12-04 23:18:18,659 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status.
2013-12-04 23:18:18,660 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
2013-12-04 23:18:21,065 WARN  [xen.resource.XenServerStorageProcessor] (DirectAgent-223:null)
failed
2013-12-04 23:18:21,065 WARN  [xen.resource.XenServerStorageProcessor] (DirectAgent-223:null)
Catch Exception com.cloud.utils.exception.CloudRuntimeException for template +  due to com.cloud.utils.exception.CloudRuntimeException:
failed
com.cloud.utils.exception.CloudRuntimeException: failed
       at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:792)
       at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:863)
       at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:70)
       at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:621)
       at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
       at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
       at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
       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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:701)

A few moments later it will be followed by:
2013-12-04 23:18:21,326 INFO  [user.vm.DeployVMCmd] (Job-Executor-35:job-130 = [ 6bf6e24d-2ccb-4e47-a6d1-9dc12208ec7b
]) Unable to create a deployment for VM[User|96e3bd39-e29d-4ce4-9e16-b5ea86d7fd23]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for
VM[User|96e3bd39-e29d-4ce4-9e16-b5ea86d7fd23]Scope=interface com.cloud.dc.DataCenter; id=1
       at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:842)
       at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:578)
       at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237)
       at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
       at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3406)
       at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2966)
       at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2952)
       at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
       at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
       at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
       at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
       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:1146)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:701)
2013-12-04 23:18:21,328 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-35:job-130 =
[ 6bf6e24d-2ccb-4e47-a6d1-9dc12208ec7b ]) Complete async job-130 = [ 6bf6e24d-2ccb-4e47-a6d1-9dc12208ec7b
], jobStatus: 2, resultCode: 530, result: Error Code: 533 Error text: Unable to create a deployment
for VM[User|96e3bd39-e29d-4ce4-9e16-b5ea86d7fd23]


This is on a 32gb RAM UCS blade with only one 8gb VM running.


Ideas?  Scratching the noggin here,
Adam
This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message