/srv/irclogs.ubuntu.com/2017/11/22/#cloud-init.txt

=== kukacz_ is now known as kukacz
powersjsmoser: https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/33414119:13
powersjenables bionic for integration tests19:13
smoserpowersj: gracias.19:26
powersjlooking at the image modification issue you brought up now19:26
powersjWe use qemu-image create with the original qcow as a backing file19:27
powersjheh it does indeed look like we setup the image (i.e. install new deb) before creating the copy doh!19:34
smoserpowersj: so i had thought someon this.19:35
powersjall ears :)19:36
smoserwhen you create an image it should create a qcow2 backed by the /srv/ file19:36
smoserthen, the snapshot can qcow2 off of that.. the issue wth that is that ew kind of need snapshot to be persistent19:37
smoserso maybe when we snapshot it should "realize" the image.. rather than snapshost-qcow2 -> image->qcow2 -> /srv19:37
smoseras the image thing can be deleted.19:37
powersjSnapshot today calls platforms/nocloudkvm.py which creates a qcow backed by the /srv/ file and you are saying what needs to change is image, which should create a a qcow19:39
* powersj goes and gets food19:42
smoserhttps://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+ref/fix/cii-kvmimage-preserve-original19:46
powersjsmoser: looking20:12
smoserthat was what i had started a while ago20:14
smoserpowersj: rad the commit message and the 'also have to modify'...20:15
smoseri think it'd be sufficient if we just di da copy (shutil.copy)20:15
smoserthat way the snapshto woudl be backed by the imagein /srv/20:15
powersjsmoser: that looks good20:18
powersjgoing to propose it?20:19
powersjoh yeah gotta change snapshot20:20
smoserpowersj: i can see if i can do that quick20:20
smoser(this was a while ago... so my brain wsant too fresh)20:21
smoserug.20:26
smoserhtis is why i gave up. it gets ugly there.20:26
smoserpowersj: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33414721:50
smoseri'm running tox here... it did run a quick test of nocloud kvm for me.21:51
smoserbut not throughogh testing21:51
powersjsmoser: ok I'll play with it and let you know by eod21:52
powersjthanks!21:52
smoserwell, k'm about to eod.21:52
powersjreally appreciate it!21:52
smoserbut yeah, give some feedback. thanks.21:52
smoserpowersj: merged yoru cloud-init bionic so we'll hopefully get results of that tonight.22:29
smoserthanks. and with that, i do go afk22:29
powersjawesome22:29
powersjo/ cya22:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!