[00:52] harlowja_at_home, still in bzr. will be for the next month or so at leas.t [00:52] k [00:52] just ahve too many othe rthings at the moment to get there. [00:52] an deven to bothe rtyping well [00:53] lol === lunarlamp is now known as mariusv === Odd_Blok1 is now known as Odd_Bloke === rcj` is now known as rcj [19:00] smoser: when did you want to chat about cloud-init networking bits? [19:02] does tox tests for cloud-init(0.7.x) succeeds for py27? [19:02] smoser: harlowja_at_home: ^^ [19:04] I am getting ImportError [19:04] (py27) [suro@oxy-dev cloud-init (0.7.x)]$ python -c "from cloudinit import log as logging; import logging.config" [19:04] Traceback (most recent call last): [19:04] File "", line 1, in [19:04] File "cloudinit/log.py", line 24, in [19:04] import logging.config [19:04] ImportError: No module named config [19:04] (py27) [suro@oxy-dev cloud-init (0.7.x)]$ [19:07] suro-patz, ok, no idea why that happens [19:08] probably the order u importing things [19:08] since u just overwrote the logging import [19:08] to be cloudinit.log [19:08] exactly [19:09] I was wondering it should be observed by others too [19:09] wanted to confirm [19:09] on master-branch it works fine [19:09] is it possible that on branch-0.7.x it is not maintained? [19:10] lol [19:11] suro-patz, so u yourself are causing that issue [19:11] ask yourself what your code does there [19:11] it renames cloud.init log as logging [19:11] then tries to import logging.config from that [19:11] which will obviously fail [19:11] or afaik that's what its doing [19:12] so in other words, idk why u doing that [19:12] bbl [19:13] harlowja_at_home: I just mimicked what cloud-init was failing at [19:13] ERROR: Failure: ImportError (No module named config) [19:13] ---------------------------------------------------------------------- [19:13] Traceback (most recent call last): [19:13] File "/home/suro/cloudInit/cloud-init/.tox/py27/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName [19:13] addr.filename, addr.module) [19:13] File "/home/suro/cloudInit/cloud-init/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath [19:13] return self.importFromDir(dir_path, fqname) [19:13] File "/home/suro/cloudInit/cloud-init/.tox/py27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir [19:13] mod = load_module(part_fqname, fh, filename, desc) [19:13] File "/home/suro/cloudInit/cloud-init/tests/unittests/test_util.py", line 12, in [19:13] from cloudinit import importer, util [19:13] File "/home/suro/cloudInit/cloud-init/cloudinit/util.py", line 55, in [19:13] from cloudinit import log as logging [19:27] rharper, 90 minutes ? [19:27] smoser: sure [19:30] harlowja_at_home: never mind, this error happened on repo where I had run tox for master branch once and then switched to 0.7.x. As I created a fresh repo, I do not see the issue any more - tox works for 0.7.x for py27 [20:18] rharper, i have added fix and test for lxd. [20:18] that was busted. pushing that now [20:18] smoser: nice! [20:18] did you get the fix on the init_cmd dict ? [20:18] used unknown variable [20:18] * rharper is preparing a pep8/pylint/pyflakes MP [20:22] oh. i just enabled pyflakes [20:22] trunk runs that on package build and in tox now [20:28] smoser: cool [20:30] pushed that and lxd to trunk. [20:30] if you wanted to clean up ./tools/run-pep8 i'd be fine with that. [20:30] pep8 is such a freaking moving target.t ahts the biggest pain. [20:31] it has been clean before, and then we get a newer version in new ubuntu release and starts failing. [20:33] well, I doubt it's been that clea [20:33] with the I am the King, do what I say [20:33] but yeah; I like curtin's make check [20:33] I think it keeps the source tidy; it does move, but I don't think that much [20:34] the first thing that seems challenging is that cloud-init is doing module path insertion in bin/cloud-init instead of the shell wrapper like in curtin (py2or3) would be useful here [20:34] but not sure how much of the world you want to move/touch w.r.t that sort of thing [21:59] http://netfilter.org/projects/nftables/ [21:59] oops [21:59] wrong window