/srv/irclogs.ubuntu.com/2015/05/06/#cloud-init.txt

=== rangerpb is now known as rangerpbzzzz
=== natorious is now known as zz_natorious
=== shardy_z is now known as shardy
Odd_Blokesmoser: I can't remember where we said it would make sense to put the certificates that WALinuxAgentShim spits out on disk.  Can you remind me?09:10
=== rangerpbzzzz is now known as rangerpb
smoserhtey're per-instance, right 12:51
smoseri think we just leave them where they were right now (/var/lib/walinux/ or whatever)12:52
smoserbut i guess makes as much sense to move them to /var/lib/cloud/instance/data or something. 12:52
Odd_Blokesmoser: Yeah, I'd prefer not to write them out to the walinuxagent path because we aren't holding ourselves to the same disk format (e.g. we aren't writing out some files that walinuxagent does, because we're just using them in-memory).12:56
Odd_BlokeAnd not using a temporary directory makes life much easier, because then I don't have to care about clean-up.12:56
Odd_Bloke(Or carrying the location of the temporary directory around)12:56
Odd_Blokesmoser: Having said that, though, some of this happens before we have an instance-id; will /var/lib/cloud/instance even be in place during the data source run?12:56
smoseryou're right. it wouldnt be ther.e12:57
smoserso what are you writing out ? i'm confused.12:57
Odd_Blokesmoser: All of the certificate stuff is too involved to do in-memory, so we shell out to openssl; at the moment we store the files it operates on and produces in a temporary directory.12:58
Odd_BlokeBut it would be good to have them somewhere more permanent for (a) debugging/analysis, and (b) avoiding temporary file handling/cleanup in the code.12:59
Odd_BlokeIf there isn't a good place to put them, I can stick with the tmpdir approach.13:00
smoserwell, i htink that since you dont have a instance-dir yet, you dont have a good place for per-instance stuff. i tihnk tempdir seems the best path. 13:03
Odd_BlokeCool.13:03
Odd_Blokesmoser: Can you remind me what the DHCP bounce in Azure is intended to achieve?  Is it to get the fabric to recognise the host?13:41
Odd_Blokesmoser: (I'm trying to work out if I've replaced what it does with the WALinuxAgentShim work)13:41
=== zz_natorious is now known as natorious
smoserOdd_Bloke, i think its to "publish" the hostname.13:43
=== natorious is now known as zz_natorious
smoserharlowja, https://etherpad.mozilla.org/cloud-init-roadmap15:21
smoserthat was claudiopoppa and my work last week to try to get something down as targets15:22
=== zz_natorious is now known as natorious
=== zz_natorious is now known as natorious
=== alexpilotti_ is now known as alexpilotti
tmclaugh[work]Hi, is bootcmd run before networking is fully setup?17:57
tmclaugh[work]Trying to ping a host in out environment before talking to Puppet17:57
smosertmclaugh[work], not guaranteed to have network up18:10
smoserif you're using a local datasource18:10
smoserif you have a network datasource you will have network18:10
smoser(because thats how you found the datasource)18:11
harlowjasmoser cool18:14
harlowjasmoser i start to wonder how much of systemd is doing all this same stuff (configuring networks...)18:14
* harlowja doesn't really know, i just thought it started to have similar stuff18:14
harlowjamaybe we should rename this to cloud-init-systemF (F is after d)18:14
harlowjait freakin has a 'systemd-timesyncd' woah, lol18:15
harlowjahttps://wiki.archlinux.org/index.php/Systemd-networkd ( smoser ) ?18:15
harlowjaso i am starting to wonder if cloudinitd just tells systemd to do things... ?18:15
smoserharlowja, that is 'networkd' which is part of systemd18:17
smosercloud-init will just kick networkd into submission18:17
smoserharlowja, we're moving to networkd for ubuntu server in 15.1018:21
harlowjasmoser cool beans18:30
harlowjaya, i guess everyone will be eventually18:30
harlowja*all linux variants18:30
harlowjaalthough who knows maybe windows doing all that open source stuff it will also adopt systemd, lol18:30
harlowja*microsoft doing all that open source stuff (not windows)18:30
smoser:)18:30
smoserits gonna be great.18:30
smoserunicorns and rainbows everwhere.18:30
tmclaugh[work]smoser: sorry, was in a meeting.18:39
tmclaugh[work]This is an AWS host with te data attached to the magic URL18:39
smoseryeah. then network should be up at that point18:42
smoserall network interfaces desscribed as 'auto' in /etc/network/interfaces should be up18:42
harlowjasmoser unicorns, woot!18:48
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
=== rangerpb is now known as rangerpbzzzz
=== natorious is now known as zz_natorious

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