Re: Cannot create VM from Template Error

2022-12-22 Thread Wei ZHOU
If you can find the same image somewhere, you can copy it to the primary storage with same filename -Wei On Thursday, 22 December 2022, Granwille Strauss wrote: > Hi Guys > > If you delete a backing file, how screwed are you? Is it possible to > recover the VM, because at this point the VM does

Re: Cannot create VM from Template Error

2022-12-22 Thread Nux
It's pretty bad, but there is a chance to recover data, an example of how to get uncopulated here: https://raddinox.com/restore-data-from-qcow2 HTH --- Nux www.nux.ro [11] On 2022-12-22 13:40, Granwille Strauss wrote: Hi Guys If you delete a backing file, how screwed are you? Is it poss

Re: Cannot create VM from Template Error

2022-12-22 Thread Granwille Strauss
Hi Guys If you delete a backing file, how screwed are you? Is it possible to recover the VM, because at this point the VM does not want to start. "Cannot access backing file '/mnt/3a808086-b3bd-3dda-b27d-18ab9f0059f4/d2c4feca-da5c-44b3-8ecc-40a01fd6c243' of storage file '/mnt/3a808086-b3bd-

Re: Cannot create VM from Template Error

2022-12-22 Thread Granwille Strauss
Hi Managed to solve the last issue, seems I deleted an image file that caused this behaviour. Will log ticket on GitHub on initial issue. On 12/20/22 16:13, Wei ZHOU wrote: The logs shows com.cloud.utils.exception.CloudRuntimeException: Failed to copy /mnt/14205cea-e7ab-39c7-b8d1-0cea6cf6597

Re: Cannot create VM from Template Error

2022-12-20 Thread Wei ZHOU
The logs shows com.cloud.utils.exception.CloudRuntimeException: Failed to copy /mnt/14205cea-e7ab-39c7-b8d1-0cea6cf65976/10666dea-0eae-3a43-a673-b07c587bf86b.qcow2 to fa27384f-e4c8-4c34-8243-c32c7107b739 Any error log on the host (id=36) ? -Wei On Tuesday, 20 December 2022, Granwille Strauss

Re: Cannot create VM from Template Error

2022-12-20 Thread Granwille Strauss
Hi Wei I will log on Github. In the meantime, I processed "forced" delete for template so that I can get it removed from CM. Is it safe to remove images stored in primary, which are not related to VMs, since you mentioned templates are also stored in primary? On 12/20/22 12:48, Wei ZHOU wrot

Re: Cannot create VM from Template Error

2022-12-20 Thread Wei ZHOU
This seems to be a bug. Please file a github issue. If the template is still used by active vms, you can find the template on primary storage. -Wei On Tue, 20 Dec 2022 at 07:50, Granwille Strauss wrote: > Hi > > I can confirm it is indeed deleted. So in short, the error that said > something

Re: Cannot create VM from Template Error

2022-12-20 Thread Nux
Hi, Can you open a GitHub issue for this please? Make sure to specify all the relevant technical details, versions of stuff etc. --- Nux www.nux.ro [12] On 2022-12-20 06:49, Granwille Strauss wrote: Hi I can confirm it is indeed deleted. So in short, the error that said something in th

Re: Cannot create VM from Template Error

2022-12-19 Thread Granwille Strauss
Hi I can confirm it is indeed deleted. So in short, the errorĀ  that said something in the lines of You cannot delete template because there are active VMs associated with it, means nothing. It still deleted it anyway. I believe this needs to be looked at. On 12/20/22 08:45, jordan j wrote: H

Re: Cannot create VM from Template Error

2022-12-19 Thread jordan j
Here is the issue, ACS cannot find the template volume to copy - d2c4feca-da5c-44b3-8ecc-40a01fd6c243 2022-12-20 07:59:52,453 DEBUG [c.c.a.t.Request] (Work-Job-Executor-7:ctx-5298589d job-2783/job-2784 ctx-5325e481) (logid:4c740aa8) Seq 36-1710804908447415280: Sending { Cmd , MgmtId: 669883307918

Re: Cannot create VM from Template Error

2022-12-19 Thread Granwille Strauss
Hi Jordan Please see log attached. Can you confirm what's the best way to confirm if a template exists on secondary storage? On 12/20/22 08:15, jordan j wrote: Hey Granwille Strauss, Can you upload a full log somewhere? This error usually means there is another underlying issue even though

Re: Cannot create VM from Template Error

2022-12-19 Thread jordan j
Hey Granwille Strauss, Can you upload a full log somewhere? This error usually means there is another underlying issue even though it says Network/interface scope. Deployment for VM instance {id: "100", name: "i-2-100-VM", uuid: "e0611ff1-cab5-48d0-ac4e-09fe0f034b19", type="User"}Scope=interface

Cannot create VM from Template Error

2022-12-19 Thread Granwille Strauss
Hi Guys I accidentality "deleted" a wrong template. Fortunately, the delete was not successful and gave an error stating that it cannot be deleted because there are active VMs associated with it. However, since I did this, I can now no longer deploy new VMs using said template. Creating a VM