To add to Kirks excellent suggestions, we have also had issues in the past when there was an ISO still attached to the original VM when it was exported.
Regards Geoff On 23 Oct 2012, at 18:35, "Kirk Kosinski" <kirkkosin...@gmail.com> wrote: Hi, Martin. What hypervisor was used to create the Windows VHD? The VHD format is technically a standard, but in practice different hypervisors often make VHDs that are not compatible with other hypervisors. We have seen problems with importing VHDs generated by Hyper-V. You can try running the VHD through different tools (e.g. XenConvert, XenCenter) to see any can import it to XenServer successfully. If you can get it into XenServer, export the VHD from XenServer and try importing the resulting VHD to CloudStack. Otherwise I suggest using XenServer to build templates. If you built this template in XenServer, how did you obtain the VHD from the XenServer environment? The VHD may have been dependent on another VHD, or somehow corrupted. I suggest exporting VHDs from XenCenter unless you are absolutely sure you can get a valid, standalone VHD directly from an SR. Best regards, Kirk On 10/23/2012 09:37 AM, Martin Liu wrote: > Yes, I am using a same httpd server. > Thanks, > Martin > > On Wed, Oct 24, 2012 at 12:18 AM, Geoff Higginbottom < > geoff.higginbot...@shapeblue.com> wrote: > >> We're the two templates on the same source HTTP server >> >> Regards >> >> Geoff >> >> >> On 23 Oct 2012, at 17:13, "Martin Liu" <liuz...@gmail.com> wrote: >> >> Geoff, >> >> Yes, storage and private network are all on same network 163.168.168.0/24. >> It's a advance zone, I had upload a mini centos template without any >> problem. >> But it failed when I am trying to upload a 3.2 gb win2008r2 template. >> >> Thanks, >> Martin >> >> On Wed, Oct 24, 2012 at 12:03 AM, Geoff Higginbottom < >> geoff.higginbot...@shapeblue.com> wrote: >> >>> Martin, >>> >>> Did you configure the 'storage' network during the Zone creation wizard >>> >>> Regards >>> >>> Geoff >>> >>> >>> On 23 Oct 2012, at 16:55, "Martin Liu" <liuz...@gmail.com> wrote: >>> >>> Hi all, >>> >>> I am building a cloud lab on CS 3.05. Do we have a cli command for upload >>> some big templates into secondary storage? >>> >>> MGMT server : rhel 6.2 64bit >>> NFS server : centos 6.3 >>> XenServer : 6.0.201 >>> >>> I got error in template reintegration page : >>> >>> Status: Failed post download script: vhd check of >>> /mnt/SecStorage/423f73a0-0e4b- >> 35b2-8580-8758e4325450/template/tmpl/2/206/dnld7429495030019234591tmp_.tmp >>> failed >>> >>> I have done twice end with same error. >>> >>> I search error in management server log: >>> >>> 2012-10-21 13:06:39,055 ERROR [agent.manager.AgentMonitor] >>> (AgentMonitor:null) Caught the following exception: >>> 2012-10-21 13:07:39,058 ERROR [agent.manager.AgentMonitor] >>> (AgentMonitor:null) Caught the following exception: >>> 2012-10-21 13:07:42,061 ERROR >>> [cloud.cluster.ClusterServiceServletContainer] (Thread-15:null) >>> Unexpected exception >>> 2012-10-21 13:07:43,108 ERROR [agent.manager.AgentMonitor] >>> (AgentMonitor:null) Caught the following exception: >>> 2012-10-21 13:38:18,718 ERROR [utils.component.ComponentLocator] >>> (main:null) Unable to load configuration for management-server from >>> components.xml >>> 2012-10-21 13:38:31,420 ERROR [cloud.cluster.ClusterManagerImpl] >>> (main:null) Unable to ping management server at 192.168.168.8:9090 due >>> to ConnectException >>> 2012-10-21 13:57:14,500 ERROR [cloud.resource.ServerResourceBase] >>> (catalina-exec-2:null) Nics are not configured! >>> 2012-10-21 14:00:14,706 DEBUG [agent.transport.Request] >>> (AgentManager-Handler-3:null) Seq 4-729219077: Processing: { Ans: , >>> MgmtId: 156852416128634, via: 4, Ver: v1, Flags: 10, >>> [{"storage.DownloadAnswer":{"esolve >>> download.cloud.com >> ","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/423f73a0-0e4b-35b2-8580-8758e4325450/template/tmpl/1/5/dnld3648542878690506158tmp_","templateSize":0,"templatePhySle >>> to resolve download.cloud.com","wait":0}}] } >>> 2012-10-21 14:13:19,850 ERROR >>> [cloud.cluster.ClusterServiceServletContainer] (Thread-15:null) >>> Unexpected exception >>> 2012-10-21 14:13:35,376 ERROR [cloud.cluster.ClusterManagerImpl] >>> (main:null) Unable to ping management server at 192.168.168.8:9090 due >>> to ConnectException >>> 2012-10-21 14:13:43,836 DEBUG [agent.transport.Request] >>> (AgentManager-Handler-13:null) Seq 4-93388805: Processing: { Ans: , >>> MgmtId: 156852416128634, via: 4, Ver: v1, Flags: 10, >>> [{"storage.DownloadAnswer":{"esolve >>> download.cloud.com >> ","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/423f73a0-0e4b-35b2-8580-8758e4325450/template/tmpl/1/5/dnld3648542878690506158tmp_","templateSize":0,"templatePhySle >>> to resolve download.cloud.com","wait":0}}] } >>> 2012-10-21 16:03:48,451 DEBUG [agent.transport.Request] >>> (AgentManager-Handler-3:null) Seq 4-93389007: Processing: { Ans: , >>> MgmtId: 156852416128634, via: 4, Ver: v1, Flags: 10, >>> [{"storage.DownloadAnswer":{"jt download script: vhd check of >> /mnt/SecStorage/423f73a0-0e4b-35b2-8580-8758e4325450/template/tmpl/2/205/dnld1053886370212008862tmp_.tmp >> failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStor","installPath":"template/tmpl//2/205//1b483abf-728c-31d6-8c04-5143f1c5a829.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"6ffc996424a81d3bf0b821345517891c","result":false,"details":"Failed >>> post ate/tmpl/2/205/dnld1053886370212008862tmp_.tmp >>> failed","wait":0}}] } >>> 2012-10-21 16:22:51,446 DEBUG [agent.transport.Request] >>> (AgentManager-Handler-6:null) Seq 4-93389108: Processing: { Ans: , >>> MgmtId: 156852416128634, via: 4, Ver: v1, Flags: 10, >>> [{"storage.DownloadAnswer":{"jt download script: vhd check of >> /mnt/SecStorage/423f73a0-0e4b-35b2-8580-8758e4325450/template/tmpl/2/206/dnld7429495030019234591tmp_.tmp >> failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStor","installPath":"template/tmpl//2/206//0b1142c4-b602-3e54-a334-cfe4ccf4d032.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"6ffc996424a81d3bf0b821345517891c","result":false,"details":"Failed >>> post ate/tmpl/2/206/dnld7429495030019234591tmp_.tmp >>> failed","wait":0}}] } >>> >>> >>> Is there anyone can help me out here, thanks in advance. >>> >>> >>> -- >>> Regards, >>> >>> 刘征 Martin Liu >>> ---------------------------------- >>> Blog: http://martinliu.cn >>> ShapeBlue provides a range of strategic and technical consulting and >>> implementation services to help IT Service Providers and Enterprises to >>> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with >>> CloudStack technology, allows IT Service Providers and Enterprises to >>> deliver true, utility based, IaaS to the customer or end-user. >>> >>> ________________________________ >>> >>> 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. 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. >> >> >> >> -- >> Regards, >> >> 刘征 Martin Liu >> ---------------------------------- >> Blog: http://martinliu.cn >> ShapeBlue provides a range of strategic and technical consulting and >> implementation services to help IT Service Providers and Enterprises to >> build a true IaaS compute cloud. ShapeBlue’s expertise, combined with >> CloudStack technology, allows IT Service Providers and Enterprises to >> deliver true, utility based, IaaS to the customer or end-user. >> >> ________________________________ >> >> 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. 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 provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user. ________________________________ 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. 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.