Re: few templates lost, cause cannot download and launch vm from that

2015-02-26 Thread Wei ZHOU
If you remove the base image of template from primary storage manually, you should update template_spool_ref table in database. 2015-02-26 14:00 GMT+01:00 raja sekhar : > Hi somesh, > > I am able to deploy vm's when the template is in primary storage.i have > manually removed the template from xe

Re: few templates lost, cause cannot download and launch vm from that

2015-02-26 Thread Andrija Panic
I guess, you could dig into database, find some volume of the VM that is already running, use qemu-img info or similar (not sure what, since you are on Xen) to inspect that Volume, to find what is the "BASE" disk, and try to manually recreate that BASE disk from the Template from the Secondary stor

Re: few templates lost, cause cannot download and launch vm from that

2015-02-26 Thread Andrija Panic
Didnt folow the thread previously, so sorry if suggestion is useless... On 26 February 2015 at 15:00, Andrija Panic wrote: > I guess, you could dig into database, find some volume of the VM that is > already running, use qemu-img info or similar (not sure what, since you are > on Xen) to inspect

Re: few templates lost, cause cannot download and launch vm from that

2015-02-26 Thread raja sekhar
Hi somesh, I am able to deploy vm's when the template is in primary storage.i have manually removed the template from xencenter primary storage, vm 's are not creating at that moment.but the template is still in secondary storage. how to create vm's when the template is removed from primary storag

RE: few templates lost, cause cannot download and launch vm from that

2015-02-25 Thread Somesh Naidu
Raja, I am not sure if your understanding on how templates work is correct. You do not need to download a template to the primary storage. CS will do that as required. Also, CS will clean-up templates from primary if no associated VMs are running. This is expected behavior. The state of the tem