/srv/irclogs.ubuntu.com/2017/02/17/#juju-dev.txt

axwwallyworld: gtg take kids to school, can you please babysit https://github.com/juju/juju/pull/6996 and let sinzui know if/when it's landed?00:22
=== frankban is now known as frankban|afk
wallyworldaxw: wil do, i'll also forward port to develop00:23
anastasiamacPR 6996 and 6998 landed. wallyworld, thumper, menn0, axw, sinzui - rc2 is good to go, right?00:33
wallyworldanastasiamac: yeah, i just let sinzui know in #juju00:34
wallyworldone step pahead of you :-P00:34
menn0nice00:34
* wallyworld merges 2.1 into develop00:34
anastasiamacwallyworld: one step and probably many years :D00:35
wallyworld:-( :-( :-(00:35
wallyworldabout 9 :-(00:35
anastasiamacjust keep "experienced" in mind00:36
anastasiamac:D00:36
anastasiamacand hey! I am still somewhere in my 20s \o/00:36
wallyworldsinzui: wait00:37
wallyworldlooks like the merge was done into 2.2 branch00:37
wallyworldlet me check00:37
wallyworldsinzui: yeah it was :-(00:38
wallyworldi'll have to quickly backport00:38
axwdoh01:04
axwwallyworld: sorry, didn't notice that01:05
wallyworldaxw: no worries, backporting now but lots of conflicts to sort out, i'll propose soon, just getting tests to pass01:05
wallyworldaxw: i have a failing test in tools/lxdclient. it may be due to the changed socket stuff? i've resolved all the conflicts, diff looks ok, local lxd provider test with IP4 is ok. you may know immediately what issue is? https://github.com/juju/juju/compare/2.1...wallyworld:backport-pr-6996?expand=101:38
* axw looks01:38
axwwallyworld: pastebin the failure?01:38
wallyworldaxw: http://pastebin.ubuntu.com/24010792/01:39
wallyworldipv601:40
wallyworldcode looks ok to me at first glance01:40
wallyworldthere's a bit there in fixAddr to sort out IPv601:40
axwwallyworld: fixAddr isn't even used? :/01:41
axwwallyworld: delete addserver*.go I think01:42
wallyworldaxw: huh, yeah, i think you're right01:42
wallyworldhmmmm01:42
wallyworldaxw: doesn't appear used in develop branch either01:44
axwwallyworld: chop it. I've never come across it before01:44
axwhasn't been touched since 201501:45
wallyworldaxw: https://github.com/juju/juju/pull/699901:47
wallyworldthumper: free for 1:1?01:49
thumperyeha01:49
axwwallyworld: LGTM, thanks01:50
wallyworldyay01:50
wallyworldaxw: talking to tim so will be late for 1:101:51
axwwallyworld: np, ping when01:57
wallyworldaxw: free now02:14
axwwallyworld: just a minute02:14
babbageclunkthumper: easy review? https://github.com/juju/juju/pull/700002:30
* thumper looks02:37
menn0axw: i'm still looking but goswagger is looking like the best fit so far02:38
thumperbabbageclunk: code looks fine, but left a comment for you to check02:38
axwmenn0: it would be great if that can be made to work, it's pretty much the de facto standard now02:39
babbageclunkthumper: thanks02:39
axwmenn0: are there any existing examples of mapping between RPC-style and REST-style with it?02:39
menn0axw: for the existing rpc API I'm wondering about either generating it from the same swagger yaml or having an RPC to REST layer02:40
axwmenn0: not sure, I have no hands on experience02:41
babbageclunkthumper: yeah, I tried that as well, it worked fine.02:42
thumperok, lgtm02:43
axwmenn0: somewhat related: https://github.com/OAI/OpenAPI-Specification/issues/52302:47
axwmenn0 babbageclunk: did either of you fix some proxy related bugs recently? anything that would affect bootstrap on lxd?03:03
menn0axw: babbageclunk did make some proxy fixes recently. not sure how they would affect bootstrap though. what's happening?03:04
axwmenn0: https://bugs.launchpad.net/juju/+bug/1633788/comments/3003:04
mupBug #1633788: juju 2.0.0 bootstrap to lxd fails (connect to wrong "remote" IP address) <canonical-is> <juju> <lxd> <lxd-provider> <s390x> <uosci> <OpenStack Charm Test Infra:Confirmed for 1chb1n> <juju:Fix Released by axwalk> <https://launchpad.net/bugs/1633788>03:05
axwmenn0: 2017-02-16 12:00:56 ERROR cmd supercommand.go:458 new environ: Get https://10.87.204.1:8443/1.0: Service Unavailable03:05
axwmenn0: AFAICS, lxd won't return 503. so I'm thinking it's going through the proxy03:06
menn0axw: I don't think the proxy settings would ever have been used during bootstrap b/c the proxyupdater worker doesn't run during bootstrap03:06
axwI just tested, but now I realise I didn't set https_proxy, only http_proxy03:07
axwhmm ok03:07
babbageclunkit should use the http_proxy for https if there's no https_proxy set.03:08
babbageclunkmenn0: would the proxy settings be set in the env for jujud after bootstrap?03:09
axwbabbageclunk menn0: looks like we do set the proxy settings in cloud-init03:10
axwbabbageclunk menn0: so they would also affect the bootstrap command03:11
babbageclunkaxw: gah, that'll be it then.03:11
babbageclunkaxw: I think you could fix it by initialising juju/juju/utils/proxy.DefaultConfig utils.proxy.DetectProxies()03:13
babbageclunkwant me to do a diff for it?03:13
axwbabbageclunk: what will that do?03:14
babbageclunkIt will set the initial values of the proxy config to whatever's in the env vars.03:15
babbageclunkaxw: Then after that any changes can be made from the proxyupdater.03:19
axwbabbageclunk: that sounds sane I think03:19
axwbabbageclunk: if you would, that'd be good - thanks03:20
babbageclunkaxw: what should I do about an error from initialising a package variable? There's probably no logging available and panicking seems nasty.03:25
axwbabbageclunk: can we just do it in cmd/jujud/main.go, and error out if it fails?03:26
axwbabbageclunk: before we install the proxy thing into the default transport?03:26
babbageclunkaxw: yeah, sounds good03:28
babbageclunkaxw: I'll make the PR against 2.103:36
babbageclunkaxw: https://github.com/juju/juju/pull/700203:42
babbageclunkaxw: trying it out here03:42
babbageclunkaxw: Sorry I missed that - because the original problem was about cached env vars, my QA steps were "bootstrap without proxy set up, deploy something, set proxy, deploy something else"03:51
babbageclunkaxw: I should've thought to check bootstrapping with proxy03:51
axwbabbageclunk: all good03:51
babbageclunkaxw: also, menn0 misled me. :)03:51
axwthis is why we have RCs :)03:51
menn0babbageclunk: wat?! :)03:52
babbageclunkmenn0: well, I should've checked anyway03:54
babbageclunkaxw: so should I ping sinzui so he knows that this should be included in the release?03:55
axwbabbageclunk: wouldn't hurt, I'm not sure if it's too late03:56
menn0babbageclunk, axw: it just occurred to me that what might be confusing to people is that if they bootstrap with --config http_proxy=.... but with $http_proxy not set on the host machine, that proxy on the command line isn't going to get used03:56
menn0I guess that's ok03:57
menn0you don't necessary want the client doing the bootstrap to use the same proxy as the juju deployment03:57
axwmenn0: I think we need to support that case too. i.e. the client goes direct, but the env goes thru proxy03:57
axwright03:57
sinzui babbageclunk change the proxy config after deploy and expect it to be honoured?03:58
babbageclunksinzui: oh hai03:58
babbageclunksinzui: wasn't expecting you to be up03:58
sinzuiI was just checking in on the possible last commit03:59
babbageclunksinzui: axw just pointed out a comment that showed my proxy fix didn't work with bootstrapping.04:00
babbageclunksinzui: the fix is building now04:00
babbageclunksinzui: is it too late?04:00
sinzuibabbageclunk: building as in not merged?04:01
axwbabbageclunk: it's not 100% clear that's the issue there, but it will be in other scenarios at least04:01
babbageclunkaxw: true04:01
babbageclunksinzui: yes04:01
babbageclunksinzui: https://github.com/juju/juju/pull/700204:01
sinzuibabbageclunk: :/04:02
babbageclunksinzui: sorry :(04:02
sinzuibabbageclunk: not too late.04:02
sinzuibabbageclunk: The maas I was worked about is still up so I hope all eill be tested when I wake. I expect to need to reest a few bad substrates like a maas or azure04:07
babbageclunksinzui: it's landed on 2.1 now04:33
sinzuithank you babbageclunk . I ma still reetting a maas so that you branch will pass first time04:34
sinzuithough I think I just worked out how the maas 1.9 is breaking. the squid might be omming04:35
babbageclunkthe squid might be nomming. On some Patagonian toothfish or something.04:49
wallyworldbabbageclunk: your latest PR just missed my forward port of 2.1 into develop05:16
babbageclunkwallyworld: ok - I'll pull it forward into develop now06:06
babbageclunkwallyworld: ping?06:39
wallyworldbabbageclunk: hey06:42
babbageclunkwallyworld: sorry - was having trouble with a merge but I think I sorted it - magit was leading me astray.06:43
wallyworldno worries, i was just at school pickup06:43
babbageclunkget anything good?06:43
wallyworldnope, just a surly 15 year old06:45
wallyworldaxw: lgtm on your pr06:45
axwwallyworld: ta06:46
babbageclunkwallyworld: actually, I'm still having trouble. How should I be doing the merge? My branch is reporting heaps of weird differences with develop.06:46
babbageclunkwallyworld: https://github.com/juju/juju/compare/develop...babbageclunk:merge-proxy-fix?expand=106:47
wallyworldi'd use cheery pick06:47
wallyworldgit cherrypick -m 1 <sha>06:47
wallyworldmerge will give you grief06:47
babbageclunkwallyworld: ah, ok - that's how I'd normally do it, but I thought jam preferred using a merge06:47
babbageclunkwallyworld: that it is06:48
wallyworldyeah, i merged 2.1 this morning and it was ok06:48
babbageclunkwallyworld: ok, cherry picking I can do06:48
wallyworldfor a single commit i tend to cheery pick06:48
wallyworldbut that's just me06:48
=== frankban|afk is now known as frankban
perrito666morning11:51
alexisb_morning perrito66614:17
perrito666alexisb_: morning14:19
=== tvansteenburgh1 is now known as tvansteenburgh
jambabbageclunk: so you can cherry pick, but that makes future merges harder16:07
jamas long as it is 2.1 => develop, I wouldn't try develop => 2.116:07
=== frankban is now known as frankban|afk
babbageclunksorry jam, sounds like I just contributed to the problem again then. Next time I need to do it I'll try to pick your brains. It sounds like I should have just accepted the differences it was reporting?19:28
perrito666I believe EOD/EOW reached me, I am really tired19:40
perrito666cheers all19:40
=== mup_ is now known as mup

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