<div dir="ltr"><div><div><div>Hi,<br><br></div>Can you provide the engine log ?<br><br></div>Thanks,<br><br></div>Freddy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 5:57 PM, Charles Tassell <span dir="ltr"><<a href="mailto:charles@islandadmin.ca" target="_blank">charles@islandadmin.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Everyone,<br>
<br>
I'm having some issues with my oVirt 4.1 (fully updated to latest release as of yesterday) cluster. When I clone a VM the disks of both the original and the clone stay in the locked state, and the only way I can resolve it is to go into the database on the engine and run "update images set imagestatus=1 where imagestatus=2;"<br>
<br>
I'm using NFS4 as a datastore and the disks seem to copy fine (file sizes match and everything), but the locking worries me. To clone the VM I just shut the source VM down and then right click on it and select "Clone"<br>
<br>
I've attached the full VDSM log from my last attempt, but here is the excerpt of the lines just referencing the two disks (d73206ed-89ba-48a9-82ff-c107c<wbr>1af60f0 is the original VMs disk and 670a7b20-fecd-45c6-af5c-3c7b98<wbr>258224 is the clone.)<br>
<br>
2017-05-10 11:36:20,120-0300 INFO (jsonrpc/2) [dispatcher] Run and protect: copyImage(sdUUID=u'20423d5e-18<wbr>8c-4e10-9893-588ceb81b354', spUUID=u'00000001-0001-0001-00<wbr>01-000000000311', vmUUID='', srcImgUUID=u'd73206ed-89ba-48a<wbr>9-82ff-c107c1af60f0', srcVolUUID=u'bba1813d-9e91-4e3<wbr>7-bed7-40beedda8051', dstImgUUID=u'670a7b20-fecd-45c<wbr>6-af5c-3c7b98258224', dstVolUUID=u'013d8855-4e49-498<wbr>4-8266-6a5e9437dff7', description=u'', dstSdUUID=u'20423d5e-188c-4e10<wbr>-9893-588ceb81b354', volType=8, volFormat=5, preallocate=2, postZero=u'false', force=u'false', discard=False) (logUtils:51)<br>
2017-05-10 11:36:20,152-0300 INFO (jsonrpc/2) [storage.Image] image d73206ed-89ba-48a9-82ff-c107c1<wbr>af60f0 in domain 20423d5e-188c-4e10-9893-588ceb<wbr>81b354 has vollist [u'bba1813d-9e91-4e37-bed7-40b<wbr>eedda8051'] (image:319)<br>
2017-05-10 11:36:20,169-0300 INFO (jsonrpc/2) [storage.Image] sdUUID=20423d5e-188c-4e10-9893<wbr>-588ceb81b354 imgUUID=d73206ed-89ba-48a9-82f<wbr>f-c107c1af60f0 chain=[<storage.fileVolume.Fil<wbr>eVolume object at 0x278e450>] (image:249)<br>
2017-05-10 11:36:20,292-0300 INFO (tasks/0) [storage.Image] sdUUID=20423d5e-188c-4e10-9893<wbr>-588ceb81b354 imgUUID=d73206ed-89ba-48a9-82f<wbr>f-c107c1af60f0 chain=[<storage.fileVolume.Fil<wbr>eVolume object at 0x302c6d0>] (image:249)<br>
2017-05-10 11:36:20,295-0300 INFO (tasks/0) [storage.Image] sdUUID=20423d5e-188c-4e10-9893<wbr>-588ceb81b354 vmUUID= srcImgUUID=d73206ed-89ba-48a9-<wbr>82ff-c107c1af60f0 srcVolUUID=bba1813d-9e91-4e37-<wbr>bed7-40beedda8051 dstImgUUID=670a7b20-fecd-45c6-<wbr>af5c-3c7b98258224 dstVolUUID=013d8855-4e49-4984-<wbr>8266-6a5e9437dff7 dstSdUUID=20423d5e-188c-4e10-9<wbr>893-588ceb81b354 volType=8 volFormat=RAW preallocate=SPARSE force=False postZero=False discard=False (image:765)<br>
2017-05-10 11:36:20,305-0300 INFO (tasks/0) [storage.Image] copy source 20423d5e-188c-4e10-9893-588ceb<wbr>81b354:d73206ed-89ba-48a9-<wbr>82ff-c107c1af60f0:bba1813d-<wbr>9e91-4e37-bed7-40beedda8051 vol size 41943040 destination 20423d5e-188c-4e10-9893-588ceb<wbr>81b354:670a7b20-fecd-45c6-<wbr>af5c-3c7b98258224:013d8855-<wbr>4e49-4984-8266-6a5e9437dff7 apparentsize 41943040 (image:815)<br>
2017-05-10 11:36:20,306-0300 INFO (tasks/0) [storage.Image] image 670a7b20-fecd-45c6-af5c-3c7b98<wbr>258224 in domain 20423d5e-188c-4e10-9893-588ceb<wbr>81b354 has vollist [] (image:319)<br>
2017-05-10 11:36:20,306-0300 INFO (tasks/0) [storage.Image] Create placeholder /rhev/data-center/00000001-000<wbr>1-0001-0001-000000000311/20423<wbr>d5e-188c-4e10-9893-588ceb81b35<wbr>4/images/670a7b20-fecd-45c6-<wbr>af5c-3c7b98258224 for image's volumes (image:149)<br>
2017-05-10 11:36:20,392-0300 INFO (tasks/0) [storage.Volume] Request to create RAW volume /rhev/data-center/00000001-000<wbr>1-0001-0001-000000000311/20423<wbr>d5e-188c-4e10-9893-588ceb81b35<wbr>4/images/670a7b20-fecd-45c6-<wbr>af5c-3c7b98258224/013d8855-<wbr>4e49-4984-8266-6a5e9437dff7 with size = 20480 sectors (fileVolume:439)<br>
2017-05-10 11:37:58,453-0300 INFO (tasks/0) [storage.VolumeManifest] sdUUID=20423d5e-188c-4e10-9893<wbr>-588ceb81b354 imgUUID=670a7b20-fecd-45c6-af5<wbr>c-3c7b98258224 volUUID = 013d8855-4e49-4984-8266-6a5e94<wbr>37dff7 legality = LEGAL (volume:393)<br>
<br>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>