cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <>
Subject RE: Can't create template from snapshot
Date Thu, 23 Aug 2012 16:00:57 GMT
Nik - Can you please log in to the hypervisor and see in the logs under /var/log/SMlog if there
is any failure logged there for this operation ? Search for create_privatetemplate_from_snapshot

34a0115b-466a-492a-b4f4-d4a0db5dc55b which you are wondering about is nothing but a random
UUID for mounting the snapshots directory from sec. storage (on which this snapshot is physically
present). This UUID directory gets deleted as part of the cleanup once the operations is done
and the snapshot directory is unmounted.
What you need to verify is whether the snapshot is present on sec. storage under the directory
snaphots/account_id/volume_id_of_snapshot/  on sec. storage or if you can find any evidence
of snapshot deleting in the MS logs bcz that seems to be the issue here.


-----Original Message-----
From: Nik Martin [] 
Sent: Thursday, August 23, 2012 9:05 PM
Subject: Can't create template from snapshot

I recently added a new zone to my CS Acton cloud, using Xenserver 6.02 HVs. My secondary storage
is NFS on Centos 6.  I can upload ISOs, CS downloaed the system template fine, and I can create
VMs, and make snapshots from Volumes.  When I pick a snapshit and try to create a template,
I get:

2012-08-23 10:09:39,992 WARN  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-29:job-44) Cleanup failed due to Creating template from snapshot 6ec231ac-9468-454c-ab60-5c46c4463799
failed due to 
create_privatetemplate_from_snapshot failed due to failed to query /var/run/cloud_mount/34a0115b-466a-492a-b4f4-d4a0db5dc55b/6ec231ac-9468-454c-ab60-5c46c4463799.vhd

If I log into the HV the VM is running on, and look at /var/run/cloud_mount/, there are hundreds
of directories, but 34a0115b-466a-492a-b4f4-d4a0db5dc55b is not one of them. Is someting out
of sync?



View raw message