/srv/irclogs.ubuntu.com/2016/08/26/#cloud-init.txt

smoserharlowja, how do i stop this from happening02:28
smoser aka, please show me how to run your tox-runner thing.02:28
smoseri can probably also manage a python2.6 tox runner... actually, powersj might be able to help with something02:28
=== shardy is now known as shardy_lunch
Tim_hi11:41
Tim_could someone provide the steps to create a cloud-init ready windows image?11:42
cpaelzerTim_: 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)?12:11
=== shardy_lunch is now known as shardy
Tim_oh, sorry. :-) I'm using xenserver with xen-orchestra, and I'd like to create a cloud ready windows 2012r2 template12:15
cpaelzerTim_: this is kind of out of my scope, but AFAIK the cloud init this channel is for has no native windows function12:17
cpaelzersmoser: is this correct or did I miss something ^^?12:17
Tim_I found win images on cloudbase, but I'm not sure if it's the same thing12:22
cpaelzerTim_: it is a different thing12:23
cpaelzerTim_: what you refer to is based on https://github.com/openstack/cloudbase-init I think12:23
powersjsmoser, I could investigate a 2.6 tox - how urgent?13:49
smoserpowersj, well... you woudlnt be able to run it in c-i until c-i supports git :)13:50
smoserso, less urgent than that i think.13:50
powersjah true :) I could at least see what it takes to add it to tox.ini13:50
smoserpowersj, so, the tircky thing in ubuntu is *getting* py2613:55
smoserhttps://launchpad.net/ubuntu/+source/python2.613:56
smoserno python2.6 in any supported ubuntu13:56
smoserthat is how old it is13:56
smoserthere is https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes?field.series_filter=vivid13:57
powersjlol13:57
smoseri've used the dead-snakes before13:57
cpaelzerreally - dead snakes13:59
cpaelzer... on a plane I guess13:59
cpaelzerpowersj: if you want to do the triaging session now please let me know14:01
powersjcpaelzer, give me 5 to finish breakfast14:01
cpaelzerpowersj: so the world collides with breakfast vs dinner constraints :-) no hurry at all - just ping me when you are really ready14:02
powersjhaha ok :)14:02
powersjcpaelzer, shall we :)14:08
cpaelzerpowersj: yep, powering up HO14:08
cpaelzerpowersj: somewhere a bell should ring :-)14:10
cpaelzerpowersj: but to easen this https://hangouts.google.com/hangouts/_/canonical.com/triagethepainuhbugs14:10
harlowjasmoser compile it in a jenkins job then test against that :-P17:17
harlowjapowersj smoser feel free to take https://gist.github.com/harlowja/6329b413a7572417148d9a292330f9bb :-P17:17
harlowjaits the jenkins pipeline groovy stuff that i'm using17:18
harlowja+- some other functions u aren't seeing there, lol17:18
harlowjabut if u just using jenkins17:18
harlowjathen add in to that groovy there a step to "build-python26"17:18
harlowjabut sure smoser if u want to use the remote-tox stuff17:23
harlowjai can show u :-P17:23
harlowjafew ways to skin this cat17:23
smoserdidnt you show me something that you had? a remote tox runner with py26 ?17:23
harlowjaya, but u still need a machien somewhere with 26, ha17:32
harlowjahttps://github.com/harlowja/remote_tox#remotetox17:32
harlowjanot super complicated stuff ^17:32
smoserharlowja, ah. i thought you were giving us said machine17:55
harlowjalol17:56
smoseraren't you running a free cloud platform ?17:56
harlowjaerrrr17:56
smoserdoesnt it cost like $1 year  for my own domain ?17:57
harlowjasomething like that, ha17:57
smoserjust run me a domain with py26 and bill your employer.17:57
harlowjahmmmm17:57
harlowjatempted to try that, lol17:57
smosertox-for-dead-snakes.com is still open17:58
harlowjaneat, i think travis still does 26 also17:59
harlowjaso maybe travis can be plugged in17:59
harlowjaat least to run it and (report back here?)17:59
smosery18:00
harlowjalet me see about that18:02
harlowjaor if others have time, they are welcome to also :-P18:03
harlowjamay just involve either a .travis.yml file in cloud-init18:03
harlowjaor telling travis what to run18:03
harlowjasomething like https://github.com/jd/tenacity/blob/00fe1f1cd026a3b2a8c641c12552bf5cfe945990/.travis.yml18:04
harlowja(for example)18:04
smoserharlowja, random python mock question18:05
smoserclass Foo(SuperClass):18:06
smoser   pass18:06
smoserhow can i replace Superclass with something else when testing Foo18:06
smoseri used @mock.patch("path.of.import.SuperClass", new=something.else)18:07
smoserthat worked for testing SuperClass18:07
smoserbut then i tried to test Foo similarly, and its reference to its SuperClass is already made so i couldnt replace it18:07
smoser(i think)18:07
harlowjaeck18:08
harlowjanot sure18:08
harlowjanever tried that18:08
harlowjawhy u doing that, lol18:08
harlowjadon't do that, hahaha18:08
smoserok18:10
harlowjaannnnd smoser18:17
harlowjahttps://github.com/kubernetes/kubernetes/pull/30757#issuecomment-24279573118:17
harlowjau may be interested in that18:18
harlowjasomething about openstack + k8s and they are reading /var/lib/cloud18:18
harlowjaand https://github.com/kubernetes/kubernetes/pull/30757#issuecomment-24277037218:18
smoserwhat we want there is the cloud-inti query18:19
smoserthats what i want to reply to that with18:19
harlowjaright18:19
harlowjareply with that ;)18:19
smoseror well formed json in that dir18:19
harlowjaright18:19
harlowjabut yes, u should reply, ha18:20
harlowja@smoser any idea bout https://gist.github.com/harlowja/5c67d774a65c3f5c2b8f342ef78c58a0 ?21:22
harlowjalol21:22
harlowjahmmmm, looks like travis is to much connected into github to be useable outside very easily23:17
harlowjaso i mean i could sync into github i guess :-/23:18
harlowjaand then use travis23:18
harlowjapuke23:18
harlowja@smoser are u ever syncing https://github.com/cloud-init/cloud-init ?23:19
harlowjaperhaps can plug that into travis if so23:19
harlowjai think a mirror from the offical to there would let travis then run23:19

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!