/srv/irclogs.ubuntu.com/2016/11/10/#cloud-init.txt

Odd_Blokerharper: http://paste.ubuntu.com/23456363/ is the modifications I've just made locally to cloudinit-analyze to get it to run over `journalctl -o short-precise -u "cloud-*"` output.14:17
Odd_BlokeBasically the line format is different (because it has the process name/PID in there), and it's a syslog-style timestamp but with microseconds.14:19
Odd_BlokeAnd also I was getting a repeated "finish" event, which the second hunk ignores.14:19
Odd_BlokeBut that was just a hack, I didn't actually think about it.14:19
rharperOdd_Bloke: I have short-precise working14:29
Odd_Blokerharper: Nice!  Can you point me at the code?14:30
rharperyes, lemme get it pushed into the repo14:30
rharperOdd_Bloke: ok, pushed to cloudinit_analyze trunk14:42
rharperand I think I already sent you the bits about extracting the systemd journal directory ?14:43
rharperif we have that as an artifact, then we can reconstruct the data via -o short-precise offline14:43
Odd_BlokeYou did, but I didn't actually finish doing it.14:44
Odd_BlokeLet me add a work item for that.14:44
rharperok14:46
rharpersmoser: re: systemd unit files, the following changes would address slangasek and pitti's request to use sysinit.target;  I've tested in Xenial and Yakkety Openstack instances, in Yakkety, tested both ifupdown and netplan versions, and it's all working fine.  I still need to test those changes in UC16 images and ideally in an Azure instance with the early disk mount (but I don't have access to an instance)14:59
rharperhttp://paste.ubuntu.com/23456512/14:59
smoserrharper, there are some others too though, local-filesystems isnt right.15:07
Odd_Blokerharper: Can I launch an instance for you?  Or do you have some specific requirements?15:07
rharpersmoser: I only took the suggestion of replacing Before=basic.target dbus.sock, to Before=sysinit.target; and then the networking changes to support both networking and networkd15:10
rharperOdd_Bloke: that'd be perfect; I just install the latest cloud-init. modify the services files reboot (and hope for the best)15:10
rharpersmoser: this is what it looks like after the change: http://paste.ubuntu.com/23456557/15:11
smoserrharper, ok. reading... i was responding to pitti and updating https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/31038615:17
smosernow i'll read back15:17
smoserOdd_Bloke, thats nice (the journalctl stuff)15:18
rharpersmoser: yeah, pitti showed me the -o short-precise15:23
rharperand I realized that I won't need changes to the logging conf file15:23
rharperwhich makes merging cloudinit-analyze less bothersome15:23
rharperOdd_Bloke: I'm going pull in that last bit to help drop that extra finish event that showed up (looks cleaner than what I recall I did)15:25
Odd_Blokerharper: What's your LP ID?15:25
smoserraharper15:26
smoserrharper is is long-lost account that he does not have creds to15:26
smoser:)15:26
Odd_Blokerharper: ubuntu@yakkety-161110-1518.cloudapp.net15:26
Odd_Blokesmoser: Thanks. :)15:26
Odd_Blokerharper: (Love your hostname on that key.)15:26
rharperheh15:30
Odd_Blokerharper: And ubuntu@xenial-161110-1527.cloudapp.net15:31
smoserrharper, going to ask pitti some in -devel15:34
rharperok15:36
Odd_Blokerharper: Well, except now I'm thinking about beer.15:37
rharper=)15:40
Odd_Bloke(Specifically https://untappd.com/b/cloudwater-brew-co-cosweisse/1757056)15:41
rharperdid you see the upcoming Jester King Collab with cloudwater ?15:42
rharperhttp://jesterkingbrewery.com/cloudwater-brew-co-collaboration15:42
* rharper likes how #cloud-init is now #cloud-init-beer 15:42
rharperOdd_Bloke: wow, that one sounds amazing15:43
rharperBrettier than a bretty thing on St. Brett's Day.15:43
rharperlol15:43
rharperOdd_Bloke: smoser: on the changes to cloud-init service;  the After=systemd-networkd-wait-online.service is *dependent* on systemd-networkd.service dropping dbus.service from it's After= value;  This only affects instances that do networkd *and* need early mount (so netplan image in Azure, for example)15:56
smoserrharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/31054715:56
rharperOdd_Bloke: the changes I proposed work fine in azure yakkety; testing xenial now15:56
rharpersmoser: cool15:57
smoserrharper, so confused by the above.15:58
smoseryou're saying systemd-networkd.service has to change to have these work, right ?15:58
rharperto support all scenarios, yes15:59
rharperbut pitti knows this15:59
rharperit's mentioned in the one bug15:59
rharperI've commented it15:59
rharperand it only affects the "mount stuff early"; so networkd/netplan enabled instances in Azure (which needs the early mount)15:59
rharperso UC16 is affected16:00
smoserwhy does azure need the early mount ?16:00
rharperI think it was just the place where early mount/reformat of disk occurred16:00
rharperother clouds could also want to do that; but none do by default?16:01
rharperIIRC< the bug was that fstab was updated before cloud-init reformatted the drive ?16:01
rharperdue to not running cloud-init early enough ?16:01
rharpersomething to that effect16:01
rharperthat was why we had Before=basic.target16:01
smosersmartos does it, rharper16:14
smoserbut user-data can affect it too16:14
rharperah16:21
rharperOdd_Bloke: where do we file bugs against waagent ?16:27
Odd_Blokerharper: In the Ubuntu package?16:28
rharperin the code that runs in the instance16:29
rharperpython stacktrace16:29
rharperjust wanted to pass it along16:29
Odd_Blokerharper: Sorry, I meant: in the Ubuntu package (unless that doesn't make sense).16:29
rharperah, sure16:29
Odd_BlokeThat question mark was doing a lot of work. ;)16:29
rharperhehe16:29
rharperOdd_Bloke: smoser: thanks for the azure instances;  the changes in smosers branch appear to work fine for xenial and yakkety;  I'm going to test out UC16 on openstack next17:39
rharperOdd_Bloke: I'm done with those, if you want to kill em off17:39
smoserrharper, did you reboot ?17:40
rharperyeah17:40
smoserafter having that entry in /etc/fstab17:40
smoserok. yeah17:41
smoserrharper, just pushed to trunk the merge for Martin,22:10
smoserto be clear, I can't commit this (and upload to Ubuntu) until bug 163692 is fixed in the the given release. Thats what you're saying, right?22:10
smoserbah22:10
smoserthe fix for https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/31054722:10
rharpersmoser: it only affects UC1622:11
rharperbut in general, yes that's right22:11
rharperwe should wait22:11
smoserwell, we can definitely go to zesty22:12
smoserand i feel safe saying it can go to azure also22:12
smoserer... to xenial22:12
smoseras we dont really support networkd in xenial outside of core.22:12
smoserand that fix is comming.22:12
smoserrharper, the docs are up at http://cloudinit.readthedocs.io/en/latest/22:13
smosernow also22:13
smoser http://cloudinit.readthedocs.io/en/latest/topics/boot.html22:13
rharpersmoser: yeah22:13
smoserand separated out the datasource to their own files so we can document each of the search criteria in them.22:13
smoserand i got to go.22:14
smoserlater22:14

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