[Users] VM wont restart after some NFS snapshot restore.

Federico Simoncelli fsimonce at redhat.com
Fri Oct 4 13:50:01 UTC 2013


Hi Usman,
 can you paste somewhere the content of the meta files?

 $ cat 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145.meta

could you also provide the absolute path to those files? (in the vdsm host)

Thanks,
-- 
Federico

----- Original Message -----
> From: "Usman Aslam" <usman at linkshift.com>
> To: users at ovirt.org
> Sent: Thursday, October 3, 2013 4:29:43 AM
> Subject: [Users] VM wont restart after some NFS snapshot restore.
> 
> I have some VM's that live on NFS share. Basically, I had to revert the VM
> disk to a backup from a few days ago. So I powered the VM down, copied over
> the following files
> 
> 039a8482-c267-4051-b1e6-1c1dee49b3d7
> 039a8482-c267-4051-b1e6-1c1dee49b3d7.lease
> 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta
> 8d48505d-846d-49a7-8b50-d972ee051145
> 8d48505d-846d-49a7-8b50-d972ee051145.lease
> 8d48505d-846d-49a7-8b50-d972ee051145.meta
> 
> and now when I try to power the VM, it complains
> 
> 2013-Oct-02, 22:02:38
> Failed to run VM zabbix-prod-01 (User: admin at internal).
> 2013-Oct-02, 22:02:38
> Failed to run VM zabbix-prod-01 on Host
> tss-tusk-ovirt-01-ovirtmgmt.tusk.tufts.edu .
> 2013-Oct-02, 22:02:38
> VM zabbix-prod-01 is down. Exit message: 'truesize'.
> 
> Any ideas on how I could resolve this? Perhaps a better way of approaching
> the restore on a filesystem level?
> 
> I see the following the vsdm.log
> 
> Thread-7843::ERROR::2013-10-02
> 22:02:37,548::vm::716::vm.Vm::(_startUnderlyingVm)
> vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::The vm start process failed
> Traceback (most recent call last):
> File "/usr/share/vdsm/vm.py", line 678, in _startUnderlyingVm
> self._run()
> File "/usr/share/vdsm/libvirtvm.py", line 1467, in _run
> devices = self.buildConfDevices()
> File "/usr/share/vdsm/vm.py", line 515, in buildConfDevices
> self._normalizeVdsmImg(drv)
> File "/usr/share/vdsm/vm.py", line 408, in _normalizeVdsmImg
> drv['truesize'] = res['truesize']
> KeyError: 'truesize'
> Thread-7843::DEBUG::2013-10-02 22:02:37,553::vm::1065::vm.Vm::(setDownStatus)
> vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::Changed state to Down:
> 'truesize'
> 
> 
> Any help would be really nice, thanks!
> --
> Usman
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list