| waldi | okay, 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 filesystem | 11:04 |
|---|---|---|
| === dmsimard is now known as dmsimard|afk | ||
| === Toger_ is now known as Toger | ||
| === contrapumpkin is now known as copumpkin | ||
| smoser | harlowja, https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/+merge/293957 | 18:06 |
| smoser | thats what i owe you right ? | 18:07 |
| smoser | harlowja, why do you randomly change things some times. tox.ini at that mp | 18:13 |
| harlowja | let 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 26 | 18:33 |
| harlowja | seeing as thats the point of a requirements file ? | 18:33 |
| smoser | k | 18:33 |
| smoser | we had listed the envs specifically as trusty (i think) does not support the newer tox | 18:34 |
| smoser | that gleans the python version from the testenv name | 18:34 |
| harlowja | testenv name still there | 18:34 |
| harlowja | just not a special list of deps | 18:34 |
| smoser | you yanked | 18:36 |
| smoser | [testenv:py3] | 18:36 |
| smoser | basepython = python3 | 18:36 |
| smoser | and you can't do that i dont hink. | 18:36 |
| harlowja | ok, that doesn't seem like it will hurt to put it back in, though that it was inferred | 18:37 |
| harlowja | *thought | 18:38 |
| smoser | only in newer tox | 18:38 |
| harlowja | k | 18:38 |
| harlowja | ok dokie smoser cleaned that up | 18:46 |
| smoser | harlowja, how did you drop if PY26 in tests/unittests/helpers.py ? | 19:10 |
| smoser | the TestCase define | 19:11 |
| smoser | oh. i see . use unittest2 | 19:11 |
| harlowja | ya, unittest2 should handle all we need here | 19:11 |
| harlowja | unless u want me to undo that? | 19:11 |
| harlowja | but damn was that testcase nasty | 19:11 |
| harlowja | lol | 19:11 |
| harlowja | (custom testcase) | 19:11 |
| harlowja | lol | 19:11 |
| smoser | wonder who wrote that garbage | 19:12 |
| harlowja | :-/ | 19:12 |
| harlowja | not it | 19:12 |
| harlowja | lol | 19:12 |
| harlowja | me of 2 years ago? | 19:12 |
| smoser | it was probably 2014 harlow. man... *that* guy. | 19:12 |
| harlowja | lol | 19:12 |
| harlowja | ya, what a jerk | 19:12 |
| harlowja | that old me | 19:12 |
| harlowja | lol | 19:12 |
| harlowja | the new jerk is much cooler | 19:12 |
| harlowja | lol | 19:12 |
| smoser | so to run test, we'l need python-unittest2 | 19:13 |
| smoser | right ? | 19:13 |
| harlowja | right | 19:13 |
| harlowja | should be everywhere, its not a new thing | 19:13 |
| smoser | ./packages/bddeb is busted then. i'll fix that. | 19:14 |
| smoser | i suspect that bdrpm is probably busted too | 19:14 |
| smoser | do you actually need unittest2 on python3 ? | 19:16 |
| smoser | i guess so. | 19:16 |
| harlowja | no, prob not, but then we need a pip that can understand python version constraints :-P | 19:18 |
| smoser | ? | 19:19 |
| harlowja | there is a way to do unittest2 ; python_version < 2.6 | 19:21 |
| harlowja | but needs newer pip to understand that | 19:21 |
| smoser | oh. that wasnt what i was askin g i dont htink | 19:23 |
| smoser | is unittest2 what you get in python3's unittest ? | 19:24 |
| smoser | and http://paste.ubuntu.com/17182223/ is what i have in my diff on your tree right now. | 19:24 |
| smoser | the last 2 hunks just cause you'd done that in some tests too | 19:24 |
| harlowja | smoser yes, unittest2 is pretty much a backport lib | 19:25 |
| harlowja | https://pypi.python.org/pypi/unittest2 | 19:25 |
| harlowja | but it should work on ' 2.6, 2.7, 3.2, 3.3, 3.4 and pypy.' | 19:25 |
| harlowja | alot of these backport libs also internally just use the newer stuff on versions where they aren't needed | 19:25 |
| harlowja | so it should be ok | 19:25 |
| smoser | thats fine | 19:26 |
| harlowja | http://paste.ubuntu.com/17182223/ looks ok, want me to add, or u? | 19:29 |
| smoser | you can please | 19:30 |
| harlowja | yes sir | 19:30 |
| smoser | generally speaking i think i want to avoid 'six' if i can at all do that. | 19:30 |
| smoser | in the net/ module | 19:30 |
| smoser | as i want it to be esxportable to curtin where we do not have a ddependency on six | 19:31 |
| harlowja | next change, next change :-P | 19:31 |
| harlowja | six though should be ummm, pretty normal | 19:31 |
| harlowja | i'd wonder why six is that big of a deal :-P | 19:31 |
| harlowja | otherwise u just make mini-six | 19:32 |
| harlowja | which i've seen alot, lol | 19:32 |
| harlowja | (in other libs/...) | 19:32 |
| smoser | well, heres the thing. | 19:41 |
| smoser | curtin runs in an ubuntu cloud iamge back to precise (12.04) | 19:42 |
| smoser | six in 12.04 was universe. | 19:42 |
| smoser | https://launchpad.net/ubuntu/+source/six | 19:42 |
| smoser | this i think would be the first usage of universe package by curtin | 19:42 |
| smoser | let me see for sure on that.. but even adding any dependency notin the image is less than ideal | 19:43 |
| smoser | rharper, so the reason i bothered you in #curtin was usage of six in cloud-init/net | 19:48 |
| smoser | https://server-team-jenkins.canonical.com/job/curtin-vmtest-venonat/266/artifact/output/PreciseHWETBcacheBasic/logs/install-serial.log | 19:48 |
| smoser | that is a precise install | 19:48 |
| rharper | y | 19:49 |
| smoser | http://paste.ubuntu.com/17183262/ | 19:49 |
| smoser | that is the interesting piece for this conversation | 19:49 |
| rharper | right,. what's not in precise by default | 19:49 |
| smoser | currently we are getting some things from universe | 19:49 |
| smoser | gdisk and bcache-tools | 19:50 |
| smoser | adding a dependency on six would be one more | 19:50 |
| smoser | which is not really the end of the world. | 19:50 |
| smoser | but precise is the only image supported that does not have python-six (or python3-six). | 19:50 |
| rharper | curtin is six free, do we have a lot more use of six in cloud-init already ? I mean what's the impact ? | 19:51 |
| smoser | well, if cloudinit/net adds six and cloudinit/net is used in curtin | 19:55 |
| smoser | then curtin gains six dependency | 19:55 |
| smoser | harlowja, ok. i think its sane | 20:15 |
| smoser | i'm still not sold on six. as we're using it for a *very* minisix | 20:16 |
| smoser | but sure | 20:16 |
| harlowja | ya, its either that or for py2/py3 u make something minisix | 20:20 |
| harlowja | either can be done, i've seen both, its not anything imposssible/that hard | 20:21 |
| harlowja | just less crap to be written | 20:21 |
| harlowja | lol | 20:21 |
| harlowja | and i like less crap | 20:21 |
| smoser | right | 20:22 |
| smoser | harlowja, 'skip_first_boot' | 20:29 |
| harlowja | ya | 20:29 |
| harlowja | that's for testing | 20:29 |
| harlowja | in that during testing and getting data from say a local file, don't mess with my networking, lol | 20:30 |
| harlowja | although i can just change it to mock out 'on_first_boot' there | 20:31 |
| smoser | i think i'd prefer that. it just looks odd as that function signature is different | 20:32 |
| harlowja | kk | 20:32 |
| smoser | i do understand the desire to not break your networking :) | 20:32 |
| harlowja | :-P | 20:32 |
| harlowja | ya, test starts messing with my networking == bad | 20:33 |
| harlowja | lol | 20:33 |
| smoser | and grab http://paste.ubuntu.com/17185178/ | 20:33 |
| smoser | and i'm happy i think | 20:33 |
| smoser | i hit approve, and commented. go ahead and do those things an then you can pull to trunk | 20:35 |
| smoser | thank you josh. | 20:35 |
| harlowja | no thank you | 20:36 |
| harlowja | lol | 20:36 |
| harlowja | smoser is the coolest person ever | 20:36 |
| harlowja | lol | 20:36 |
| smoser | e-ver | 20:39 |
| rharper | e-vah! | 20:39 |
| harlowja | amen | 20:42 |
| harlowja | ? | 20:42 |
| harlowja | lol | 20:42 |
| harlowja | oh evar | 20:43 |
| harlowja | got ya | 20:43 |
| rharper | =) | 20:46 |
| harlowja | also smoser another one u might be interested in (when running on a mac) | 20:49 |
| harlowja | https://gist.github.com/harlowja/b7bbf4f18057b3668f16bbf49ccffe26 | 20:49 |
| harlowja | probably something small off there | 20:49 |
| smoser | did i just regress taht ? | 20:50 |
| harlowja | unsure | 20:50 |
| smoser | what is this /Users dir | 20:50 |
| smoser | i dont have one of those | 20:50 |
| harlowja | mac? | 20:50 |
| smoser | nor a /var/folders | 20:50 |
| smoser | i think you computer is broken | 20:50 |
| smoser | maybe install Ubuntu | 20:50 |
| harlowja | mac | 20:50 |
| harlowja | lol | 20:50 |
| harlowja | mac mac | 20:50 |
| harlowja | mac | 20:50 |
| harlowja | not that big of a deal, mac | 20:51 |
| harlowja | lol | 20:51 |
| harlowja | you'll be cool, mac | 20:51 |
| smoser | i would be pretty cool if i had a mac and a handlebar mustache | 20:56 |
| harlowja | lol | 20:56 |
| smoser | Odd_Bloke, ^ would be nice if you could fix that test | 20:56 |
| harlowja | not high priority (obviously) | 20:57 |
| harlowja | damn macs | 20:57 |
| harlowja | lol | 20:57 |
| smoser | i'm not really sure what test_generate_certificate_uses_tmpdir is tryin gto prove | 20:57 |
| harlowja | man i keep on doing `git diff` in the cloudinit dir | 21:16 |
| harlowja | smoser that's gonna be fixed over the weekend right? | 21:16 |
| harlowja | lol | 21:16 |
| harlowja | other ones that happen on centos i think are already known https://gist.github.com/harlowja/aa2b506c069fe874a51a774cd65a745c | 21:20 |
| harlowja | smoser ok, merging that refactor in | 21:21 |
| harlowja | ok, https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-sysconfig/+merge/297115 | 22:24 |
| harlowja | eyes on that would be cool | 22:25 |
| harlowja | or new tests | 22:25 |
| harlowja | rharper ^ | 22:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!