[00:22] wallyworld: 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? === frankban is now known as frankban|afk [00:23] axw: wil do, i'll also forward port to develop [00:33] PR 6996 and 6998 landed. wallyworld, thumper, menn0, axw, sinzui - rc2 is good to go, right? [00:34] anastasiamac: yeah, i just let sinzui know in #juju [00:34] one step pahead of you :-P [00:34] nice [00:34] * wallyworld merges 2.1 into develop [00:35] wallyworld: one step and probably many years :D [00:35] :-( :-( :-( [00:35] about 9 :-( [00:36] just keep "experienced" in mind [00:36] :D [00:36] and hey! I am still somewhere in my 20s \o/ [00:37] sinzui: wait [00:37] looks like the merge was done into 2.2 branch [00:37] let me check [00:38] sinzui: yeah it was :-( [00:38] i'll have to quickly backport [01:04] doh [01:05] wallyworld: sorry, didn't notice that [01:05] axw: no worries, backporting now but lots of conflicts to sort out, i'll propose soon, just getting tests to pass [01:38] axw: 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=1 [01:38] * axw looks [01:38] wallyworld: pastebin the failure? [01:39] axw: http://pastebin.ubuntu.com/24010792/ [01:40] ipv6 [01:40] code looks ok to me at first glance [01:40] there's a bit there in fixAddr to sort out IPv6 [01:41] wallyworld: fixAddr isn't even used? :/ [01:42] wallyworld: delete addserver*.go I think [01:42] axw: huh, yeah, i think you're right [01:42] hmmmm [01:44] axw: doesn't appear used in develop branch either [01:44] wallyworld: chop it. I've never come across it before [01:45] hasn't been touched since 2015 [01:47] axw: https://github.com/juju/juju/pull/6999 [01:49] thumper: free for 1:1? [01:49] yeha [01:50] wallyworld: LGTM, thanks [01:50] yay [01:51] axw: talking to tim so will be late for 1:1 [01:57] wallyworld: np, ping when [02:14] axw: free now [02:14] wallyworld: just a minute [02:30] thumper: easy review? https://github.com/juju/juju/pull/7000 [02:37] * thumper looks [02:38] axw: i'm still looking but goswagger is looking like the best fit so far [02:38] babbageclunk: code looks fine, but left a comment for you to check [02:39] menn0: it would be great if that can be made to work, it's pretty much the de facto standard now [02:39] thumper: thanks [02:39] menn0: are there any existing examples of mapping between RPC-style and REST-style with it? [02:40] axw: for the existing rpc API I'm wondering about either generating it from the same swagger yaml or having an RPC to REST layer [02:41] menn0: not sure, I have no hands on experience [02:42] thumper: yeah, I tried that as well, it worked fine. [02:43] ok, lgtm [02:47] menn0: somewhat related: https://github.com/OAI/OpenAPI-Specification/issues/523 [03:03] menn0 babbageclunk: did either of you fix some proxy related bugs recently? anything that would affect bootstrap on lxd? [03:04] axw: babbageclunk did make some proxy fixes recently. not sure how they would affect bootstrap though. what's happening? [03:04] menn0: https://bugs.launchpad.net/juju/+bug/1633788/comments/30 [03:05] Bug #1633788: juju 2.0.0 bootstrap to lxd fails (connect to wrong "remote" IP address) [03:05] menn0: 2017-02-16 12:00:56 ERROR cmd supercommand.go:458 new environ: Get https://10.87.204.1:8443/1.0: Service Unavailable [03:06] menn0: AFAICS, lxd won't return 503. so I'm thinking it's going through the proxy [03:06] axw: I don't think the proxy settings would ever have been used during bootstrap b/c the proxyupdater worker doesn't run during bootstrap [03:07] I just tested, but now I realise I didn't set https_proxy, only http_proxy [03:07] hmm ok [03:08] it should use the http_proxy for https if there's no https_proxy set. [03:09] menn0: would the proxy settings be set in the env for jujud after bootstrap? [03:10] babbageclunk menn0: looks like we do set the proxy settings in cloud-init [03:11] babbageclunk menn0: so they would also affect the bootstrap command [03:11] axw: gah, that'll be it then. [03:13] axw: I think you could fix it by initialising juju/juju/utils/proxy.DefaultConfig utils.proxy.DetectProxies() [03:13] want me to do a diff for it? [03:14] babbageclunk: what will that do? [03:15] It will set the initial values of the proxy config to whatever's in the env vars. [03:19] axw: Then after that any changes can be made from the proxyupdater. [03:19] babbageclunk: that sounds sane I think [03:20] babbageclunk: if you would, that'd be good - thanks [03:25] axw: what should I do about an error from initialising a package variable? There's probably no logging available and panicking seems nasty. [03:26] babbageclunk: can we just do it in cmd/jujud/main.go, and error out if it fails? [03:26] babbageclunk: before we install the proxy thing into the default transport? [03:28] axw: yeah, sounds good [03:36] axw: I'll make the PR against 2.1 [03:42] axw: https://github.com/juju/juju/pull/7002 [03:42] axw: trying it out here [03:51] axw: 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] axw: I should've thought to check bootstrapping with proxy [03:51] babbageclunk: all good [03:51] axw: also, menn0 misled me. :) [03:51] this is why we have RCs :) [03:52] babbageclunk: wat?! :) [03:54] menn0: well, I should've checked anyway [03:55] axw: so should I ping sinzui so he knows that this should be included in the release? [03:56] babbageclunk: wouldn't hurt, I'm not sure if it's too late [03:56] babbageclunk, 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 used [03:57] I guess that's ok [03:57] you don't necessary want the client doing the bootstrap to use the same proxy as the juju deployment [03:57] menn0: I think we need to support that case too. i.e. the client goes direct, but the env goes thru proxy [03:57] right [03:58] babbageclunk change the proxy config after deploy and expect it to be honoured? [03:58] sinzui: oh hai [03:58] sinzui: wasn't expecting you to be up [03:59] I was just checking in on the possible last commit [04:00] sinzui: axw just pointed out a comment that showed my proxy fix didn't work with bootstrapping. [04:00] sinzui: the fix is building now [04:00] sinzui: is it too late? [04:01] babbageclunk: building as in not merged? [04:01] babbageclunk: it's not 100% clear that's the issue there, but it will be in other scenarios at least [04:01] axw: true [04:01] sinzui: yes [04:01] sinzui: https://github.com/juju/juju/pull/7002 [04:02] babbageclunk: :/ [04:02] sinzui: sorry :( [04:02] babbageclunk: not too late. [04:07] babbageclunk: 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 azure [04:33] sinzui: it's landed on 2.1 now [04:34] thank you babbageclunk . I ma still reetting a maas so that you branch will pass first time [04:35] though I think I just worked out how the maas 1.9 is breaking. the squid might be omming [04:49] the squid might be nomming. On some Patagonian toothfish or something. [05:16] babbageclunk: your latest PR just missed my forward port of 2.1 into develop [06:06] wallyworld: ok - I'll pull it forward into develop now [06:39] wallyworld: ping? [06:42] babbageclunk: hey [06:43] wallyworld: sorry - was having trouble with a merge but I think I sorted it - magit was leading me astray. [06:43] no worries, i was just at school pickup [06:43] get anything good? [06:45] nope, just a surly 15 year old [06:45] axw: lgtm on your pr [06:46] wallyworld: ta [06:46] wallyworld: actually, I'm still having trouble. How should I be doing the merge? My branch is reporting heaps of weird differences with develop. [06:47] wallyworld: https://github.com/juju/juju/compare/develop...babbageclunk:merge-proxy-fix?expand=1 [06:47] i'd use cheery pick [06:47] git cherrypick -m 1 [06:47] merge will give you grief [06:47] wallyworld: ah, ok - that's how I'd normally do it, but I thought jam preferred using a merge [06:48] wallyworld: that it is [06:48] yeah, i merged 2.1 this morning and it was ok [06:48] wallyworld: ok, cherry picking I can do [06:48] for a single commit i tend to cheery pick [06:48] but that's just me === frankban|afk is now known as frankban [11:51] morning [14:17] morning perrito666 [14:19] alexisb_: morning === tvansteenburgh1 is now known as tvansteenburgh [16:07] babbageclunk: so you can cherry pick, but that makes future merges harder [16:07] as long as it is 2.1 => develop, I wouldn't try develop => 2.1 === frankban is now known as frankban|afk [19:28] sorry 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:40] I believe EOD/EOW reached me, I am really tired [19:40] cheers all === mup_ is now known as mup