=== MAbeeTT_ is now known as MAbeeTT [17:10] falcojr: just approved with doc suggestion https://github.com/canonical/cloud-init/pull/917. Thanks for that take what you think makes sense from that supplement. [17:10] Pull 917 in canonical/cloud-init "Use instance-data-sensitive.json in jinja templates (SC-117)" [Open] [17:10] yay PR bot links [17:12] falcojr: thanks for the doc update. wheee I get some soft-ball reviews in today for credit https://github.com/canonical/cloud-init/pull/918 [17:12] Pull 918 in canonical/cloud-init "doc: Update NoCloud docs stating required files" [Open] [18:56] I'm trying to figure out how to kick off running of write-files module, to force it writing files manually, since it's set to per-instance [18:57] I've tried 'cloud-init single --name cc_write_files --frequency always', but I get the following error in log files: [18:58] udo cloud-init single --name cc_write_files --frequency always [18:58] oops, wrong paste [18:58] 2021-06-10 18:57:35,470 - helpers.py[DEBUG]: Running config-cc_write_files using lock () [18:58] 2021-06-10 18:57:35,470 - cc_write_files.py[DEBUG]: Skipping module named cc_write_files, no/empty 'write_files' key in configuration [18:59] the docs indicate that this should be the correct module name [19:00] ananke: `sudo cloud-init devel schema --system --annotate` beware if you have username's passwords in that userdata before pasteing [19:00] it'll print out the full userdata provided to the vm and allow us to check for syntax errors or missing keys [19:01] unrecognized argument: --system [19:01] oops too new a feature: cloud-init --version [19:02] ananke: `sudo cloud-init query userdata` does the same without error format annotations [19:02] but depends on whether your vm has new enough cloud-init too :) [19:03] ahh, you are right on the money that the syntax may be the culprit. I've removed the additional items I added to write-files, and it works [19:03] +1 yeah something is invalid YAML in that output [19:03] +1 yeah something is invalid YAML in that userdata [19:03] it's cloud-init v 20.2 [19:04] thank you, this gives me enough info to go on. the original error just threw me off track [19:06] ananke: for quick iterations on your cloud-init env w/ 20.2: sudo cloud-init query userdata > ud.yaml; cloud-init devel schema --config-file --annotate ud.yaml; [19:06] then you don't have to boot/reboot instances as you keep changing ud.yaml. [19:07] at some point it'll work :) [19:07] +1 [19:12] cheers! [19:18] falcojr: do you know if you plan to get to merging https://github.com/canonical/pycloudlib/pull/148 today. I think it might give us slight CI speed improvement on UA [19:18] Pull 148 in canonical/pycloudlib "Move SSH retry logic to boot wait method (SC-58)" [Open] [19:19] yes, sorry, I'll do that now [19:20] excellent [19:20] I realize logically doesn't make sense for me to ask/press as it took me so long to review :) [19:23] pushed my squashes, once CI finishes I'll merge it [19:43] blackboxsw: done! [19:44] Thanks falcojr