[ovirt-users] Cloning VM on NFS Leads to Locked Disks

Fred Rolland frolland at redhat.com
Thu May 11 07:30:05 UTC 2017


Hi,

Can you provide the engine log ?

Thanks,

Freddy

On Wed, May 10, 2017 at 5:57 PM, Charles Tassell <charles at islandadmin.ca>
wrote:

> Hi Everyone,
>
>   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;"
>
>   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"
>
>   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-c107c1af60f0 is the original VMs disk and
> 670a7b20-fecd-45c6-af5c-3c7b98258224 is the clone.)
>
> 2017-05-10 11:36:20,120-0300 INFO  (jsonrpc/2) [dispatcher] Run and
> protect: copyImage(sdUUID=u'20423d5e-188c-4e10-9893-588ceb81b354',
> spUUID=u'00000001-0001-0001-0001-000000000311', vmUUID='',
> srcImgUUID=u'd73206ed-89ba-48a9-82ff-c107c1af60f0',
> srcVolUUID=u'bba1813d-9e91-4e37-bed7-40beedda8051',
> dstImgUUID=u'670a7b20-fecd-45c6-af5c-3c7b98258224',
> dstVolUUID=u'013d8855-4e49-4984-8266-6a5e9437dff7', description=u'',
> dstSdUUID=u'20423d5e-188c-4e10-9893-588ceb81b354', volType=8,
> volFormat=5, preallocate=2, postZero=u'false', force=u'false',
> discard=False) (logUtils:51)
> 2017-05-10 11:36:20,152-0300 INFO  (jsonrpc/2) [storage.Image] image
> d73206ed-89ba-48a9-82ff-c107c1af60f0 in domain
> 20423d5e-188c-4e10-9893-588ceb81b354 has vollist
> [u'bba1813d-9e91-4e37-bed7-40beedda8051'] (image:319)
> 2017-05-10 11:36:20,169-0300 INFO  (jsonrpc/2) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 imgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> chain=[<storage.fileVolume.FileVolume object at 0x278e450>] (image:249)
> 2017-05-10 11:36:20,292-0300 INFO  (tasks/0) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 imgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> chain=[<storage.fileVolume.FileVolume object at 0x302c6d0>] (image:249)
> 2017-05-10 11:36:20,295-0300 INFO  (tasks/0) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 vmUUID=
> srcImgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> srcVolUUID=bba1813d-9e91-4e37-bed7-40beedda8051
> dstImgUUID=670a7b20-fecd-45c6-af5c-3c7b98258224
> dstVolUUID=013d8855-4e49-4984-8266-6a5e9437dff7
> dstSdUUID=20423d5e-188c-4e10-9893-588ceb81b354 volType=8 volFormat=RAW
> preallocate=SPARSE force=False postZero=False discard=False (image:765)
> 2017-05-10 11:36:20,305-0300 INFO  (tasks/0) [storage.Image] copy source
> 20423d5e-188c-4e10-9893-588ceb81b354:d73206ed-89ba-48a9-
> 82ff-c107c1af60f0:bba1813d-9e91-4e37-bed7-40beedda8051 vol size 41943040
> destination 20423d5e-188c-4e10-9893-588ceb81b354:670a7b20-fecd-45c6-
> af5c-3c7b98258224:013d8855-4e49-4984-8266-6a5e9437dff7 apparentsize
> 41943040 (image:815)
> 2017-05-10 11:36:20,306-0300 INFO  (tasks/0) [storage.Image] image
> 670a7b20-fecd-45c6-af5c-3c7b98258224 in domain
> 20423d5e-188c-4e10-9893-588ceb81b354 has vollist [] (image:319)
> 2017-05-10 11:36:20,306-0300 INFO  (tasks/0) [storage.Image] Create
> placeholder /rhev/data-center/00000001-0001-0001-0001-000000000311/20423
> d5e-188c-4e10-9893-588ceb81b354/images/670a7b20-fecd-45c6-af5c-3c7b98258224
> for image's volumes (image:149)
> 2017-05-10 11:36:20,392-0300 INFO  (tasks/0) [storage.Volume] Request to
> create RAW volume /rhev/data-center/00000001-000
> 1-0001-0001-000000000311/20423d5e-188c-4e10-9893-588ceb81b35
> 4/images/670a7b20-fecd-45c6-af5c-3c7b98258224/013d8855-4e49-4984-8266-6a5e9437dff7
> with size = 20480 sectors (fileVolume:439)
> 2017-05-10 11:37:58,453-0300 INFO  (tasks/0) [storage.VolumeManifest]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 imgUUID=670a7b20-fecd-45c6-af5c-3c7b98258224
> volUUID = 013d8855-4e49-4984-8266-6a5e9437dff7 legality = LEGAL
> (volume:393)
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170511/9f00b5a1/attachment.html>


More information about the Users mailing list