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