Re: Re: 模板上传报错
vhd文件可能不是完整的数据磁盘镜像。 如果要基于原始的模板,可以看template_spool_ref表 如果要基于已经创建好的虚拟机,可以先做快照,然后存为模板。 2013/11/19 wanghaicheng2...@gmail.com > > 我是在数据库中执行: > > mysql> select uuid,name,path,folder from volumes \G; > > 返回:其中需要的根卷名称为ROOT-24 > > | ea45ede1-f239-41a8-bd02-17c0b302a26d | > 77541af8-b9f7-43cc-9795-f37417e94254 | > > /export/primary1 | ROOT-24 | 26843545600 > > 在住存储中找到77541af8-b9f7-43cc-9795-f37417e94254 .vhd(虚拟机)文件,并进行下载 > > 将其作为模板上传到CS中,出现之前的报错 > > 请问大家,这个操作的思路或流程正确么? > > > > > wanghaicheng2...@gmail.com > > 发件人: Du Jun > 发送时间: 2013-11-19 18:36 > 收件人: users-cn > 主题: Re: 模板上传报错 > DOWNLOAD_ERROR > 我觉得是模版的问题 > > > 2013/11/19 Wei ZHOU > > > 做的模板有问题吧? > > > > > > 2013/11/19 wanghaicheng2...@gmail.com > > > > > > > > XenServer6.0.2 + CS 3.0.5 > > > > > > 上传WinXP 模板 上传能够成功,但是在进行模板install过程时报错,不论上传模板选择的是sp2或sp3都是这样 > > > > > > 2013-11-19 17:42:13,276 DEBUG [agent.transport.Request] (Timer-15:null) > > > Seq 4-730989509: Sending { Cmd , MgmtId: 233845175752474, via: 4, Ver: > > v1, > > > Flags: 100011, > > > > > > [{"storage.DownloadProgressCommand":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","request":"GET_STATUS","hvm":true,"description":"from > > > xenserver > > > > > > 32","maxDownloadSizeInBytes":53687091200,"id":211,"resourceType":"TEMPLATE","url":" > > > http://10.30.18.2/From-Xen-32.vhd > > > > > > ","format":"VHD","accountId":2,"name":"211-2-e8223f0c-d942-3fe5-bbeb-c2253345947a","secUrl":"nfs:// > > > 10.30.18.4/export/secondary1","wait":0}}] } > > > 2013-11-19 17:42:13,322 DEBUG [agent.transport.Request] > > > (AgentManager-Handler-12:null) Seq 4-730989509: Processing: { Ans: , > > > MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 10, > > > > > > [{"storage.DownloadAnswer":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","downloadPct":100,"errorString":"Failed > > > post download script: vhd check of > > > > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > > > > > failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_","installPath":"template/tmpl//2/211//665ba4c8-2cd8-37cc-805f-492c8d81f7e7.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"4b58c66065c6e62297fd829db537bb7d","result":false,"details":"Failed > > > post download script: vhd check of > > > > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > > failed","wait":0}}] } > > > > > > > > > > > > wanghaicheng2...@gmail.com > > >
回复: Re: 模板上传报错
我是在数据库中执行: mysql> select uuid,name,path,folder from volumes \G; 返回:其中需要的根卷名称为ROOT-24 | ea45ede1-f239-41a8-bd02-17c0b302a26d | 77541af8-b9f7-43cc-9795-f37417e94254 | /export/primary1 | ROOT-24 | 26843545600 在住存储中找到77541af8-b9f7-43cc-9795-f37417e94254 .vhd(虚拟机)文件,并进行下载 将其作为模板上传到CS中,出现之前的报错 请问大家,这个操作的思路或流程正确么? wanghaicheng2...@gmail.com 发件人: Du Jun 发送时间: 2013-11-19 18:36 收件人: users-cn 主题: Re: 模板上传报错 DOWNLOAD_ERROR 我觉得是模版的问题 2013/11/19 Wei ZHOU > 做的模板有问题吧? > > > 2013/11/19 wanghaicheng2...@gmail.com > > > > > XenServer6.0.2 + CS 3.0.5 > > > > 上传WinXP 模板 上传能够成功,但是在进行模板install过程时报错,不论上传模板选择的是sp2或sp3都是这样 > > > > 2013-11-19 17:42:13,276 DEBUG [agent.transport.Request] (Timer-15:null) > > Seq 4-730989509: Sending { Cmd , MgmtId: 233845175752474, via: 4, Ver: > v1, > > Flags: 100011, > > > [{"storage.DownloadProgressCommand":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","request":"GET_STATUS","hvm":true,"description":"from > > xenserver > > > 32","maxDownloadSizeInBytes":53687091200,"id":211,"resourceType":"TEMPLATE","url":" > > http://10.30.18.2/From-Xen-32.vhd > > > ","format":"VHD","accountId":2,"name":"211-2-e8223f0c-d942-3fe5-bbeb-c2253345947a","secUrl":"nfs:// > > 10.30.18.4/export/secondary1","wait":0}}] } > > 2013-11-19 17:42:13,322 DEBUG [agent.transport.Request] > > (AgentManager-Handler-12:null) Seq 4-730989509: Processing: { Ans: , > > MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 10, > > > [{"storage.DownloadAnswer":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","downloadPct":100,"errorString":"Failed > > post download script: vhd check of > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > > failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_","installPath":"template/tmpl//2/211//665ba4c8-2cd8-37cc-805f-492c8d81f7e7.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"4b58c66065c6e62297fd829db537bb7d","result":false,"details":"Failed > > post download script: vhd check of > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > failed","wait":0}}] } > > > > > > > > wanghaicheng2...@gmail.com >
Re: 模板上传报错
DOWNLOAD_ERROR 我觉得是模版的问题 2013/11/19 Wei ZHOU > 做的模板有问题吧? > > > 2013/11/19 wanghaicheng2...@gmail.com > > > > > XenServer6.0.2 + CS 3.0.5 > > > > 上传WinXP 模板 上传能够成功,但是在进行模板install过程时报错,不论上传模板选择的是sp2或sp3都是这样 > > > > 2013-11-19 17:42:13,276 DEBUG [agent.transport.Request] (Timer-15:null) > > Seq 4-730989509: Sending { Cmd , MgmtId: 233845175752474, via: 4, Ver: > v1, > > Flags: 100011, > > > [{"storage.DownloadProgressCommand":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","request":"GET_STATUS","hvm":true,"description":"from > > xenserver > > > 32","maxDownloadSizeInBytes":53687091200,"id":211,"resourceType":"TEMPLATE","url":" > > http://10.30.18.2/From-Xen-32.vhd > > > ","format":"VHD","accountId":2,"name":"211-2-e8223f0c-d942-3fe5-bbeb-c2253345947a","secUrl":"nfs:// > > 10.30.18.4/export/secondary1","wait":0}}] } > > 2013-11-19 17:42:13,322 DEBUG [agent.transport.Request] > > (AgentManager-Handler-12:null) Seq 4-730989509: Processing: { Ans: , > > MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 10, > > > [{"storage.DownloadAnswer":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","downloadPct":100,"errorString":"Failed > > post download script: vhd check of > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > > failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_","installPath":"template/tmpl//2/211//665ba4c8-2cd8-37cc-805f-492c8d81f7e7.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"4b58c66065c6e62297fd829db537bb7d","result":false,"details":"Failed > > post download script: vhd check of > > > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > > failed","wait":0}}] } > > > > > > > > wanghaicheng2...@gmail.com >
Re: 模板上传报错
做的模板有问题吧? 2013/11/19 wanghaicheng2...@gmail.com > > XenServer6.0.2 + CS 3.0.5 > > 上传WinXP 模板 上传能够成功,但是在进行模板install过程时报错,不论上传模板选择的是sp2或sp3都是这样 > > 2013-11-19 17:42:13,276 DEBUG [agent.transport.Request] (Timer-15:null) > Seq 4-730989509: Sending { Cmd , MgmtId: 233845175752474, via: 4, Ver: v1, > Flags: 100011, > [{"storage.DownloadProgressCommand":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","request":"GET_STATUS","hvm":true,"description":"from > xenserver > 32","maxDownloadSizeInBytes":53687091200,"id":211,"resourceType":"TEMPLATE","url":" > http://10.30.18.2/From-Xen-32.vhd > ","format":"VHD","accountId":2,"name":"211-2-e8223f0c-d942-3fe5-bbeb-c2253345947a","secUrl":"nfs:// > 10.30.18.4/export/secondary1","wait":0}}] } > 2013-11-19 17:42:13,322 DEBUG [agent.transport.Request] > (AgentManager-Handler-12:null) Seq 4-730989509: Processing: { Ans: , > MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 10, > [{"storage.DownloadAnswer":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","downloadPct":100,"errorString":"Failed > post download script: vhd check of > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_","installPath":"template/tmpl//2/211//665ba4c8-2cd8-37cc-805f-492c8d81f7e7.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"4b58c66065c6e62297fd829db537bb7d","result":false,"details":"Failed > post download script: vhd check of > /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ > failed","wait":0}}] } > > > > wanghaicheng2...@gmail.com
模板上传报错
XenServer6.0.2 + CS 3.0.5 上传WinXP 模板 上传能够成功,但是在进行模板install过程时报错,不论上传模板选择的是sp2或sp3都是这样 2013-11-19 17:42:13,276 DEBUG [agent.transport.Request] (Timer-15:null) Seq 4-730989509: Sending { Cmd , MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 100011, [{"storage.DownloadProgressCommand":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","request":"GET_STATUS","hvm":true,"description":"from xenserver 32","maxDownloadSizeInBytes":53687091200,"id":211,"resourceType":"TEMPLATE","url":"http://10.30.18.2/From-Xen-32.vhd","format":"VHD","accountId":2,"name":"211-2-e8223f0c-d942-3fe5-bbeb-c2253345947a","secUrl":"nfs://10.30.18.4/export/secondary1","wait":0}}] } 2013-11-19 17:42:13,322 DEBUG [agent.transport.Request] (AgentManager-Handler-12:null) Seq 4-730989509: Processing: { Ans: , MgmtId: 233845175752474, via: 4, Ver: v1, Flags: 10, [{"storage.DownloadAnswer":{"jobId":"ba658b68-1af4-4a01-93e4-f1625671ccee","downloadPct":100,"errorString":"Failed post download script: vhd check of /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ failed","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_","installPath":"template/tmpl//2/211//665ba4c8-2cd8-37cc-805f-492c8d81f7e7.vhd","templateSize":0,"templatePhySicalSize":0,"checkSum":"4b58c66065c6e62297fd829db537bb7d","result":false,"details":"Failed post download script: vhd check of /mnt/SecStorage/d8852827-dc7e-3121-a7ac-faa842b1bd7b/template/tmpl/2/211/dnld391686155794118139tmp_ failed","wait":0}}] } wanghaicheng2...@gmail.com