=== Guest20946 is now known as mgagne [12:43] anyone able to tell me how to activate debug logging for a specific module? [16:56] do3meli: you can't turn it on per module like that. [16:56] generally at this point DEBUG gets written to /var/log/cloud-init.log [16:57] youc an run individual modules: cloud-init single --name=apt_configure --frequency=always [16:57] thanks smoser1, i realized that and found the correct log file later on ;-) [17:00] do3meli: your mp at https://code.launchpad.net/~d-info-e/cloud-init/+git/cloud-init/+merge/340112 needs to be rebased to master [17:00] git fetch origin [17:00] (or git fetch upstream) [17:00] dependening on what is the name of the upstream one [17:00] then [17:00] git checkout master [17:00] git merge --ff-only [17:00] git checkout salt-freebsd-patch [17:00] git rebase -i master [17:02] hmm de rebase would just pick 2 commits: [17:03] pick dbc395c salt-minion module now works on FreeBSD [17:03] pick bee5b16 adjust formatting [17:03] would that be correct? [17:05] correct [17:05] those are the 2 commits that you have made [17:05] right ? [17:05] and you just want those moved on top of master [17:05] we *had* fixed the deb install issue you saw in trunk [17:05] but you are off an older version of trunk, so you dont have that fix. === smoser1 is now known as smoser [17:19] do3meli: that make sene ? [17:19] sense [17:23] hmmm...really. i am confused. because created a brand new branch from upstream/master (in my case origin. but its the upstream) [17:24] i followed the steps in HACKING.rst as you mentioned to me yesterday. [17:25] well. anyway. let me try again ;-) [18:11] powersj, rharper, blackboxsw, dpb1 . i think i had written this somewhere before. but... lost it. [18:11] https://hackmd.io/KwUwDAnAxgJgbARgLQA4DsAzCSAsBDHFVCBDJKNPAIzmDQgGY0pgg=== [18:12] that is just a copy-and-paste if a user contributes that has not signed CLA. === r-daneel_ is now known as r-daneel === r-daneel_ is now known as r-daneel [20:50] It looks like the most recent cloud-init in artful doesn't handle GCE user data any longer. [20:50] I'm filing a bug now (unless someone points me at an existing one). [20:51] ok odd_bloke, ssh handling is a bit different in gce now. certain expired keys removed etc. [20:51] please file away, will check details. 'ubuntu-bug cloud-init' [20:53] blackboxsw: https://bugs.launchpad.net/cloud-init/+bug/1752711 [20:53] Ubuntu bug 1752711 in cloud-init "cloud-init no longer processes user data on GCE in artful" [Undecided,New] [20:53] Yeah, this seems more fundamental than that. [20:54] thanks looking now [20:54] Hopefully I'm just doing something wrong. [20:54] That wasn't filed with ubuntu-bug; is there a way I can add the ubuntu-bug information after the fact? [20:56] cloud-init collect-logs [20:56] #/bin/sh [20:56] that's missing the the bang, no ? [20:57] Odd_Bloke: apport_collect [20:57] Odd_Bloke: ^ cloud-init collect-logs: that'll grab a tarfile of all data/logs to attach to bugs when filed after the fact [20:57] err... apport-collect [20:57] rharper: Ah, yeah, so it is. [20:57] rharper: We are seeing this in automated testing as well, which doesn't have that typo. [20:57] (Also, would that cause cloud-init to not even store it in /var/lib/cloud?) [20:57] huh, the % cat thingy made me thing it was a real cat [20:58] nothing in /var/lib/cloud at all ? [20:58] did cloud-init run ? cloud-init status says ? [20:58] rharper: That was a real cat from the actual file I manually ran this with. [20:59] ok, then the file is broken, it's not going to execute, right ? [20:59] I've just reproduced with the bang. [21:02] ok, did you use something else besides /tmp ? [21:02] systemd likes to clean /tmp and /var/tmp for you [21:03] touch /ubuntu-is-awesome [21:08] Trying now. [21:09] Yeah, still not working. [21:10] ok; and any way to get the logs of those and attached ? [21:12] Yeah, will do so after this meeting. [21:28] blackboxsw: http://paste.ubuntu.com/p/s7DQJrvTKn/ [21:29] smoser there's aslo a 2nd part that handled encoded user-data [21:29] its there still [21:30] ahh right you're paste manipulates that content [21:37] smoser: blackboxsw: Odd_Bloke: It looks like the recent change to GCE source dropped setting md['user-data'] since the introduction of recursive query of instance/attributes URL; [21:38] blackboxsw is confirming [21:38] Ack. [21:38] Thanks for the speedy response. :) [21:39] smoser your fix is good. [21:40] the main is useful :) [21:40] yes [21:40] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/340248 [21:40] i'll add a unit test [21:43] smoser: when's EOD for you ? I will shepherd that in once I re-test on gce with changes. Also time to expand our manual tests to include user-data on all clouds [21:43] ok. i have 20 minutes. [21:43] * blackboxsw will flag regression to stop xenial from getting an update [21:43] (given that it's blocked [21:44] good pt. will deploy and check [21:49] blackboxsw: good. thanks. [21:49] yeah bionic is good, I see things working there in bionic. [21:49] checking the changeset [21:49] why would it work in bionic? [22:03] strike that on bionic, I provided the same #cloud-config\n hostname: as when I used gcloud to create the instance. so I mistakenly thought user-data was observed. It is not: bionic fail too [22:20] Odd_Bloke: thanks for the bug, I just refiled one with the regression tags etc https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1752729 and dup'd yours [22:20] Ubuntu bug 1752711 in cloud-init (Ubuntu Artful) "duplicate for #1752729 cloud-init no longer processes user data on GCE in artful" [Critical,Confirmed] [22:21] landing the fix today. bionic should be fixed by tomorrow and we'll SRU a cherry pick to artful [22:21] landing the fix today. bionic should be fixed by tomorrow and we'll SRU a cherry pick to artful/xenial [22:22] Ack, thanks! [22:23] Odd_Bloke: do your automated tests run against bionic? [22:24] blackboxsw: They do, but we've been having problems in the pipeline before we get to GCE image publication/test. [22:24] ahh gotcha. [22:49] smoser: bionic merge is up https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/340252 [22:49] and your fix has landed in tip [23:09] xenial cherry pick https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/340256 [23:10] artful cherry pick https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/340255