[ovirt-users] Move/Migrate Storage Domain to new devices

Dael Maselli dael.maselli at lnf.infn.it
Wed Apr 22 09:59:09 UTC 2015


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 at lnf.infn.it>
>     *To: *users at 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 at 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
___________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150422/63a7dea7/attachment-0001.html>


More information about the Users mailing list