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

waldiokay, ephemeral disk setup is pretty broken on Azure. stuff from fstab is mounted way before cloud-init-config.service, which is needed to re-create the filesystem11:04
=== dmsimard is now known as dmsimard|afk
=== Toger_ is now known as Toger
=== contrapumpkin is now known as copumpkin
smoserharlowja, https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/+merge/29395718:06
smoserthats what i owe you right ?18:07
smoserharlowja, why do you randomly change things some times. tox.ini at that mp18:13
harlowjalet me see , i think that smoser was also fix the 26 stuff, there isn't much of a need to have a requirements.txt file and a seperate list of requirements for 2618:33
harlowjaseeing as thats the point of a requirements file ?18:33
smoserk18:33
smoserwe had listed the envs specifically as trusty (i think) does not support the newer tox18:34
smoserthat gleans the python version from the testenv name18:34
harlowjatestenv name still there18:34
harlowjajust not a special list of deps18:34
smoseryou yanked18:36
smoser[testenv:py3]18:36
smoserbasepython = python318:36
smoserand you can't do that i dont hink.18:36
harlowjaok, that doesn't seem like it will hurt to put it back in, though that it was inferred18:37
harlowja*thought18:38
smoseronly in newer tox18:38
harlowjak18:38
harlowjaok dokie smoser cleaned that up18:46
smoserharlowja, how did you drop if PY26 in tests/unittests/helpers.py ?19:10
smoserthe TestCase define19:11
smoseroh. i see . use unittest219:11
harlowjaya, unittest2 should handle all we need here19:11
harlowjaunless u want me to undo that?19:11
harlowjabut damn was that testcase nasty19:11
harlowjalol19:11
harlowja(custom testcase)19:11
harlowjalol19:11
smoserwonder who wrote that garbage19:12
harlowja:-/19:12
harlowjanot it19:12
harlowjalol19:12
harlowjame of 2 years ago?19:12
smoserit was probably 2014 harlow. man... *that* guy.19:12
harlowjalol19:12
harlowjaya, what a jerk19:12
harlowjathat old me19:12
harlowjalol19:12
harlowjathe new jerk is much cooler19:12
harlowjalol19:12
smoserso to run test, we'l need python-unittest219:13
smoserright ?19:13
harlowjaright19:13
harlowjashould be everywhere, its not a new thing19:13
smoser./packages/bddeb is busted then. i'll fix that.19:14
smoseri suspect that bdrpm is probably busted too19:14
smoserdo you actually need unittest2 on python3 ?19:16
smoseri guess so.19:16
harlowjano, prob not, but then we need a pip that can understand python version constraints :-P19:18
smoser?19:19
harlowjathere is a way to do unittest2 ; python_version < 2.619:21
harlowjabut needs newer pip to understand that19:21
smoseroh. that wasnt what i was askin g i dont htink19:23
smoseris unittest2 what you get in python3's unittest ?19:24
smoserand http://paste.ubuntu.com/17182223/ is what i have in my diff on your tree right now.19:24
smoserthe last 2 hunks just cause you'd done that in some tests too19:24
harlowjasmoser  yes, unittest2 is pretty much a backport lib19:25
harlowjahttps://pypi.python.org/pypi/unittest219:25
harlowjabut it should work on ' 2.6, 2.7, 3.2, 3.3, 3.4 and pypy.'19:25
harlowjaalot of these backport libs also internally just use the newer stuff on versions where they aren't needed19:25
harlowjaso it should be ok19:25
smoserthats fine19:26
harlowjahttp://paste.ubuntu.com/17182223/  looks ok, want me to add, or u?19:29
smoseryou can please19:30
harlowjayes sir19:30
smosergenerally speaking i think i want to avoid 'six' if i can at all do that.19:30
smoserin the net/ module19:30
smoseras i want it to be esxportable to curtin where we do not have a ddependency on six19:31
harlowjanext change, next change :-P19:31
harlowjasix though should be ummm, pretty normal19:31
harlowjai'd wonder why six is that big of a deal :-P19:31
harlowjaotherwise u just make mini-six19:32
harlowjawhich i've seen alot, lol19:32
harlowja(in other libs/...)19:32
smoserwell, heres the thing.19:41
smosercurtin runs in an ubuntu cloud iamge back to precise (12.04)19:42
smosersix in 12.04 was universe.19:42
smoser https://launchpad.net/ubuntu/+source/six19:42
smoserthis i think would be the first usage of universe package by curtin19:42
smoserlet me see for sure on that.. but even adding any dependency notin the image is less than ideal19:43
smoserrharper, so the reason i bothered you in #curtin was usage of six in cloud-init/net19:48
smoserhttps://server-team-jenkins.canonical.com/job/curtin-vmtest-venonat/266/artifact/output/PreciseHWETBcacheBasic/logs/install-serial.log19:48
smoserthat is a precise install19:48
rharpery19:49
smoserhttp://paste.ubuntu.com/17183262/19:49
smoserthat is the interesting piece for this conversation19:49
rharperright,. what's not in precise by default19:49
smosercurrently we are getting some things from universe19:49
smosergdisk and bcache-tools19:50
smoseradding a dependency on six would be one more19:50
smoserwhich is not really the end of the world.19:50
smoserbut precise is the only image supported that does not have python-six (or python3-six).19:50
rharpercurtin is six free, do we have a lot more use of six in cloud-init already ? I mean what's the impact ?19:51
smoserwell, if cloudinit/net adds six and cloudinit/net is used in curtin19:55
smoserthen curtin gains six dependency19:55
smoserharlowja, ok. i think its sane20:15
smoseri'm still not sold on six. as we're using it for a *very* minisix20:16
smoserbut sure20:16
harlowjaya, its either that or for py2/py3 u make something minisix20:20
harlowjaeither can be done, i've seen both, its not anything imposssible/that hard20:21
harlowjajust less crap to be written20:21
harlowjalol20:21
harlowjaand i like less crap20:21
smoserright20:22
smoserharlowja, 'skip_first_boot'20:29
harlowjaya20:29
harlowjathat's for testing20:29
harlowjain that during testing and getting data from say a local file, don't mess with my networking, lol20:30
harlowjaalthough i can just change it to mock out 'on_first_boot' there20:31
smoseri think i'd prefer that. it just looks odd as that function signature is different20:32
harlowjakk20:32
smoseri do understand the desire to not break your networking :)20:32
harlowja:-P20:32
harlowjaya, test starts messing with my networking == bad20:33
harlowjalol20:33
smoserand grab http://paste.ubuntu.com/17185178/20:33
smoserand i'm happy i think20:33
smoseri hit approve, and commented. go ahead and do those things an then you can pull to trunk20:35
smoserthank you josh.20:35
harlowjano thank you20:36
harlowjalol20:36
harlowjasmoser is the coolest person ever20:36
harlowjalol20:36
smosere-ver20:39
rharpere-vah!20:39
harlowjaamen20:42
harlowja?20:42
harlowjalol20:42
harlowjaoh evar20:43
harlowjagot ya20:43
rharper=)20:46
harlowjaalso smoser another one u might be interested in (when running on a mac)20:49
harlowjahttps://gist.github.com/harlowja/b7bbf4f18057b3668f16bbf49ccffe2620:49
harlowjaprobably something small off there20:49
smoserdid i just regress taht ?20:50
harlowjaunsure20:50
smoserwhat is this /Users dir20:50
smoseri dont have one of those20:50
harlowjamac?20:50
smosernor a /var/folders20:50
smoseri think you computer is broken20:50
smosermaybe install Ubuntu20:50
harlowjamac20:50
harlowjalol20:50
harlowjamac mac20:50
harlowjamac20:50
harlowjanot that big of a deal, mac20:51
harlowjalol20:51
harlowjayou'll be cool, mac20:51
smoseri would be pretty cool if i had a mac and a handlebar mustache20:56
harlowjalol20:56
smoserOdd_Bloke, ^ would be nice if you could fix that test20:56
harlowjanot high priority (obviously)20:57
harlowjadamn macs20:57
harlowjalol20:57
smoseri'm not really sure what test_generate_certificate_uses_tmpdir is tryin gto prove20:57
harlowjaman  i keep on doing `git diff` in the cloudinit dir21:16
harlowjasmoser that's gonna be fixed over the weekend right?21:16
harlowjalol21:16
harlowjaother ones that happen on centos i think are already known https://gist.github.com/harlowja/aa2b506c069fe874a51a774cd65a745c21:20
harlowjasmoser  ok, merging that refactor in21:21
harlowjaok, https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-sysconfig/+merge/29711522:24
harlowjaeyes on that would be cool22:25
harlowjaor new tests22:25
harlowjarharper  ^22:53

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