=== rangerpb is now known as rangerpbzzzz === cpaelzer_ is now known as cpaelzer === sambetts|afk is now known as sambetts === shardy is now known as shardy_lunch [11:23] hi! does anyone know a way to install a newer version than cloud-init 0.7.5 on CentOS 7 ? any repos/rpms? [11:24] this old version in centos7 unfortunately doesn't work with openstack and chef, as discussed here yesterday. [11:25] i tried installing the fedora 25 package, however it doesn't install due to python abi differences (centos is 3.4, cloud init wants 3.5) === shardy_lunch is now known as shardy === rangerpbzzzz is now known as rangerpb [15:37] https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/323246 [15:37] Enables artful === smatzek_ is now known as smatzek === sambetts is now known as sambetts|afk [17:41] powersj: I'm trying to build the centos7 rpm in lxd container with smoser's gist, and there looks to be some unittest failures for non-ubuntu; known issue? http://paste.ubuntu.com/24461774/ [17:42] rharper: I saw those as well [17:42] haven't put in a fix yet or looked into what to do [17:42] ok, I can push a MR with fixes [17:42] it's just not mocking out distro properly [17:43] that isnt specific to centos [17:44] non debian will fail [17:44] if that's what you mean [17:44] it should not be looking at that path, ever. (/etc/cloud/) [17:44] how would that pass on my desktop ? [17:44] I dunno, it works today, right ? nosetests ? [17:45] pretty strange [17:45] I don't have those files but trunk passes locally [17:49] yeah, you're right. its not mocking distro properly i think [17:50] those tests *have* passed before in centos and even python 2.6 [17:50] see e8730078df8c99696b1b684e09c803eef7c4926c [17:56] hrm [17:57] smoser: I think it's fallout from us not running apt unless there is config [18:01] yeah [18:01] we pass an empty config 'apt: {}' which then prevents the default apt templating from firing [18:02] if you pass a non-empty apt config, then it passes; what I can't understand yet is why it passes on ubuntu but fails under centos [18:03] e80dbb80987ba44be2899e34fbbbf7d48389b6b5 [18:03] so, on ubuntu we have the apt command [18:03] but on centos we dont [18:05] right [18:06] shall I send a PR or do you want to fix ? [18:10] if you have it, please do [18:11] realisitcly we shoudl be mockking the which calls [18:11] rharper, http://paste.ubuntu.com/24461986/ <-- is another piece of it [18:13] smoser: only a simple workaround (adding non-zero config to the dict passed to the apt_configure module) [18:13] actually, iguess ew dont need the importlib portions . those fell out from trying to run tox on the tests/vmtests/ [18:13] vmtest? [18:13] er... integration tests [18:14] the default 'tox -e centos6' ran on tests/ [18:14] gotcha [18:14] which failed, and i saw it needed importlib [18:14] but didnt' realize that was from the tests/cloudtests [18:21] rharper, i'll look [18:21] i think i have areasonable way [18:23] smoser: ok [18:23] * rharper built a centos7 rpm anyhow to test passthrough network [18:41] ok smoser powersj rharper i have an cut at github travis integration for unit tests ++ a project README https://github.com/blackboxsw/cloud-init/pull/1 [18:42] had to sort out hithub's default clone depth of 50 not being enough to "see" our latest official tag so tools/read-version wasn't working in the travis env. [18:45] you'll notice the above PR has travis PR checks voting on the merge request. I am still working on jenkins integration which would also give us integration test votes on the project. [19:00] blackboxsw: this is awesome [19:44] rharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/323265 [19:54] smoser: reading [20:19] smoser: http://paste.ubuntu.com/24462666/ ; where would we get python-oauthlib for centos 7 ? [20:21] its there on cent6 [20:22] I'm on 7 [20:23] maybe bad mirror ? [20:23] I see it in my cent7 lxd container [20:27] rharper, i dont love that set of tests as it is [20:27] the and i dont love one more level of indentation for every patch [20:27] actually, the docroartor on that fuction would have owrked i think. [20:27] I don't either [20:28] oh. but patch.object doesnt decorate [20:28] you don't need to patch object [20:28] or does it [20:28] your'e right, but thats what it does now [20:28] you can even just patch it outright before calling the function via an add_patch() [20:28] or decorator [20:30] add_patch () ? [20:35] one of the base unittest classes added an add_patch method [20:35] which does an auto start and stop on remove [20:35] hrm [20:35] guess not, we have that one in curtin [20:35] it's handy [20:37] http://paste.ubuntu.com/24462767/ [20:37] looks like the maas centos image doesn't have epel-release package installed by default [20:37] so that's why it didn't find python-oauthlib [20:38] rather annoying that the lxd image and the centos image in maas aren't the same despite being the same release (7.3.116 or something) [22:09] smoser: harlowja: just updated https://bugs.launchpad.net/cloud-init/+bug/1603533/ ; I built cent7 rpm , installed it but it complains at runtime; [22:09] Ubuntu bug 1603533 in cloud-init "Can't build correctly using brpm on cent7" [Medium,Fix released] [22:09] thanks ubot5 === rangerpb is now known as rangerpbzzzz [23:55] rharper kk, need to build that more often to expose those things