RE: Downloading templates loop

2013-10-23 Thread David Comerford
> restart ? > > Thanks, > -Nitin > > From: David Comerford [davest...@gmail.com] > Sent: Wednesday, October 23, 2013 10:02 PM > To: users@cloudstack.apache.org > Subject: Re: Downloading templates loop > > I tried it on one row

RE: Downloading templates loop

2013-10-23 Thread Nitin Mehta
Great that it worked. You mean restart of the cloud agent on ssvm or MS restart ? Thanks, -Nitin From: David Comerford [davest...@gmail.com] Sent: Wednesday, October 23, 2013 10:02 PM To: users@cloudstack.apache.org Subject: Re: Downloading templates loop

Re: Downloading templates loop

2013-10-23 Thread David Comerford
I tried it on one row and CS stopped trying to download but it did require a restart of the service. Didn't need to restart SSVM. Thanks for your help :) Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http://g

Re: Downloading templates loop

2013-10-23 Thread Nitin Mehta
Yes - it should be fine. That said, I would first try and do it only for one entry (also keeping a backup) and see what happens. You might also need to stop/start ssvm to cancel the job (do it only if its not cancelled) On 23/10/13 5:08 AM, "David Comerford" wrote: >Or a more exciting way of phr

Re: Downloading templates loop

2013-10-23 Thread David Comerford
Or a more exciting way of phrasing that last question, is the safe to delete all entries from template_host_ref where download_state is NOT_DOWNLOADED? DELETE FROM template_host_ref WHERE download_state='NOT_DOWNLOADED'; Best regards, David Comerford Tel: +353 87 1238295

Re: Downloading templates loop

2013-10-23 Thread David Comerford
Right sounds good. In some cases I have a working template that has multiple entries in template_host_ref. Usually there's a few failed download entries and the one that succeded. Am I safe to just delete the rows that have the failures from this table? Best regards, David Comerford ---

Re: Downloading templates loop

2013-10-22 Thread Nitin Mehta
David - I donĀ¹t think it should be a problem. The reference is the other way around. Also mark the vm_template table entry as removed. Try this for one of them and see. On 22/10/13 1:22 PM, "David Comerford" wrote: >They aren't present in the UI. >Would deleting them from template_store_ref not

Re: Downloading templates loop

2013-10-22 Thread David Comerford
They aren't present in the UI. Would deleting them from template_store_ref not cause a problem as they are referenced by template_host_ref and vm_template? Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http:/

Re: Downloading templates loop

2013-10-22 Thread Nitin Mehta
If there is an option available in the UI to delete them then do that. Else you can remove the entry from template_store_ref, I think that should do On 22/10/13 8:20 AM, "David Comerford" wrote: >Hi, > >I've noticed my logs are filled with what looks like attempts to >re-download old failed temp

Downloading templates loop

2013-10-22 Thread David Comerford
Hi, I've noticed my logs are filled with what looks like attempts to re-download old failed template downloads. The jobID's from the logs can be seen in the template_host_ref table. I'm wondering why the jobs haven't timed out or otherwise given up. And If they are going on go on forever then how