
This is a multi-part message in MIME format. --------------020808050701030607050806 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Ok, I copied the templates and migration almost worked. Anyway there are some disks that fails migration, here is what I found in vdsm.log of the SPM: c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:42,063::volume::409::Storage.Volume::(create) Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/volume.py", line 399, in create File "/usr/share/vdsm/storage/volume.py", line 302, in share CannotShareVolume: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/d ata-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists' c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:42,071::image::401::Storage.Image::(_createTargetImage) Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/image.py", line 384, in _createTargetImage File "/usr/share/vdsm/storage/sd.py", line 430, in createVolume File "/usr/share/vdsm/storage/volume.py", line 412, in create VolumeCannotGetParent: Cannot get parent volume: ("Couldn't get parent c10aebff-20b3-4ccc-b166-c2be47dc5af0 for volume d694d919-a0b0-4b89-b6cd-d5c02748f9de: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b513 65d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/ 530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists'",) c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:44,174::task::866::Storage.TaskManager.Task::(_setError) Task=`c061a252-0611-4e25-b9eb-8540e01dcfec`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 873, in _run File "/usr/share/vdsm/storage/task.py", line 334, in run File "/usr/share/vdsm/storage/securable.py", line 77, in wrapper File "/usr/share/vdsm/storage/sp.py", line 1553, in moveImage File "/usr/share/vdsm/storage/image.py", line 499, in move File "/usr/share/vdsm/storage/image.py", line 384, in _createTargetImage File "/usr/share/vdsm/storage/sd.py", line 430, in createVolume File "/usr/share/vdsm/storage/volume.py", line 412, in create VolumeCannotGetParent: Cannot get parent volume: ("Couldn't get parent c10aebff-20b3-4ccc-b166-c2be47dc5af0 for volume d694d919-a0b0-4b89-b6cd-d5c02748f9de: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b513 65d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/ 530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists'",) Thank you. Regards, Dael Maselli. On 21/04/15 09:42, Aharon Canan wrote:
Hi
Did you try to copy the template to the new storage domain? Under Template tab -> Disks sub-tab -> copy
Regards, __________________________________________________ *Aharon Canan*
------------------------------------------------------------------------
*From: *"Dael Maselli" <dael.maselli@lnf.infn.it> *To: *users@ovirt.org *Sent: *Monday, April 20, 2015 5:48:03 PM *Subject: *[ovirt-users] Move/Migrate Storage Domain to new devices
Hi,
I have a data storage domain that use one FC LUN. I need to move all data to a new storage server.
I tried by move single disks to a new storage domain but some cannot be moved, I think because they are thin-cloned by template.
When I worked with LVM I use to do a simple pvmove leaving the VG intact, is there something similar (online or in maintenance) in oVirt? Can I just do a pvmove from the SPM host o it's going to destroy everything?
Thank you very much.
Regards, Dael Maselli.
-- ___________________________________________________________________
Dael Maselli --- INFN-LNF Computing Service -- +39.06.9403.2214 ___________________________________________________________________
* http://www.lnf.infn.it/~dmaselli/ * ___________________________________________________________________
Democracy is two wolves and a lamb voting on what to have for lunch ___________________________________________________________________
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- ___________________________________________________________________ Dael Maselli --- INFN-LNF Computing Service -- +39.06.9403.2214 ___________________________________________________________________ * http://www.lnf.infn.it/~dmaselli/ * ___________________________________________________________________ Democracy is two wolves and a lamb voting on what to have for lunch ___________________________________________________________________ --------------020808050701030607050806 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Ok, I copied the templates and migration almost worked. <br> <br> Anyway there are some disks that fails migration, here is what I found in vdsm.log of the SPM:<br> <br> <tt>c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:42,063::volume::409::Storage.Volume::(create) Unexpected error</tt><tt><br> </tt><tt>Traceback (most recent call last):</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/volume.py", line 399, in create</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/volume.py", line 302, in share</tt><tt><br> </tt><tt>CannotShareVolume: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/d</tt><tt><br> </tt><tt>ata-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists'</tt><tt><br> </tt><tt>c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:42,071::image::401::Storage.Image::(_createTargetImage) Unexpected error</tt><tt><br> </tt><tt>Traceback (most recent call last):</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/image.py", line 384, in _createTargetImage</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/sd.py", line 430, in createVolume</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/volume.py", line 412, in create</tt><tt><br> </tt><tt>VolumeCannotGetParent: Cannot get parent volume: ("Couldn't get parent c10aebff-20b3-4ccc-b166-c2be47dc5af0 for volume d694d919-a0b0-4b89-b6cd-d5c02748f9de: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b513</tt><tt><br> </tt><tt>65d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/</tt><tt><br> </tt><tt>530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists'",)</tt><tt><br> </tt><tt>c061a252-0611-4e25-b9eb-8540e01dcfec::ERROR::2015-04-22 09:36:44,174::task::866::Storage.TaskManager.Task::(_setError) Task=`c061a252-0611-4e25-b9eb-8540e01dcfec`::Unexpected error</tt><tt><br> </tt><tt>Traceback (most recent call last):</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/task.py", line 873, in _run</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/task.py", line 334, in run</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/securable.py", line 77, in wrapper</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/sp.py", line 1553, in moveImage</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/image.py", line 499, in move</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/image.py", line 384, in _createTargetImage</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/sd.py", line 430, in createVolume</tt><tt><br> </tt><tt> File "/usr/share/vdsm/storage/volume.py", line 412, in create</tt><tt><br> </tt><tt>VolumeCannotGetParent: Cannot get parent volume: ("Couldn't get parent c10aebff-20b3-4ccc-b166-c2be47dc5af0 for volume d694d919-a0b0-4b89-b6cd-d5c02748f9de: Cannot share volume: 'src=/rhev/data-center/134985e2-4885-4b24-85b0-3b513</tt><tt><br> </tt><tt>65d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/98cecc63-0816-4e64-8dfb-cadad6af8aae/c10aebff-20b3-4ccc-b166-c2be47dc5af0, dst=/rhev/data-center/134985e2-4885-4b24-85b0-3b51365d66c7/2f4e7ec2-2865-4956-b4ee-735a9d46eb67/images/</tt><tt><br> </tt><tt>530d6820-98b1-4e95-8470-4cefa5ab351c/c10aebff-20b3-4ccc-b166-c2be47dc5af0: [Errno 17] File exists'",)</tt><br> <br> Thank you.<br> <br> <br> Regards,<br> Dael Maselli.<br> <br> <br> <br> <div class="moz-cite-prefix">On 21/04/15 09:42, Aharon Canan wrote:<br> </div> <blockquote cite="mid:1294281318.1301110.1429602162871.JavaMail.zimbra@redhat.com" type="cite"> <div style="font-family: comic sans ms,comic sans,sans-serif; font-size: 10pt; color: #000000"> <div><br> </div> <div>Hi<br> </div> <div><br> </div> <div>Did you try to copy the template to the new storage domain?<br> </div> <div>Under Template tab -> Disks sub-tab -> copy <br> </div> <div><br> </div> <div><br> </div> <div><span name="x"></span> <div><br> </div> <div><br> </div> <div>Regards, <br> __________________________________________________<br> <strong><span data-mce-style="color: #3366ff;" style="color: rgb(51, 102, 255);">Aharon Canan</span></strong><br> <br style="color: rgb(51, 102, 255); font-size: small;" data-mce-style="color: #3366ff; font-size: small;"> </div> <span name="x"></span><br> </div> <hr id="zwchr"> <blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Dael Maselli" <a class="moz-txt-link-rfc2396E" href="mailto:dael.maselli@lnf.infn.it"><dael.maselli@lnf.infn.it></a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Monday, April 20, 2015 5:48:03 PM<br> <b>Subject: </b>[ovirt-users] Move/Migrate Storage Domain to new devices<br> <div><br> </div> Hi,<br> <div><br> </div> I have a data storage domain that use one FC LUN. I need to move all <br> data to a new storage server.<br> <div><br> </div> I tried by move single disks to a new storage domain but some cannot be <br> moved, I think because they are thin-cloned by template.<br> <div><br> </div> When I worked with LVM I use to do a simple pvmove leaving the VG <br> intact, is there something similar (online or in maintenance) in oVirt? <br> Can I just do a pvmove from the SPM host o it's going to destroy everything?<br> <div><br> </div> Thank you very much.<br> <div><br> </div> Regards,<br> Dael Maselli.<br> <div><br> </div> <br> -- <br> ___________________________________________________________________<br> <div><br> </div> Dael Maselli --- INFN-LNF Computing Service -- +39.06.9403.2214<br> ___________________________________________________________________<br> <div><br> </div> * <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/~dmaselli/">http://www.lnf.infn.it/~dmaselli/</a> *<br> ___________________________________________________________________<br> <div><br> </div> Democracy is two wolves and a lamb voting on what to have for lunch<br> ___________________________________________________________________<br> <div><br> </div> _______________________________________________<br> Users mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> </blockquote> <div><br> </div> </div> </blockquote> <br> <pre class="moz-signature" cols="72">-- ___________________________________________________________________ Dael Maselli --- INFN-LNF Computing Service -- +39.06.9403.2214 ___________________________________________________________________ * <a class="moz-txt-link-freetext" href="http://www.lnf.infn.it/~dmaselli/">http://www.lnf.infn.it/~dmaselli/</a> * ___________________________________________________________________ Democracy is two wolves and a lamb voting on what to have for lunch ___________________________________________________________________ </pre> </body> </html> --------------020808050701030607050806--