[Engine-devel] the future of template cloning

Livnat Peer lpeer at redhat.com
Mon Jan 16 14:46:40 UTC 2012


On 12/01/12 22:45, Ayal Baron wrote:
> 
> 
> ----- Original Message -----
>> We are going to be able to store the disks for a template on
>> different storage domains due to the multiple storage domain
>> feature.  Cloning a template will still be possible, but will it
>> provide any value?  Thoughts?
> 
> I see no relation between the two options.
> 
> Scenario 1: I can create a VM with a single disk and create a template from it.
> I would still want to be able to clone the template in order to provision VMs from it on different domains.
> 
> Scenario 2: same thing with multiple disks on same domain.
> 
> Scenario 3: I have a template with 2 disks on 2 different domains (domain A and domain B) and I want to have another copy of the template on domain C and domain D
> 

Hi Jon,

After talking to Michael Pasternak it seems that we did not implemented
copyTemplate in the REST API, it seems to be a gap that we have.

This gap is playing in our favor, we can remove the copyTemplate verb
and introduce copyDisk verb.

The template disks can be copied to another SD.
When creating a VM from template the user can choose per disk the
destination SD (only SD with the disks are eligible candidates).

Livnat



More information about the Devel mailing list