/srv/irclogs.ubuntu.com/2020/04/01/#cloud-init.txt

=== vrubiolo1 is now known as vrubiolo
Odd_BlokeGoneri: I've labelled #298 as wip, give me a shout when you want that undone.14:05
GoneriOdd_Bloke, sure, thanks :-)14:05
AnhVoMSFTGaffel which cloud provider is this? You can also deploy a new VM, attach the OS disk that you used for deploying the Centos VM as a datadisk, and get the logs that way15:07
GaffelAnhVoMSFT, libvirt15:08
AnhVoMSFTCan you attach the disk to another VM and extract the logs that way?15:09
GaffelAnhVoMSFT, I got around the problems and I'm able to get it working.15:48
Odd_Blokepowersj: So I realised that we can't exercise the new URL handling code via user-data, only via cloud.cfg{,.d/*} modification.  AFAICT (via grep), we don't have any tests that currently modify cloud.cfg.  Am I missing something that already exists?21:14
powersjOdd_Bloke, ah, you are correct we do not have tests that do that today21:15
rharperOdd_Bloke: well, you can write_files a new cfg entry; and then use runcmd to exec cloud-init with the module you want in question21:18
rharperOdd_Bloke: the alternative is changes to the image build section where we're building the snapshot image (inject deb, upgrade) and it seems like we'd want to optionally include cloud-cfg21:18
Odd_BlokeI think the latter would be the path to go; this probably _shouldn't_ be the only test we have that exercises cloud.cfg. :p21:20
rharperyeah, makes sense21:21
Odd_BlokeUpon digging a bit further, I think we snapshot the image once for an entire test run, so I don't think we can do this per-test by changing the snapshot phase.21:51
Odd_BlokeI've captured what I've found in the card and will leave it at that for now.21:55
=== mruffell_ is now known as mruffell
blackboxswrharper: has all of Odd_Bloke's invalid URL handling landed as of https://github.com/canonical/cloud-init/commit/1bbc4908ff7a2be19483811b3b6fee6ebc916235 ?22:33
powersjthat's what it sounded like in standup22:37
powersj291 and 296 I think were the #s22:38

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