[02:28] harlowja, how do i stop this from happening [02:28] aka, please show me how to run your tox-runner thing. [02:28] i can probably also manage a python2.6 tox runner... actually, powersj might be able to help with something === shardy is now known as shardy_lunch [11:41] hi [11:42] could someone provide the steps to create a cloud-init ready windows image? [12:11] Tim_: do you mean a "windows image" like Windows Server 2012/2016 or "windows image" like in Ubuntu or such running on Azure (which isn't a windows image IMHO)? === shardy_lunch is now known as shardy [12:15] oh, sorry. :-) I'm using xenserver with xen-orchestra, and I'd like to create a cloud ready windows 2012r2 template [12:17] Tim_: this is kind of out of my scope, but AFAIK the cloud init this channel is for has no native windows function [12:17] smoser: is this correct or did I miss something ^^? [12:22] I found win images on cloudbase, but I'm not sure if it's the same thing [12:23] Tim_: it is a different thing [12:23] Tim_: what you refer to is based on https://github.com/openstack/cloudbase-init I think [13:49] smoser, I could investigate a 2.6 tox - how urgent? [13:50] powersj, well... you woudlnt be able to run it in c-i until c-i supports git :) [13:50] so, less urgent than that i think. [13:50] ah true :) I could at least see what it takes to add it to tox.ini [13:55] powersj, so, the tircky thing in ubuntu is *getting* py26 [13:56] https://launchpad.net/ubuntu/+source/python2.6 [13:56] no python2.6 in any supported ubuntu [13:56] that is how old it is [13:57] there is https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes?field.series_filter=vivid [13:57] lol [13:57] i've used the dead-snakes before [13:59] really - dead snakes [13:59] ... on a plane I guess [14:01] powersj: if you want to do the triaging session now please let me know [14:01] cpaelzer, give me 5 to finish breakfast [14:02] powersj: so the world collides with breakfast vs dinner constraints :-) no hurry at all - just ping me when you are really ready [14:02] haha ok :) [14:08] cpaelzer, shall we :) [14:08] powersj: yep, powering up HO [14:10] powersj: somewhere a bell should ring :-) [14:10] powersj: but to easen this https://hangouts.google.com/hangouts/_/canonical.com/triagethepainuhbugs [17:17] smoser compile it in a jenkins job then test against that :-P [17:17] powersj smoser feel free to take https://gist.github.com/harlowja/6329b413a7572417148d9a292330f9bb :-P [17:18] its the jenkins pipeline groovy stuff that i'm using [17:18] +- some other functions u aren't seeing there, lol [17:18] but if u just using jenkins [17:18] then add in to that groovy there a step to "build-python26" [17:23] but sure smoser if u want to use the remote-tox stuff [17:23] i can show u :-P [17:23] few ways to skin this cat [17:23] didnt you show me something that you had? a remote tox runner with py26 ? [17:32] ya, but u still need a machien somewhere with 26, ha [17:32] https://github.com/harlowja/remote_tox#remotetox [17:32] not super complicated stuff ^ [17:55] harlowja, ah. i thought you were giving us said machine [17:56] lol [17:56] aren't you running a free cloud platform ? [17:56] errrr [17:57] doesnt it cost like $1 year for my own domain ? [17:57] something like that, ha [17:57] just run me a domain with py26 and bill your employer. [17:57] hmmmm [17:57] tempted to try that, lol [17:58] tox-for-dead-snakes.com is still open [17:59] neat, i think travis still does 26 also [17:59] so maybe travis can be plugged in [17:59] at least to run it and (report back here?) [18:00] y [18:02] let me see about that [18:03] or if others have time, they are welcome to also :-P [18:03] may just involve either a .travis.yml file in cloud-init [18:03] or telling travis what to run [18:04] something like https://github.com/jd/tenacity/blob/00fe1f1cd026a3b2a8c641c12552bf5cfe945990/.travis.yml [18:04] (for example) [18:05] harlowja, random python mock question [18:06] class Foo(SuperClass): [18:06] pass [18:06] how can i replace Superclass with something else when testing Foo [18:07] i used @mock.patch("path.of.import.SuperClass", new=something.else) [18:07] that worked for testing SuperClass [18:07] but then i tried to test Foo similarly, and its reference to its SuperClass is already made so i couldnt replace it [18:07] (i think) [18:08] eck [18:08] not sure [18:08] never tried that [18:08] why u doing that, lol [18:08] don't do that, hahaha [18:10] ok [18:17] annnnd smoser [18:17] https://github.com/kubernetes/kubernetes/pull/30757#issuecomment-242795731 [18:18] u may be interested in that [18:18] something about openstack + k8s and they are reading /var/lib/cloud [18:18] and https://github.com/kubernetes/kubernetes/pull/30757#issuecomment-242770372 [18:19] what we want there is the cloud-inti query [18:19] thats what i want to reply to that with [18:19] right [18:19] reply with that ;) [18:19] or well formed json in that dir [18:19] right [18:20] but yes, u should reply, ha [21:22] @smoser any idea bout https://gist.github.com/harlowja/5c67d774a65c3f5c2b8f342ef78c58a0 ? [21:22] lol [23:17] hmmmm, looks like travis is to much connected into github to be useable outside very easily [23:18] so i mean i could sync into github i guess :-/ [23:18] and then use travis [23:18] puke [23:19] @smoser are u ever syncing https://github.com/cloud-init/cloud-init ? [23:19] perhaps can plug that into travis if so [23:19] i think a mirror from the offical to there would let travis then run