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

Usman Aslam usman at linkshift.com
Thu Oct 3 02:29:43 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131002/50c1cae1/attachment-0001.html>


More information about the Users mailing list