=== harlowja is now known as harlowja_away [13:12] harlowja_away, yeah. a lot of it amounts to "i'll just build everything on my own, and then it will be done right." which is perfectly fine with me, if you want to do that. it turns out, though, its kind of expensive in the long run. [16:22] hi. I'm getting this on one of my aws instances, and I'm not sure where to begin to debug it. Any ideas anyone? https://gist.github.com/anonymous/eb9fd02646e6a760ed34 [16:23] For some reason, the url_helper.py cannot find '169.254.169.254' for metadata. [16:49] hello everyone ! I'm using the chef module to install ... chef. I would like to use omnibus packages and specify the versions I want to install but can't find a way to do it. Any idea ? === harlowja_away is now known as harlowja [17:05] smoser agreed [19:16] when using an #include url, are there any variables available that can be used to identify the host that's phoning home? [19:16] (hi harlowja) [19:16] kwaping i assume u are oliver :-P [19:16] or something else, ha [19:16] not alien? [19:16] oh, duh, yes [19:16] hi oliver! [19:16] i see u [19:16] lol [19:17] sorry, this is my obscure public name, long story [19:17] smoser just want to introduce u to another y! (oliver aka kwaping ) he's been doing some stuff with cloud-init on baremetal (simialr to maas i guess) annnnnd will be helping out :) [19:17] sooo hiiii kwaping [19:17] :-P [19:17] kwaping loves the baremetal [19:17] lol [19:18] I work with harlowja, don't hold that against me :P [19:18] lol [19:19] anyway, my ideal end goal is to include cloud-init in a ramdisk used for installing the final OS, and I want that ramdisk version to phone home and grab a dynamic config for disk setup (especially hardware RAID config), based on the individual host that's making the request [19:22] smoser that sounds similar to maas and maybe other stuff i think right :-P [19:23] i guess the smartos folks are doing similar things, idk [19:24] sooo kwaping http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/user_data.py#L204 is the code that does all the include stuffs [19:24] i didn't think the url has any params that get filed in [19:24] at least it doesn't right now [19:24] ok thanks, checking [19:24] basically the userdata gets read, and then out put as X mime segements [19:25] these mime (mail) segements are then later analyzed to do things [19:25] http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/user_data.py#L89 is where the fun begins [19:25] blob there being the starting 'user data blob' [19:26] fascinating that #include-once really means "fetch and cache" [19:26] gotta do the 'once' part somehow :-P [19:26] since #include stuff is recurisvely expanadble [19:26] #includes urls having content with #includes .... [19:27] does it also get run only once, or is it "fetch once, run every time"? (still reading code) [19:27] so this is just the code that does that extraction; its typically called once [19:27] but depends on what u mean by 'run everytime' [19:27] all this does is download the userdata and such into a multipart mime message [19:27] which then gets processed later [19:28] ah ok, so include-once can load files that are run once or run lots [19:28] how it gets processed later is dependent on what the processing is [19:28] content and fetch method are decoupled [19:28] ya [19:28] this is just the fetch [19:28] cool thanks [19:28] that helps [19:28] np [19:31] http://cloudinit.readthedocs.org/en/latest/topics/dir_layout.html is also useful to look at/understand kwaping [19:31] user-data.txt.i (is the multipart pieces)... [19:31] 'user-data.txt' is the unprocessed/initial stuff [19:32] yeah I've been all over that site lately, but still digesting contents [19:32] k [19:32] smoser wanted to eventually i think destroy the usage of mime multipart stuff; maybe in the next version of cloud-init [19:32] its somewhat confusing to use mime messages for this, ha [19:32] but thats how it goes :-P [19:33] yeah I was going to say something about that, but figured there was a good use case that I was missing [19:33] config by email [19:33] smoser can explain, i forget the reason back in the day [19:33] probably something along the line of 'python has real good mime support and such, lets use it'... [19:33] ^ predates me, ha [19:33] funny how major decisions get made for reasons like that :) [19:34] :) [19:34] ok I'm going to head out since smoser is afk [19:34] we can continue the witty banter elsewhere [19:34] ha [19:34] all we do here is witty banter :-P [19:34] thats a major part of my day, lol [19:37] hmmm, will have to get him to idle in here vs leave, will work on that, lol === tennis is now known as gamename