You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Aslan Lin <te...@yahoo.cn> on 2013/07/04 17:34:27 UTC

回复: Can't delete template for CloudStack

But the “installing template” state has been for a few hours.


________________________________
 发件人: Sanjay Tripathi <sa...@citrix.com>
收件人: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>; Aslan Lin <te...@yahoo.cn> 
发送日期: 2013年7月4日, 星期四, 11:19 下午
主题: RE: Can't delete template for CloudStack
 

Wait till the template gets downloaded completely, once it gets done you'll get an option to delete it in the template detailView window. 

--Sanjay

> -----Original Message-----
> From: Aslan Lin [mailto:technologymessage@yahoo.cn]
> Sent: Thursday, July 04, 2013 7:08 PM
> To: cloudstackEnglish
> Subject: Can't delete template for CloudStack
> 
> Hi everyone:
>     I made a mistake when register template, I select wrong OS type for my
> template (windows xp instand of Ubuntu). Then I can't delete the template
> and the message is "Please specify a template that is not currently being
> downloaded."
>     Following with the log from the management server:
> 
> 2013-07-04 21:22:43,029 DEBUG [storage.download.DownloadListener]
> (Timer-3:null) Scheduling timeout at 30000 ms, template=Windows XP at host
> nfs://172.24.1.18/secondaryStorage
> 2013-07-04 21:22:43,392 DEBUG [agent.transport.Request] (Timer-3:null) Seq
> 4-2010846143: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1,
> Flags: 100011, [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-
> 2cb0-4fa8-96d2-
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> E","url":"http://xxx.xxx.xxx.229:443/
> mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> ae9cbb73-21a4-32ba-a9f5-
> 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}] }
> 2013-07-04 21:22:43,441 DEBUG [agent.transport.Request] (AgentManager-
> Handler-15:null) Seq 4-2010846143: Processing:  { Ans: , MgmtId:
> 159090355256435, via: 4, Ver: v1, Flags: 10,
> [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> a5ad9f55606a","downloadPct":100,"errorString":"Download success, starting
> install
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> ecStorage/6446e243-2bfa-34c0-b21d-
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> ult":false,"details":"Download success, starting install ","wait":0}}] }
> 2013-07-04 21:22:53,444 DEBUG [agent.transport.Request] (Timer-3:null) Seq
> 4-2010846144: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1,
> Flags: 100011, [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-
> 2cb0-4fa8-96d2-
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> E","url":"http://xxx.xxx.xxx.229:443/
> mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> ae9cbb73-21a4-32ba-a9f5-
> 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}] }
> 2013-07-04 21:22:53,494 DEBUG [agent.transport.Request] (AgentManager-
> Handler-8:null) Seq 4-2010846144: Processing:  { Ans: , MgmtId:
> 159090355256435, via: 4, Ver: v1, Flags: 10,
> [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> a5ad9f55606a","downloadPct":100,"errorString":"Download success, starting
> install
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> ecStorage/6446e243-2bfa-34c0-b21d-
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> ult":false,"details":"Download success, starting install ","wait":0}}] }2013-07-
> 04 21:23:03,496 DEBUG [agent.transport.Request] (Timer-3:null) Seq 4-
> 2010846145: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1, Flags:
> 100011,  [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-2cb0-
> 4fa8-96d2-
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> E","url":"http://xxx.xxx.xxx.229:443/
> mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> ae9cbb73-21a4-32ba-a9f5-
> 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}]
> }2013-07-04 21:23:03,545 DEBUG [agent.transport.Request] (AgentManager-
> Handler-1:null) Seq 4-2010846145: Processing:  { Ans: , MgmtId:
> 159090355256435, via: 4, Ver: v1, Flags: 10,
> [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> a5ad9f55606a","downloadPct":100,"errorString":"Download success, starting
> install
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> ecStorage/6446e243-2bfa-34c0-b21d-
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> ult":false,"details":"Download success, starting install ","wait":0}}] }
> 
>    I don't know how to fix it. Please help me, thank.

RE: 回复: Can't delete template for CloudStack

Posted by Sanjay Tripathi <sa...@citrix.com>.
Can you check the "Status" field in the template details, it will tell you about the downloaded percentage.

--Sanjay

> -----Original Message-----
> From: Aslan Lin [mailto:technologymessage@yahoo.cn]
> Sent: Thursday, July 04, 2013 9:04 PM
> To: users@cloudstack.apache.org
> Subject: 回复: Can't delete template for CloudStack
> 
> But the “installing template” state has been for a few hours.
> 
> 
> ________________________________
>  发件人: Sanjay Tripathi <sa...@citrix.com>
> 收件人: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>;
> Aslan Lin <te...@yahoo.cn>
> 发送日期: 2013年7月4日, 星期四, 11:19 下午
> 主题: RE: Can't delete template for CloudStack
> 
> 
> Wait till the template gets downloaded completely, once it gets done you'll
> get an option to delete it in the template detailView window.
> 
> --Sanjay
> 
> > -----Original Message-----
> > From: Aslan Lin [mailto:technologymessage@yahoo.cn]
> > Sent: Thursday, July 04, 2013 7:08 PM
> > To: cloudstackEnglish
> > Subject: Can't delete template for CloudStack
> >
> > Hi everyone:
> >     I made a mistake when register template, I select wrong OS type for my
> > template (windows xp instand of Ubuntu). Then I can't delete the template
> > and the message is "Please specify a template that is not currently being
> > downloaded."
> >     Following with the log from the management server:
> >
> > 2013-07-04 21:22:43,029 DEBUG [storage.download.DownloadListener]
> > (Timer-3:null) Scheduling timeout at 30000 ms, template=Windows XP at
> host
> > nfs://172.24.1.18/secondaryStorage
> > 2013-07-04 21:22:43,392 DEBUG [agent.transport.Request] (Timer-3:null)
> Seq
> > 4-2010846143: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1,
> > Flags: 100011,
> [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-
> > 2cb0-4fa8-96d2-
> >
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> >
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> > E","url":"http://xxx.xxx.xxx.229:443/
> > mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> > ae9cbb73-21a4-32ba-a9f5-
> > 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}] }
> > 2013-07-04 21:22:43,441 DEBUG [agent.transport.Request]
> (AgentManager-
> > Handler-15:null) Seq 4-2010846143: Processing:  { Ans: , MgmtId:
> > 159090355256435, via: 4, Ver: v1, Flags: 10,
> > [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> > a5ad9f55606a","downloadPct":100,"errorString":"Download success,
> starting
> > install
> >
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> > ecStorage/6446e243-2bfa-34c0-b21d-
> >
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> >
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> > ult":false,"details":"Download success, starting install ","wait":0}}] }
> > 2013-07-04 21:22:53,444 DEBUG [agent.transport.Request] (Timer-3:null)
> Seq
> > 4-2010846144: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1,
> > Flags: 100011,
> [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-
> > 2cb0-4fa8-96d2-
> >
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> >
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> > E","url":"http://xxx.xxx.xxx.229:443/
> > mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> > ae9cbb73-21a4-32ba-a9f5-
> > 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}] }
> > 2013-07-04 21:22:53,494 DEBUG [agent.transport.Request]
> (AgentManager-
> > Handler-8:null) Seq 4-2010846144: Processing:  { Ans: , MgmtId:
> > 159090355256435, via: 4, Ver: v1, Flags: 10,
> > [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> > a5ad9f55606a","downloadPct":100,"errorString":"Download success,
> starting
> > install
> >
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> > ecStorage/6446e243-2bfa-34c0-b21d-
> >
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> >
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> > ult":false,"details":"Download success, starting install ","wait":0}}] }2013-
> 07-
> > 04 21:23:03,496 DEBUG [agent.transport.Request] (Timer-3:null) Seq 4-
> > 2010846145: Sending  { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1,
> Flags:
> > 100011,  [{"storage.DownloadProgressCommand":{"jobId":"e67e76dd-
> 2cb0-
> > 4fa8-96d2-
> >
> a5ad9f55606a","request":"GET_STATUS","hvm":true,"description":"32bit","
> >
> maxDownloadSizeInBytes":53687091200,"id":203,"resourceType":"TEMPLAT
> > E","url":"http://xxx.xxx.xxx.229:443/
> > mytemplate.qcow2","format":"QCOW2","accountId":2,"name":"203-2-
> > ae9cbb73-21a4-32ba-a9f5-
> > 977ef4cea343","secUrl":"nfs://172.24.1.18/secondaryStorage","wait":0}}]
> > }2013-07-04 21:23:03,545 DEBUG [agent.transport.Request]
> (AgentManager-
> > Handler-1:null) Seq 4-2010846145: Processing:  { Ans: , MgmtId:
> > 159090355256435, via: 4, Ver: v1, Flags: 10,
> > [{"storage.DownloadAnswer":{"jobId":"e67e76dd-2cb0-4fa8-96d2-
> > a5ad9f55606a","downloadPct":100,"errorString":"Download success,
> starting
> > install
> >
> ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/S
> > ecStorage/6446e243-2bfa-34c0-b21d-
> >
> f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_","installP
> >
> ath":"template/tmpl//2/203","templateSize":0,"templatePhySicalSize":0,"res
> > ult":false,"details":"Download success, starting install ","wait":0}}] }
> >
> >    I don't know how to fix it. Please help me, thank.