<div dir="ltr"><div>Can you please send the whole logs ? (Engine, vdsm and sanlock)<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 20, 2017 at 4:49 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br></div>I'm trying to move a disk from one storage domain A to another B in oVirt 4.1<br></div><div>The corresponding VM is powered on in the mean time<br><br></div><div>When executing the action, there was already in place a disk move from storage domain C to A (this move was for a disk of a powered off VM and then completed ok)<br></div>I got this in events of webadmin gui for the failed move A -> B:<br><br>Feb 20, 2017 2:42:00 PM Failed to complete snapshot 'Auto-generated for Live Storage Migration' creation for VM 'dbatest6'.<br>Feb 20, 2017 2:40:51 PM VDSM ovmsrv06 command HSMGetAllTasksStatusesVDS failed: Error creating a new volume<br>Feb 20, 2017 2:40:51 PM Snapshot 'Auto-generated for Live Storage Migration' creation for VM 'dbatest6' was initiated by admin@internal-authz.<br><br><br></div>And in relevant vdsm.log of referred host ovmsrv06<br><div><br>2017-02-20 14:41:44,899 ERROR (tasks/8) [storage.Volume] Unexpected error (volume:1087)<br>Traceback (most recent call last):<br> File "/usr/share/vdsm/storage/<wbr>volume.py", line 1081, in create<br> cls.newVolumeLease(metaId, sdUUID, volUUID)<br> File "/usr/share/vdsm/storage/<wbr>volume.py", line 1361, in newVolumeLease<br> return cls.manifestClass.<wbr>newVolumeLease(metaId, sdUUID, volUUID)<br> File "/usr/share/vdsm/storage/<wbr>blockVolume.py", line 310, in newVolumeLease<br> sanlock.init_resource(sdUUID, volUUID, [(leasePath, leaseOffset)])<br>SanlockException: (-202, 'Sanlock resource init failure', 'Sanlock exception')<br>2017-02-20 14:41:44,900 ERROR (tasks/8) [storage.TaskManager.Task] (Task='d694b892-b078-4d86-<wbr>a035-427ee4fb3b13') Unexpected error (task:870)<br>Traceback (most recent call last):<br> File "/usr/share/vdsm/storage/task.<wbr>py", line 877, in _run<br> return fn(*args, **kargs)<br> File "/usr/share/vdsm/storage/task.<wbr>py", line 333, in run<br> return self.cmd(*self.argslist, **self.argsdict)<br> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/storage/<wbr>securable.py", line 79, in wrapper<br> return method(self, *args, **kwargs)<br> File "/usr/share/vdsm/storage/sp.<wbr>py", line 1929, in createVolume<br> initialSize=initialSize)<br> File "/usr/share/vdsm/storage/sd.<wbr>py", line 762, in createVolume<br> initialSize=initialSize)<br> File "/usr/share/vdsm/storage/<wbr>volume.py", line 1089, in create<br> (volUUID, e))<br>VolumeCreationError: Error creating a new volume: (u"Volume creation d0d938bd-1479-49cb-93fb-<wbr>85b6a32d6cb4 failed: (-202, 'Sanlock resource init failure', 'Sanlock exception')",)<br>2017-02-20 14:41:44,941 INFO (tasks/8) [storage.Volume] Metadata rollback for sdUUID=900b1853-e192-4661-<wbr>a0f9-7c7c396f6f49 offs=8 (blockVolume:448)<br><br><br></div><div>Was the error generated due to the other migration still in progress?<br></div><div>Is there a limit of concurrent migrations from/to a particular storage domain?<br><br></div><div>Now I would like to retry, but I see that the disk is in state locked with hourglass.<br></div><div>The autogenerated snapshot of the failed action was apparently removed with success as I don't see it.<br></div><div><br></div><div>How can I proceed to move the disk?<br><br></div><div>Thanks in advance,<br></div><div>Gianluca<br></div></div>
<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>