Feature #2417

Move images between datastores

Added by Daniel Dehennin over 7 years ago. Updated over 5 years ago.

Status:ClosedStart date:10/30/2013
Priority:HighDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:-
Resolution: Pull request:

Description

This issue is to move disk images across system datastores, for VM's in power off state. Initially the issue will require TM's of source and destination be the same.

To implement the original request a manual conversion step will be required and may not work because the VM Template will use specific drivers to access the disks (i.e. raw).

Also once this is ready onedatastore flush will be implemented to move all VMs in a given DS to enter maintenance.

Original description for this issue:

Hello,

I would like to move images between different datastores.

I have a *@default@* datastore with *@TM_MAD=shared@* and I would like to switch it to *@TM_MAD=qcow2@*.

My problem is that *@raw@* images do not work with *@TM_MAD=qcow2@*.

I need to create a new datastore for *@raw@* images and move them in it without changing images IDs.

Regards.


Related issues

Related to Feature #1696: Add the ability to select datastore for Clone operation. Closed 12/17/2012

History

#1 Updated by Ruben S. Montero over 7 years ago

  • Related to Feature #1696: Add the ability to select datastore for Clone operation. added

#2 Updated by Ruben S. Montero over 7 years ago

  • Tracker changed from Request to Backlog
  • Category changed from Drivers - Storage to Core & System
  • Priority changed from Normal to High

#3 Updated by Ruben S. Montero about 7 years ago

This also refers to the ability to move the images of a VM (poweroff) from a system DS to another one.

#4 Updated by Jan Horacek almost 7 years ago

looks like interesting feature to migrate vms betwen different storages/datastores and to allow single gold os image to have for vms with different datastores.

it comes to my mind like, there could be some special drivers for every datastore - pipein pipeout .... where you could connect the two drivers of different datastores together. (does it sounds realistic?)

#5 Updated by Ruben S. Montero almost 7 years ago

Jan Horacek wrote:

looks like interesting feature to migrate vms betwen different storages/datastores and to allow single gold os image to have for vms with different datastores.

it comes to my mind like, there could be some special drivers for every datastore - pipein pipeout .... where you could connect the two drivers of different datastores together. (does it sounds realistic?)

This is in fact very interesting, not sure if as part of this feature, but we are considering a kind of remote datastore, so you can actually transfer images between opennebula zones, or from a marketplace... This is very similar to the pipe's idea you propose.

#6 Updated by Pedro Lopes over 6 years ago

Ruben S. Montero wrote:

Jan Horacek wrote:

looks like interesting feature to migrate vms betwen different storages/datastores and to allow single gold os image to have for vms with different datastores.

it comes to my mind like, there could be some special drivers for every datastore - pipein pipeout .... where you could connect the two drivers of different datastores together. (does it sounds realistic?)

This is in fact very interesting, not sure if as part of this feature, but we are considering a kind of remote datastore, so you can actually transfer images between opennebula zones, or from a marketplace... This is very similar to the pipe's idea you propose.

hello Ruben
I have a federation with three zones. how can i move images between zones?

#7 Updated by Ruben S. Montero over 6 years ago

Pedro Lopes wrote:

Ruben S. Montero wrote:

Jan Horacek wrote:

looks like interesting feature to migrate vms betwen different storages/datastores and to allow single gold os image to have for vms with different datastores.

it comes to my mind like, there could be some special drivers for every datastore - pipein pipeout .... where you could connect the two drivers of different datastores together. (does it sounds realistic?)

This is in fact very interesting, not sure if as part of this feature, but we are considering a kind of remote datastore, so you can actually transfer images between opennebula zones, or from a marketplace... This is very similar to the pipe's idea you propose.

hello Ruben
I have a federation with three zones. how can i move images between zones?

Unfortunately there is not direct way to do this. Datastores are local to each zone, so you need to export/import the images.

#8 Updated by Ruben S. Montero over 6 years ago

  • Description updated (diff)

#9 Updated by Ruben S. Montero over 6 years ago

  • Target version set to Release 4.14

#10 Updated by Ruben S. Montero over 6 years ago

  • Tracker changed from Backlog to Feature

#11 Updated by Ruben S. Montero over 6 years ago

  • Status changed from Pending to New

#12 Updated by Ruben S. Montero over 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Ruben S. Montero

#13 Updated by Ruben S. Montero about 6 years ago

  • Tracker changed from Feature to Backlog
  • Target version deleted (Release 4.14)

#14 Updated by Ruben S. Montero over 5 years ago

  • Tracker changed from Backlog to Feature
  • Status changed from Assigned to Closed

This feature has been already implemented

Also available in: Atom PDF