[00:04] <ndonegan> Anyone seen issues where cloud-init is setting the hostname to localhost.localdomain?
[00:04] <ndonegan> The advertised metata-data/hostname seems to be ok!
[09:42] <Odd_Bloke> ndonegan: That sounds familiar; what OS/cloud are you running?
[09:44] <Odd_Bloke> Actually, some searching around suggests I might have been thinking of something else. :/
[10:25] <ndonegan> Odd_Bloke: Openstack Icehouse (moving to Kilo in the next few months) with Centos 6.5 VMs.
[10:26] <Odd_Bloke> ndonegan: Is there anything relevant in cloud-init.log?
[10:27] <ndonegan> Nothing that I can see. I'll get me some caffine and have a look again.
[10:27] <ndonegan> Caffine taking priority right now :D
[10:29] <Odd_Bloke> :D
[12:14] <ndonegan> Absolutely nothing related to update_hostname or friends in the log that I can see.
[12:19] <ndonegan> Ah! PEBKAC.
[12:22] <Odd_Bloke> ndonegan: My favourite sort of problem. ;)
[12:23] <ndonegan> A hacky fix for an older problem has come back to bite.
[12:53] <ndonegan> Confirmed. Very much PEBKAC.
[16:17] <Odd_Bloke> smoser: Review and merge of https://code.launchpad.net/~daniel-thewatkins/cloud-init/smartos-v2-metadata/+merge/251775 would be appreciated; it'd be good to get it in to vivid if possible.
[16:17] <Odd_Bloke> (harlowja_away has already given it a once over)
[16:24] <smoser> Odd_Bloke, ok. will take a look. thanks.
[16:25] <Odd_Bloke> smoser: Thanks! :)
[17:18] <smoser> Odd_Bloke, is there information on v2 metadata  somwhere? or on its differences from v1 ?
[17:19] <Odd_Bloke> smoser: http://eng.joyent.com/mdata/protocol.html is the specification.
[17:19] <Odd_Bloke> It's a completely different format from v1.
[17:19] <Odd_Bloke> The keys stay the same though.
[17:20] <smoser> put a link in code 
[17:20] <smoser> ?
[17:21] <smoser> also, i probably dont like how many LOG.info you do.
[17:22] <smoser> there should be well defined criteria for when debug/info/warn are used, but there are not. instead you have smoser saying "probably".
[17:25] <Odd_Bloke> smoser: I'll switch the info calls to debug.
[17:27] <Odd_Bloke> smoser: Pushed those fixes up.
[17:27] <Odd_Bloke> (Including the link to the spec)
[17:28] <harlowja> smoser maybe https://wiki.openstack.org/wiki/LoggingStandards#Log_level_definitions should be just what we recommend?
[17:30] <smoser> harlowja, dont you think that'd be better if it said "smoser's judgement call"
[17:30] <harlowja> +1
[17:30] <harlowja> lol
[17:30] <harlowja> all hail dear leader smoser 
[17:30] <smoser> the big thing is console output
[17:30] <harlowja> true dat dear leader
[17:31] <smoser> now and in cloud-init v2 , the console should get "OH NO, BAD STUFF" and very few "Yep all went well".
[17:31] <smoser> and then fingerprints and such
[17:32] <harlowja> that reminds me, oh where art thou  PCManticore  person for https://github.com/cloud-init/cloud-init/pull/2 :-/
[17:32] <claudiupopa> harlowja: that's me.
[17:33] <harlowja> sweet
[17:33] <harlowja> how goes it
[17:33] <harlowja> 'license change GPLv3 to Apache 2.0'
[17:33] <harlowja> intersting
[17:33] <harlowja> smoser is your boss ok with this :-P
[17:33] <harlowja> bossman
[17:33] <claudiupopa> well, I was just waiting for the licensing issue to settle, I should update the pull request this week and hopefully it gets integrated.
[17:33] <harlowja> kk
[17:34] <harlowja> guess they are settling
[17:43] <smoser> bossman ack'd it.
[17:43] <smoser> harlowja, its actuall "apache 2.0 or GPLv3" dual license
[17:43] <smoser> which , is actually inherent to all apache 2.0 projects
[17:43] <harlowja> interesting, didn't know there was an 'OR'
[17:43] <smoser> but it is explicitly stated here.
[17:44] <harlowja> intersting
[17:44] <smoser> ie, apache2 is "upstream compatible" with gplv3
[17:44]  * harlowja this stuff confuses me, lol
[17:44] <smoser> so you can grab whatever you want that is apache2 and relicense it to someone under gplv3
[17:44] <harlowja> cools i guess, ha
[17:44] <smoser> but if i cna get away with it, i'm going to not explicitly list the GPLv3 info in the file headers.
[17:45] <smoser> but unfortunately, i suspect if a lawyer gets involved, then..
[17:45] <harlowja> i promise not to involve my sister (who is a lawyer), lol
[17:45] <smoser> thank you
[17:45] <harlowja> np
[17:46] <harlowja> let's keep this between me and u smoser 
[17:46] <harlowja> no need to involve lawyers, jeez
[17:46] <harlowja> jeezsh
[17:47] <smoser> Odd_Bloke, the only other comment...
[17:48] <smoser> you're not sniffing one or the other, just expect that v2 is there? or are you
[17:48] <Odd_Bloke> smoser: We just expect v2 is there (which is a fair assumption in Joyent).
[17:49] <smoser> is there code we can drop then ?
[17:50] <Odd_Bloke> smoser: The code which did v1 stuff has already been dropped.
[17:51] <Odd_Bloke> smoser: We should eventually be able to get rid of the b64- stuff, but doing so now would break anyone using those attributes.
[17:52] <smoser> k.
[17:52] <smoser> ok. so... last thing.
[17:52] <smoser> err.2 quests
[17:53] <harlowja> 1 fetch the princess from the castle
[17:53] <harlowja> and deliver the bread to the farmer down the road
[17:53] <smoser> a.) regex, compile that once
[17:53] <harmw> harlowja: I'm in
[17:53] <harlowja> no quests for u!
[17:53] <harlowja> lol
[17:53] <harmw> though we should watch out for the cavetrol
[17:53] <smoser> harlowja, did you come up with that just now ? or are you quoting something that i'm too un-geek-hip to get ?
[17:53] <smoser> if you'd have said "all your base are belong to us" then i'd have known
[17:53] <harlowja> smoser u said 2 quests
[17:53] <harlowja> i made up 2 quests, lol
[17:53] <harmw> :P
[17:54] <smoser> or "^^vv<><>baba start"
[17:54] <smoser> harmw, it is a plan of mine to build the konima code into cirros somehow.
[17:54] <harmw> koniwhat?
[17:55] <smoser> b.) http://en.wikipedia.org/wiki/Konami_Code
[17:55] <smoser> you never played ikari warriorson NES.
[17:55] <harmw> no man
[17:55] <harmw> I'm to young for that :>
[17:56] <harmw> and I only know 'all your base are belong to us' from bedtime stories
[17:56] <smoser> (i'm with you on that one)
[17:56] <smoser> but ikari warriors was good
[17:56] <smoser>  https://youtu.be/wiQmBwwx7_Y
[17:56] <smoser> Odd_Bloke, ^ see 'a' above, and then 
[17:57] <harmw> importing konami: +1
[17:57] <smoser> b. i forgot that.
[17:57] <smoser> then c. 'format'
[17:57] <smoser> i wonder, why
[17:57] <smoser>  +        return '{0:08x}'.format(
[17:57] <smoser> +            binascii.crc32(body.encode('utf-8')) & 0xffffffff)
[17:57] <smoser> rather than
[17:58] <smoser> er... mabye not on that one.
[18:03] <smoser> Odd_Bloke, so the othe rone is bsaically just why:
[18:03] <smoser> +            raise JoyentMetadataFetchException(
[18:03] <smoser> +                'Incorrect frame length given ({0} != {1}).'.format(
[18:03] <smoser> +                    frame_data['length'], len(frame_data['body'])))
[18:03] <smoser> instead of
[18:04] <smoser>  raise JoyentMetadataFetchException('Incorrect frame length given (%s != %s)' % (..., ...))
[18:04] <smoser> i've nver really understood why one is preferable to another
[18:05] <Odd_Bloke> The two arguments for .format are generally: (a) it supports more sophisticated formatting, and (b) it won't break if you unexpectedly give it a tuple.
[18:06] <smoser> http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format
[18:06] <smoser> yeah. so, i'm not going to nit-pick you on it, but generally id have used what the rest of the code has. 
[18:07] <smoser> but fix the regex
[18:07] <smoser> then i'll pull
[18:07] <Odd_Bloke> Regex fix pushed.
[18:07] <smoser> oh. Odd_Bloke the other question..
[18:07] <smoser> the LANG thing in tox
[18:07] <smoser> you wanted LANG=C. and that is reported fixed in httpretty
[18:08] <Odd_Bloke> Yeah, there's an Azure test (which was written based on a real-life failure) that only fails when LANG=C.
[18:08] <Odd_Bloke> OK, cool.
[18:08] <Odd_Bloke> I'll have a look at that tomorrow, see if we can use the latest httpretty.
[18:08] <Odd_Bloke> Gotta run now. :)
[18:08] <Odd_Bloke> o/
[18:26] <smoser> Odd_Bloke, its not fixed. i commented at https://github.com/gabrielfalcao/HTTPretty/issues/223
[19:44] <harmw> hm, think my network is finally settled
[19:44] <harmw> by not using virtio
[19:44] <harmw> and upgrading the router firmware (eg. freeBSD kernel) :P
[19:45] <harmw> -1 for using Fedora 21 as hypervisor instead of old faithfull CentOS 7
[19:46] <harmw> (though non-virtio throughput sucks quite hard)
[19:47] <harlowja> lol, damn centos7 is already old faithful 
[19:47] <harlowja> wasn't it recently released, lol
[19:48]  * harmw spend like 4 months debugging this and trying to get shit to work, openstack from scratch plus instances actually working proprly
[19:48] <harmw> and thats without pro-hardware :p
[19:49] <kwadronaut> when do you use virtio-througput? other than storage?
[19:49]  * kwadronaut facepalms
[19:49] <harmw> good one, well it just sucks going from 930Mbit to 60Mbit
[19:50] <kwadronaut> i'll answer myself: graphics cards.
[20:46] <harmw> smoser: lsblk and lscpu are missing in your cirros buildroot-upgrade branch
[20:47] <smoser> i have vague recollction of that
[20:49] <harmw> hm, can't find the knobs to turn those on though (alteast not after a quick grep through busybox.conf)
[20:56] <smoser> harmw, probably from buildroot