← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~smoser/cloud-init:fix/cii-kvmimage-preserve-original into cloud-init:master

 

An image is a mutable thing.
General flow of tests is:
 - get an image
 - update the image (install a new deb)
 - create a snapshot
 - launch a snapshot multiple times

After creating a snapshot of the image the image can reasonably be destroyed.
Just like in a "real cloud".
 - get an image (download a cloud image or boot an instance we can update/modify)
 - update the image
 - create a snapshot (publish to a new ami id)

At the point where we've created a new snapshot we no longer need the image.

As it was previously, if we deleted the Image that the snapshot was created from, then the snapshot (a qcow image) was broken.



-- 
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/334147
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:fix/cii-kvmimage-preserve-original into cloud-init:master.


Follow ups

References