/srv/irclogs.ubuntu.com/2014/09/05/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== praneshp_ is now known as praneshp
harmwsmoser: I'd hardly call that a fix :p11:12
harmwsmoser: think you can merge those last bits regarding freebsd?11:13
harmwhiren_: ping15:16
smoserharlowja_away, http://paste.ubuntu.com/8260489/15:16
smoserdigital ocean has user-data now, and the ec2_utils.MetadataMaterializer is able to crawl it.15:16
smoserand utlemming they add vendor-data15:17
smoser:)15:17
harmwsmoser: you worked out something about cirros?15:26
smoserharmw, either you or i broke htat script15:26
smoserand possiby i15:26
smoserbut i thin kwe might be good now. 15:27
smoserand i'm thinking about putting that into trunk.15:27
harmwok, cool15:27
harmwwell my branch certainly compiles :p15:27
smosersome openstack-qa people were asking for mtu15:29
smoserso i was going to try to get that in as 0.3.315:29
harmwnice 15:29
harmwI think ill be able to testdrive something tonight15:29
hiren_harmw: hey!16:42
=== harlowja_away is now known as harlowja
harlowjasmoser thats good right? (the digitial ocean stuff)17:06
smoserharlowja, yeah. really good. 17:07
harlowjawoot17:07
smoserreally nice that it worked.17:07
harlowjawho wrote that awesome metadata stuff17:07
harlowjaoh i know17:08
harlowjahahaha17:08
smoserthe one thing that was weird17:08
smoser_decode_leaf_blob17:08
smoserit returns a list of blob.splitlines()17:08
smoserwhich is kind of odd.17:08
smoseras in this case, using it got vendor-data and user-data as an array17:08
harlowjaya, i wonder why i did that, ha17:09
harlowjamy guess is boto does that17:09
harlowjaso i do that17:09
smoserwell, it was really for metadata only17:09
smoserwhich, in amazon, any leafs might be lists.. i'm not even sure if there are any leafs with newlines in them.17:09
harlowjahttps://github.com/boto/boto/blob/2.15.0/boto/utils.py#L27817:10
harlowjasorry 281 there17:10
smoserright, but no ton leafs.17:10
smoseroh. hm..17:10
smosermaybe it makes sense there.17:10
smoseri dont know.17:10
harlowjawant to change that?17:10
smoserbut since 'user-data' and 'vendor-data' are relaly just blobs in that MD17:11
smoserwe dont want them interpreted in this case17:11
smoserhave to see i guess.17:11
harlowjakk17:11
smosermaye just make it a method you can pass in 17:11
smoserto render your own leafs17:11
smoseror you could subclass it too17:11
harlowjawho would be subclassing it?17:12
smoserwell, in this case i would :)17:12
smoserfor the digital-ocean reader17:12
smoserharmw, http://bazaar.launchpad.net/~cirros-dev/cirros/trunk/revision/31717:13
smoserthat gets your cirros-udchpc stuff functional in trunk.17:13
harlowjasmoser do u want to try the boto reader, and see what it returns just to double check?17:13
smoserfunctional in that it had some bugs that i' not sure were your fault or mine (quite possibly my changes). and also actually enables patching of buildroot's busybox so we use it.17:13
smosersure17:14
harlowjaotherwise sure, i can make it more pluggble17:14
smoserwow.17:15
smoseri didn't realize the boto one was like it was17:15
harlowja?17:15
smoserdoing the json.load 17:15
smoseri thought you had added that.17:15
harlowjanever17:15
harlowjaha17:15
smoserline 278 htere is kind of wierd17:15
smoserif it starts with { , then its *obviously* json :)17:15
harlowjalol17:16
harlowjaof course!17:17
harlowjathats why i put maybe_json_object17:17
harlowjacause maybe it is, haha17:17
=== shardy is now known as shardy_afk
harlowjasmoser https://code.launchpad.net/~harlowja/cloud-init/customized-leaf-decoder/+merge/23356517:25
harlowjahave fun :-17:25
harlowja:-P17:25
smosermixed leaf decoder17:25
smoseri like the name17:25
harlowja:)17:27
harlowjaanother thing we can do with the doc cleanup/make betterness is start to use https://pypi.python.org/pypi/doc8 (which i helped create/am the main person making); its getting sucked into most openstack tox.ini files for sanity checks on docs17:57
harmwsmoser: I hope my buildservice picks up that cirros change ;)18:06
harmwyou planning a new release ?18:07
smoserharmw, yeah, building something as 0.3.3~pre1 right now.18:08
smoserand then if that looks sane, which i think it does from my test builds, then we just call 0.3.318:09
harmwcool18:09
harmwdont forget th fbsd stuff ;)18:10
smoseryeah. i know.18:11
smoserharmw, looking18:13
smoserharmw, what about the config drive stuff that Rajun.. was doing18:14
smoseris that important ?18:14
smoseri think probably, for config drive at least18:14
harmwyea, but I'm afraid I haven't looked at it18:14
harmwso I don't realy have an opinion on it18:15
harmwlet me build an update pkg for fbsd first, and then I'll think something of it :)18:15
smoserharmw, done.18:19
harmwah nice18:23
harmwsmoser: that stuff from Ragin looks fairly ok19:11
harmwold functionality is still in place, and I'm asuming he tested if it works on fbsd19:12
=== zz_gondoi is now known as gondoi
alexpilottismoser: morning!20:19
smoseralexpilotti, its not morning20:24
smoserbut ok20:24
smoser:O)20:24
alexpilottismoser: what do you think about having -z in nc, on cirros? :-) 20:25
alexpilottismoser: In tempest we need to test security groups, checking if a given port is open, cross-tenant 20:26
alexpilottismoser: aka cirros -> cirros20:26
smoseris it something you can just turn on ?20:26
alexpilottismoser: we need to update nc in the cirros image20:27
alexpilottismoser: I mean, we can go with workarounds of course20:28
alexpilottisbut if you can easily update it, it would be nice20:28
smoserno. sorry.20:29
smoserwas a question as to if it *can* be turned on in cirros20:29
alexpilottinot really20:30
smoserdo you know if turning on NC_110_COMPAT will do it ?20:35
smoseralexpilotti, http://git.busybox.net/busybox/tree/networking/nc.c20:41
smoserit seems like that might do it.20:41
alexpilottismoser: as in uploading the file and compiling it in place during the test?20:42
smoserwell, no. i have to enable it.20:42
smoserbut i'm wondering if that would be sufficient for you20:42
alexpilottiah ok perfect20:43
alexpilottiyep, it looks very ok20:43
alexpilottiin what cirros version do you think you could get it in?20:44
smoserwell, hopefully i could just turn that on for 0.3.321:01
smoserwhich i was hoping would be "real soon now"21:01
smoserharmw, 0.3.3~pre1 is there now21:13
smoseri'll plan on trying a build with alexpilloti's request21:13
smoserand if that seems to not completely crash 'nc', then i guess we'll just call that 0.3.321:13
alexpilottismoser: tx! :-)21:18
=== gondoi is now known as zz_gondoi
=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja

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