cp /usr/bin/vhd-util /opt/xensource/bin/vhd-util It s how i do it on XCP 1.6 For XenServer : cp /usr/bin/vhd-util /opt/xenserver/bin/vhd-util if i remember right
On Fri, Jul 12, 2013 at 6:25 AM, Bradley Hieber <mercsni...@gmail.com>wrote: > I downloaded the latest VHD util, ensured I have the correct i686 libraries > on my CentOS 6.4 x86_64 box. I am still getting: > > 2013-07-11 19:17:08,374 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-49:null) Seq 5-304087233: Response Received: > 2013-07-11 19:17:08,374 DEBUG [agent.transport.Request] > (DirectAgent-49:null) Seq 5-304087233: Processing: { Ans: , MgmtId: > 52231432591, via: 5, Ver: v1, Flags: 110, > > [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea","wait":0}}] } > 2013-07-11 19:17:08,374 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087233: Received: { Ans: , MgmtId: 52231432591, via: 5, Ver: v1, > Flags: 110, { PrimaryStorageDownloadAnswer } } > 2013-07-11 19:17:08,375 DEBUG [agent.manager.AgentManagerImpl] > (secstorage-1:null) Details from executing class > com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > 2013-07-11 19:17:08,375 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Template 1 download to pool 201 failed due to Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > 2013-07-11 19:17:08,375 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Downloading 1 via 5 > 2013-07-11 19:17:08,378 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087234: Waiting for Seq 304087233 Scheduling: { Cmd , MgmtId: > 52231432591, via: 5, Ver: v1, Flags: 100111, > > [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/483c879b-67a3-3830-9c87-1997efb60ed0","poolUuid":"483c879b-67a3-3830-9c87-1997efb60ed0","poolId":201,"primaryPool":{"id":201,"uuid":"483c879b-67a3-3830-9c87-1997efb60ed0","host":"192.168.2.123","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs:// > 192.168.2.123/export/secondary","primaryStorageUrl":"nfs:// > 192.168.2.123/export/primary","url":"nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ > ","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}] > } > 2013-07-11 19:17:08,380 DEBUG [agent.manager.AgentAttache] > (DirectAgent-49:null) Seq 5-304087234: Sending now. is current sequence. > 2013-07-11 19:17:08,380 DEBUG [agent.transport.Request] > (DirectAgent-49:null) Seq 5-304087234: Executing: { Cmd , MgmtId: > 52231432591, via: 5, Ver: v1, Flags: 100111, > > [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/483c879b-67a3-3830-9c87-1997efb60ed0","poolUuid":"483c879b-67a3-3830-9c87-1997efb60ed0","poolId":201,"primaryPool":{"id":201,"uuid":"483c879b-67a3-3830-9c87-1997efb60ed0","host":"192.168.2.123","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs:// > 192.168.2.123/export/secondary","primaryStorageUrl":"nfs:// > 192.168.2.123/export/primary","url":"nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ > ","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}] > } > 2013-07-11 19:17:08,380 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-104:null) Seq 5-304087234: Executing request > 2013-07-11 19:17:10,593 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-104:null) destoryVDIbyNameLabel failed due to there are 0 VDIs > with name cloud-1b502de7-1281-42e8-9b1b-9be7491656ac > 2013-07-11 19:17:10,594 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-104:null) can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > 2013-07-11 19:17:10,595 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-104:null) Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) > at > > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73) > 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:679) > 2013-07-11 19:17:10,597 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-104:null) Seq 5-304087234: Response Received: > 2013-07-11 19:17:10,598 DEBUG [agent.transport.Request] > (DirectAgent-104:null) Seq 5-304087234: Processing: { Ans: , MgmtId: > 52231432591, via: 5, Ver: v1, Flags: 110, > > [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea","wait":0}}] } > 2013-07-11 19:17:10,599 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087234: Received: { Ans: , MgmtId: 52231432591, via: 5, Ver: v1, > Flags: 110, { PrimaryStorageDownloadAnswer } } > 2013-07-11 19:17:10,599 DEBUG [agent.manager.AgentManagerImpl] > (secstorage-1:null) Details from executing class > com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > 2013-07-11 19:17:10,599 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Template 1 download to pool 201 failed due to Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:efebe86c-e734-4a83-8641-914930ecde9e for template: nfs:// > 192.168.2.123/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > 39898f8c-9687-378e-d29a-8bfd888377ea > 2013-07-11 19:17:10,599 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Template 1 is not found on and can not be downloaded to > pool 201 > 2013-07-11 19:17:10,599 DEBUG [cloud.storage.StorageManagerImpl] > (secstorage-1:null) Cannot use this pool Pool[201|NetworkFilesystem] > because we can't propagate template Tmpl[1-VHD-routing-1 > 2013-07-11 19:17:10,601 DEBUG [agent.manager.AgentAttache] > (DirectAgent-104:null) Seq 5-304087234: No more commands found > 2013-07-11 19:17:10,604 INFO [cloud.vm.VirtualMachineManagerImpl] > (secstorage-1:null) Unable to contact resource. > com.cloud.exception.StorageUnavailableException: Resource [StoragePool:201] > is unreachable: Unable to create Vol[82|vm=82|ROOT] > at > com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:3488) > at > > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:748) > at > > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) > at > > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:264) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:689) > at > > com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1300) > at > > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:121) > at > > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:52) > at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104) > at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33) > at > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81) > at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > 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:679) > 2013-07-11 19:17:10,606 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (secstorage-1:null) Cleaning up resources for the vm > VM[SecondaryStorageVm|s-82-VM] in Starting state > 2013-07-11 19:17:10,607 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087235: Sending { Cmd , MgmtId: 52231432591, via: 5, Ver: v1, > Flags: 100111, > [{"StopCommand":{"isProxy":false,"vmName":"s-82-VM","wait":0}}] } > 2013-07-11 19:17:10,607 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087235: Executing: { Cmd , MgmtId: 52231432591, via: 5, Ver: v1, > Flags: 100111, > [{"StopCommand":{"isProxy":false,"vmName":"s-82-VM","wait":0}}] } > 2013-07-11 19:17:10,608 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-48:null) Seq 5-304087235: Executing request > 2013-07-11 19:17:10,677 INFO [xen.resource.CitrixResourceBase] > (DirectAgent-48:null) VM does not exist on > XenServerefebe86c-e734-4a83-8641-914930ecde9e > 2013-07-11 19:17:10,677 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-48:null) Seq 5-304087235: Response Received: > 2013-07-11 19:17:10,678 DEBUG [agent.transport.Request] > (DirectAgent-48:null) Seq 5-304087235: Processing: { Ans: , MgmtId: > 52231432591, via: 5, Ver: v1, Flags: 110, > [{"StopAnswer":{"vncPort":0,"result":true,"details":"VM does not > exist","wait":0}}] } > 2013-07-11 19:17:10,678 DEBUG [agent.transport.Request] (secstorage-1:null) > Seq 5-304087235: Received: { Ans: , MgmtId: 52231432591, via: 5, Ver: v1, > Flags: 110, { StopAnswer } } > 2013-07-11 19:17:10,682 DEBUG [agent.manager.AgentAttache] > (DirectAgent-48:null) Seq 5-304087235: No more commands found > 2013-07-11 19:17:10,687 DEB > > -- > Brad >