/srv/irclogs.ubuntu.com/2016/10/12/#juju-dev.txt

anastasiamacalexisb: m in 1:100:03
alexisbanastasiamac, yep I will be there soon00:03
anastasiamacalexisb: k. thnx :)00:04
alexisbthumper, you back yet?00:33
menn0wallyworld or anastasiamac: https://github.com/juju/juju/pull/643100:40
wallyworldlooking00:41
menn0plz :)00:41
anastasiamacmenn0: lgtm00:42
menn0anastasiamac: thanks00:43
wallyworldmenn0: question00:43
menn0wallyworld: yes?00:43
wallyworldin the test, we are passing the same clock value for clock and pingclock00:43
wallyworldso how is that doing anything different?00:43
menn0wallyworld: no we're not... in these tests, PingClock is the test's clock, Clock is WallClock00:44
menn0wallyworld: sampleConfig() returns a config where Clock is WallClock00:45
wallyworldmenn0: oh right ok, i didn't realise sampleConfig() returned a clock00:45
menn0wallyworld: np00:46
wallyworldso it's ok to use wall clock00:46
wallyworldwe werenm'e before00:46
wallyworldweren't00:46
menn0wallyworld: it doesn't matter for these tests00:46
wallyworldok00:46
menn0wallyworld: the injected clock is used for the code being tested00:46
menn0wallyworld: the other goroutines can use wallclock and do what they like00:46
wallyworldrighto, sorry for dumb question00:47
menn0wallyworld: not at all, glad you're being suspicious00:47
thumperalexisb: am now00:50
menn0wallyworld: you happy with these then?00:51
menn0(that PR)00:51
wallyworldmenn0: yeah00:51
wallyworldi figured you'd hit merge00:51
thumperwallyworld: FYI capital case should be "Last Connection" not "Last connection"01:29
thumperIMO01:29
wallyworldthumper: it's FirstLetter case01:30
wallyworldnot CapitalCase01:30
thumperfugly01:30
alexisb"hi Jay, I missed you today, I love you"01:34
alexisb"mommy I dont love you"01:34
menn0alexisb: :(01:34
alexisb"you dont, why?"01:34
alexisb"because your working mommy"01:34
alexisb:(01:34
menn0alexisb: that sucks01:34
menn0alexisb: last night I got "I hate you daddy, I hate you all and I want to live somewhere else"01:34
menn0bed time related, not work related though01:35
anastasiamacouch :(01:35
alexisbwow01:35
alexisbdid you tell her to count to 182?01:35
menn0bed time is not usually that tough01:35
thumperheh01:37
anastasiamacusually, when kids tell their parents "I hate u" they really mean "I hate the power u have over me" ...01:37
wallyworldhuh, i get "i hate you ian" from everyone all the time01:37
perrito666wallyworld: yup01:38
anastasiamacu must be very powerful :)01:38
blahdeblahI don't hate you, wallyworld; I just hate the fact that sensible-browser isn't, and you still use it anyway. :-P01:39
wallyworldah firefox vs chrome, vi vs emacs, star trek vs star wars01:40
wallyworldi'd use firefox still if it weren't so slow and bloated01:40
blahdeblahNo, nothing that religious; I was just a bit bemused that they could call something sensible-browser that is so demonstrably not so.01:41
mupBug #1632530 opened: 1.25.6 cannot deploy yakkety lxc units on metal <uosci> <juju-core:New> <https://launchpad.net/bugs/1632530>01:42
mupBug #1632530 changed: 1.25.6 cannot deploy yakkety lxc units on metal <uosci> <juju-core:New> <https://launchpad.net/bugs/1632530>02:03
mupBug #1632530 opened: 1.25.6 cannot deploy yakkety lxc units on metal <uosci> <juju-core:Invalid> <juju-core 1.25:Invalid> <https://launchpad.net/bugs/1632530>02:09
mupBug #1632530 changed: 1.25.6 cannot deploy yakkety lxc units on metal <uosci> <juju-core:Invalid> <juju-core 1.25:Invalid> <https://launchpad.net/bugs/1632530>02:12
menn0thumper: you might like this one: https://github.com/juju/juju/pull/643202:28
veebersmenn0, anastasiamac: I believe you mentioned that Christian was working on the memory leak bug? I saw some fixes from him land so I re-ran the long run test and saw a big difference in the overall memory usage (I have commented on the bug 1625774).02:31
mupBug #1625774: memory leak after repeated model creation/destruction <ateam> <eda> <oil> <oil-2.0> <uosci> <juju:In Progress by 2-xtian> <https://launchpad.net/bugs/1625774>02:31
veebershttp://people.canonical.com/~leecj2/perfscalemem/ vs http://people.canonical.com/~leecj2/perfscalemem2/02:31
menn0veebers: looking02:31
thumpermenn0: +102:32
menn0thumper: thanks02:32
anastasiamacveebers: \o/ this is awesome!!!02:42
veebersanastasiamac: it seems that there are a bunch less mongodb actions happening as well02:43
anastasiamacveebers: yeah both memory and mongodb graphs look neater \o/02:45
anastasiamacveebers: m sure alexisb would love this too :D02:46
alexisbyay!02:46
alexisbwallyworld, it works02:47
alexisbthanks02:47
alexisbI will report to aaron in the morning02:47
wallyworldawesome02:47
wallyworldthanks for testing02:47
wallyworldi knew it would work :-D02:48
alexisbwallyworld, well really you tested I pressed buttons02:48
alexisbbut you are welcome :)02:48
alexisbwith that all I am out02:48
wallyworldalexisb: you definitely saw a message saying an update occurred?02:48
alexisbyep02:48
wallyworldgood :-)02:48
alexisbwallyworld, ding02:49
alexisbding02:49
alexisbding02:49
alexisb;)02:49
wallyworlddong02:49
veebersthumper, wallyworld: huh, this isn't good: http://reports.vapour.ws/releases/4474/job/run-unit-tests-xenial-s390x/attempt/66702:51
veebers../../../golang.org/x/sys/unix/flock.go:18: undefined: Flock_t et. al about 5 undefined in total02:52
natefinchruh roh02:52
thumper:(02:53
veebersfiling a bug now02:53
thumperjust in time for GA02:54
thumperwonderful02:54
mupBug #1632483 changed: juju says error: No selected controller. when there is a typo in the -m parameter it should say "could not find specified model" <usability> <juju:Triaged> <https://launchpad.net/bugs/1632483>02:54
veebersfyi bug 163254102:57
mupBug #1632541:  Build fails on s390x due to undefined variables <build> <ci> <regression> <s390x> <unit-tests> <juju:Confirmed> <https://launchpad.net/bugs/1632541>02:57
alexisbthumper, wallyworld we need to get on veebers bug asap ^^^03:01
* wallyworld is finishing addmodel upgrade steps, after that i can look03:03
alexisbthanks wallyworld03:03
natefinchwallyworld, thumper: should just be a godeps update to newer version of golang/x/sys03:04
wallyworldok, ta03:05
* natefinch goes back to twiddling with simplestreams03:07
mupBug #1629817 changed: [arm64] bad cpu-cores detection <arm64> <openstack-provider> <juju:Incomplete> <juju-core:Won't Fix> <juju-core 1.25:Won't Fix> <https://launchpad.net/bugs/1629817>03:12
* redir eod03:15
menn0anastasiamac, thumper or wallyworld : https://github.com/juju/juju/pull/643303:16
wallyworldoooh, a test fix03:17
wallyworldnice03:18
alexisbalright all, I am eod03:19
alexisbsee y'all tomorrow03:20
=== thumper is now known as thumper-afk
wallyworldmenn0: not sur eif you have a moment for a small review. similar code to existing upgrade steps https://github.com/juju/juju/pull/643503:46
wallyworldor anastasiamac ? ^^^^03:58
menn0wallyworld: give me a sec and i'll do it04:13
wallyworldty04:13
wallyworldmenn0: and also a one liner please https://github.com/juju/juju/pull/643604:19
wallyworldnfi how such an old version of that dependency go committed :-(04:19
menn0wallyworld: it probably hasn't changed since 201504:22
menn0wallyworld: ship it04:22
wallyworldty04:22
wallyworldmenn0: i think it was a recent dep addition04:22
menn0wallyworld: ok well that's dumb then04:22
wallyworldwhoever did it just used an outdated version perhaps04:22
wallyworldmenn0: i checked the commit history of that golang project and s390 was a recent addition, so i *think* it will fix it :-)04:24
menn0wallyworld: seems plausible04:24
menn0certainly worth updating04:24
wallyworldif we had wanted to use that package before then we would have been screwed04:24
menn0wallyworld: other one reviewed. a few suggestions but looks fine.04:29
wallyworldmenn0: ty, appreciate it, will fix the issues04:30
wallyworldmenn0: i see you suggestions - that will teach me just to copy and tweak existing code without thinking too hard04:31
menn0wallyworld: haha04:31
wallyworldtoo much to do, sigh04:31
menn0I think we've all done it04:31
wallyworldmenn0: also did you se email about moving tech board meeting forward 2 hours?04:31
menn0wallyworld: yeah, I was just about to write about that04:32
menn0wallyworld: works for me but I don't know about the jam04:32
wallyworldit *should* do, it's his 10am04:32
menn0wallyworld: jam has been idle for over 41 hrs... I wonder if he's on leave04:33
wallyworldmight just be me and you :-)04:33
menn0which kind of defeats the point04:33
* menn0 checks calendar04:33
wallyworldyeah04:33
wallyworldalthough we do need to discuss at least the add-model change04:33
menn0wallyworld: nothing in the calendar04:34
wallyworldi did check yesterday i now recall04:34
menn0wallyworld: there's certainly important things to discuss04:34
wallyworldwe can make a start even if he is not there. he may come on later for his SOD04:35
menn0wallyworld: ok so meet 2 hours earlier then?04:38
wallyworldyep, let's04:38
menn0wallyworld: ok04:38
menn0wallyworld: I'll reply to that email in case John notices that.04:39
wallyworldsgtm, ta04:39
thumper-afkmenn0: replied05:29
thumper-afkwill remove critical logging :)05:29
jammenn0: I just don't chat as much, just Lurk. :)06:00
jammenn0: I'm there now, though it seems wallyworld is away again?06:00
menn0jam: he emailed to say he had to pick up his kid. he'll be back at 20 past.06:03
menn0jam: delay until then?06:03
jammenn0: either way. I don't know what your day is like. Middle of my day so anytime is fine.06:03
menn0works better for me to delay as kids are going mental right now06:03
menn0can help my wife06:04
menn0for a bit06:04
menn0jam: see you in 15mins06:04
wallyworldmenn0: her enow06:22
=== frankban|afk is now known as frankban
=== thumper-afk is now known as thumper
thumperoh... you had the tech board meeting well before what the calendar said07:45
thumperoh well07:45
voidspacefrobware: ping08:06
frobwarevoidspace: pong08:12
frobwarevoidspace: this is happening because it is latest+greatest lxd (2.4.x)08:12
voidspacefrobware: is that right? ah, damn - it means it might not fix the vsphere issue at the same time08:14
voidspacefrobware: does the proposed fix work for lxd < 2.4 ?08:14
frobwarevoidspace: trying now08:15
voidspaceheh, I could try it too08:15
frobwarevoidspace: well... just started looking at this so my hypothesis may turn out to be wrong08:15
thumpero/08:16
thumperare we expecting babbageclunk?08:16
voidspacethumper: as far as I know, yes08:17
voidspacemgz: ping08:19
voidspacefrobware: works fine for me so far with lxd 2.0 (xenial default)08:20
voidspacefrobware: my containers (controller plus two units) have started fine with IPv4 addresses and are active08:22
voidspacefrobware: so the config change hasn't broken the "default case"08:22
frobwarevoidspace: which bug did https://github.com/juju/juju/pull/6430 fix?08:22
voidspacefrobware: I'm not sure there's a specific bug to track this08:22
frobwarevoidspace: my mistake: which bug did https://github.com/juju/juju/pull/6338 fix?08:23
voidspacefrobware: ah, looking08:24
voidspacefrobware: https://bugs.launchpad.net/juju-ci-tools/+bug/162449508:24
mupBug #1624495: operations fails on rackspace because of ipv6 address in dns-name <rackspace> <status> <juju:Fix Committed by mfoord> <juju-ci-tools:Won't Fix> <https://launchpad.net/bugs/1624495>08:24
voidspacefrobware: and it seemed to fix that bug08:25
voidspacefrobware: that pull request should ensure we get IPv4 *if* we have an IPv4 address that matches the requested scope (public)08:25
voidspacefrobware: it won't help if we have a public IPv6 address and only a cloud local IPv408:26
voidspacefrobware: which I assume is what's happening08:26
frobwarevoidspace: so in this case the defaults [auto] for IPv6 is enabled when running lxd init on lxd 2.408:26
voidspacefrobware: we can tweak that code to prefer a cloud local (fallbackScope) IPv4 over a public IPv6 if that's what we want08:26
voidspacefrobware: and that's new in 2.4?08:26
frobwarevoidspace: looking at the steps in: https://bugs.launchpad.net/juju/+bug/1632440, I would say yes.08:27
mupBug #1632440: rc3, lxd 2.4.1, 16.04/16.10 use ipv6 if configured via lxd init <conjure> <ipv6> <oil-2.0> <uosci> <juju:Triaged by rharding> <https://launchpad.net/bugs/1632440>08:27
frobwarevoidspace: the question I have (and I think rick_h_ too) is why didn't our 'prefer ipv4 over ipv6' choose the former?08:28
voidspacefrobware: see my comment above08:28
voidspacefrobware: that pull request should ensure we get IPv4 *if* we have an IPv4 address that matches the requested scope (public)08:29
voidspacefrobware: it won't help if we have a public IPv6 address and only a cloud local IPv408:29
voidspacefrobware: we can tweak that code to prefer a cloud local (fallbackScope) IPv4 over a public IPv6 if that's what we want08:29
voidspaceI've added this as a comment to the bug08:29
frobwarevoidspace: if we did as you suggest wouldn't that a) be better and b) catch other cases like this?08:29
voidspacefrobware: it would be better if we were happy to return a cloud local address when a public one is requested08:30
frobwarehmm08:30
voidspacefrobware: I can prepare a PR with that change08:30
voidspacefrobware: can you repro the bug?08:30
frobwarevoidspace: was about to try08:30
voidspacefrobware: you could test my change to see if it fixes it08:30
frobwarevoidspace: ok, let's do that. if you prepare a patch, I'll look into getting a machine with lxd 2.4 on it08:31
voidspacefrobware: cool08:31
frobwarevoidspace: I cannot repro with 2.0. I changed my local LXD setup to have IPv6 so not sure why we run into this with lxd 2.408:34
voidspacefrobware: *sigh*08:35
frobwarevoidspace: I really want to understand the 2.0 case with IPv6 enabled first.08:35
frobwarevoidspace: bbiab (10 mins)08:40
frobwarevoidspace: oh... so the reason I cannot make it fail with lxd 2.0 on my machine is I disabled IPv6 for some other bug... :)08:58
dooferladfrobware: yay. The future is here :-)08:58
frobwarevoidspace: bug #161495309:00
mupBug #1614953: hw csum failure when IPv6 interfaces configured in netdev_rx_csum_fault+0x38/0x40 <amd64> <apport-bug> <kernel-da-key> <kernel-fixed-upstream> <performing-bisect> <xenial> <linux (Ubuntu):In Progress by jsalisbury> <linux (Ubuntu Xenial):In Progress by jsalisbury> <linux (Ubuntu09:00
mupYakkety):In Progress by jsalisbury> <https://launchpad.net/bugs/1614953>09:00
frobwaredooferlad: ^^ :)09:00
frobwaredooferlad: most of the time I got the csum failure and occasionally my machine panic'd. so I disabled the whole shebang. I did leave myself a note in /etc/sysctl.conf.09:01
* frobware tries to recall what he was doing...09:02
babbageclunkmgz: ping?09:07
* dooferlad tries to think through the haze of fluffy cold brain. Stupid viruses - we have a release!09:07
rogpeppean ultra-small PR to fix a bug (8 character change). could someone review please? https://github.com/juju/juju/pull/643809:08
voidspacerogpeppe: looking09:09
rogpeppevoidspace: thanks09:09
voidspacerogpeppe: hah, LGTM09:10
rogpeppevoidspace: ta!09:10
macgreagoirI was too slow to review, that was a great one! :-D09:11
rogpeppeoh dammit, it causes tests to fail!09:11
rogpeppemacgreagoir: great but flawed!09:12
macgreagoirWill I look more sensibly slow when it breaks the tests?09:13
babbageclunkmacgreagoir: showoff09:14
macgreagoir:-D09:15
rogpeppemacgreagoir: this fixes the fix: https://github.com/juju/juju/pull/6438/files09:16
macgreagoir*coughs* LGTM09:18
babbageclunkrogpeppe: too long now, I'm withdrawing my approval.09:24
babbageclunkI've got a dependency update PR! It's short! https://github.com/juju/juju/pull/643909:24
* babbageclunk doesn't really withdraw his approval it was just a joke.09:28
macgreagoirbabbageclunk: lgtm, fwiw09:30
babbageclunkmacgreagoir: Thanks! You're a graduated reviewer in my heart!09:31
macgreagoirI believe babbageclunk is already drinking in an NZ timezone.09:31
* rogpeppe never "graduated" as a juju reviewer09:32
frobwarevoidspace: can repro with LXD 2.0 and -rc3 now: http://pastebin.ubuntu.com/23312073/09:37
frobwarevoidspace: so baby steps. trying tych0's patch09:37
frobwaremacgreagoir: your patch is tremendously helpful. http://pastebin.ubuntu.com/23312086/09:41
frobwaremacgreagoir: we *must* land this for GA09:41
babbageclunkvoidspace, dooferlad, frobware can I get another +1? Or rogpeppe, even though you're not graduated? :)09:42
macgreagoirfrobware: You can only blame yourself! :-D09:42
frobwarevoidspace: ^^ that's LXD 2.0 with tych0's patch09:42
* macgreagoir is working on it09:42
frobwarevoidspace: I don't see tych0's patch having a positive impact on LXD 2.0... double-checking...09:45
frobwarevoidspace: and that's because it only looks for the config enabled in the new style networking.09:52
frobwarebabbageclunk: I previously ran into build issues when bumping the lxd dependencies - mgz has the detail.09:57
babbageclunkfrobware: Hmm. Good point - I'll confirm with him.09:58
babbageclunkfrobware: Maybe this will be better since there aren't API changes?09:58
frobwarebabbageclunk: added to the PR comment.  but I think the issues are when they build the .debs.09:59
voidspacefrobware: does my PR help?10:00
frobwarevoidspace: let me load that on top.10:04
frobwarevoidspace: looking at your PR - this is quite a change "cloud local is picked over hostname"10:05
babbageclunkI can't raise mgz - frobware do you know whether he's around today? Or is he just head down on release stuff?10:12
frobwarebabbageclunk: given the release you might find he's starting his day later for overlap.10:12
babbageclunkAh right.10:12
voidspacefrobware: yes it is quite a change10:13
voidspacefrobware: does it work?10:13
frobwarevoidspace: for a sample size of 1. :)10:13
frobwarevoidspace: just looking at adding a model, adding 10 containers, verifying no IPv6, destroy model. Lather. Rinse. Repeat.10:14
voidspacefrobware: cool10:14
voidspacefrobware: it does mean that where we would have got a public hostname we can now get a cloud local IP address10:15
voidspacefrobware: I could fix that with a more complex change10:15
voidspacebut maybe we would usually prefer the IP address?10:15
frobwarevoidspace: unless I screwed up... http://pastebin.ubuntu.com/23312299/10:15
voidspacefrobware: so I want to know (from the logs - probably need INFO or TRACE level) what IP addresses those machines have10:16
frobwarevoidspace: looking10:16
voidspacefrobware: I'm pretty confident the address picking code works, so the problem is more likely to be that they *only* have IPv6 addresses10:16
frobwarevoidspace: your branch has only 1 commit, correct?10:16
voidspacecorrect10:16
voidspacethe production change is trivial10:17
frobwarevoidspace: I see IPv4 and 6. http://pastebin.ubuntu.com/23312308/10:17
macgreagoirIf anybody has worked on status output, I'm looking for where indentation is specified, please.10:22
voidspacefrobware: right, but what does the machine agent see10:25
voidspacefrobware: are they still showing ipv6?10:26
voidspacefrobware: in juju?10:26
frobwarevoidspace: http://pastebin.ubuntu.com/23312331/10:26
babbageclunkmacgreagoir: I've worked on that a little bit. Do you mean in yaml serialisation?10:26
frobwarevoidspace: just adding the logs10:27
macgreagoirbabbageclunk: I think so. I need add some indentation to a new list in status and show-machine.10:27
macgreagoirbabbageclunk: https://github.com/juju/juju/pull/642410:27
frobwarevoidspace: http://pastebin.ubuntu.com/23312333/10:28
frobwarevoidspace: the machine-0.log http://pastebin.ubuntu.com/23312338/10:30
frobwarevoidspace: actually that log ^ is of little use10:31
voidspacefrobware: I have a failing test case where it is picking IPv6 over IPv4 - debugging10:31
macgreagoirbabbageclunk: Don't let me eat your time, though thanks. I'm just looking for a shortcut under time pressure, but I'm sure I can find it.10:32
voidspacefrobware: oh for goodness sake10:35
voidspacefrobware: network.NewAddress("10.229.221.170") creates an address with type "hostname"10:35
frobwarevoidspace: controller log: http://178.62.20.154/~aim/controller-machine-0.log10:35
voidspacefrobware: so then juju treats it with equal priority to ipv610:35
frobwarevoidspace: ugh?10:35
voidspacefrobware: http://pastebin.ubuntu.com/23312355/10:36
voidspacefrobware: I believe this is the cause of the problem10:36
frobwarevoidspace: we lack distinction between address and hostname, IMO.10:36
frobwarevoidspace: addresses are bytes. should never be strings until you want to print them.10:37
voidspacefrobware: well, evidently... ;-)10:37
frobwarevoidspace: wow10:37
rogpeppewhat's the status on landing stuff in juju master now? is it supposed to be only critical stuff, or has the release been forked now?10:38
frobwarerogpeppe: my understanding is only critical10:39
rogpeppefrobware: thanks10:39
voidspacefrobware: gah, no - my mistake10:40
voidspacefrobware: I gave it the address 10.299.221.17010:40
voidspacefrobware: which is obviously invalid (299)10:40
voidspacefrobware: given the choice between 10.199.121.170 and the ipv6 address the address selection does work - even on current master without my change10:41
voidspacefrobware: so SelectPublicAddress is not being given that IPv4 address10:41
voidspacecoffee10:41
babbageclunkmacgreagoir: I think frobware's comment about the indentation is wrong (no offence frobware!). That's just how a list of items is represented in YAML. You can see the same format in the Projects section on yaml.org.10:42
rogpeppevoidspace: FWIW I think a string is a perfectly reasonable representation of an address :)10:42
frobwarebabbageclunk: fair enough. I just tried various /other/ indenters and they ... indented lists.10:42
frobwarerogpeppe: semantically broken10:43
rogpeppevoidspace: but i don't think that Type should be part of Address - it should be a method10:43
rogpeppefrobware: how so?10:43
voidspacerogpeppe: agreed10:43
voidspacerogpeppe: it shouldn't be possible for it to be wrong10:43
rogpeppevoidspace: it's always possible for it to be wrong, even if it's just a set of bytes10:43
voidspaceI meant Type10:44
rogpeppevoidspace: ah yes, indeed10:44
frobwarerogpeppe: because you only need it as a string for display. the type system should aid us to disntinguish between hostnames and addresses. if we need a hostname (string) then convert. but the I believe the base type of an IP address is []byte.10:44
voidspacereally coffee10:45
macgreagoirbabbageclunk: Cheers, I'm not seeing any standard flags to indent either. frobware, maybe this could be a nicety for later if we decide it's better?10:45
rogpeppefrobware: it's really useful to be able to connect to an address whether it's a DNS name or IP address10:45
rogpeppefrobware: we do it on the command line all the time10:45
rogpeppefrobware: given that there's no syntactic overlap between the two, having a single string representation seems good to me10:46
frobwarerogpeppe: sure. it's more about the internal type.10:46
rogpeppefrobware: why does it matter?10:46
frobwarerogpeppe: ^^ network.NewAddress("10.229.221.170") creates an address with type "hostname"10:47
rogpeppefrobware: in my view, very little code should need to care about addresses as other than an opaque string10:47
rogpeppefrobware: it doesn't10:47
rogpeppefrobware: (i checked)10:47
frobwarerogpeppe: we've also given this problem to the charmers - when we say "address" they say I want to both "address" and "name"10:48
rogpeppefrobware: ?10:48
frobwarerogpeppe: network-get address10:48
frobwarerogpeppe: it's not clear what that returns. they faff around trying IPaddress? symbolic-hostname? should I always convert?10:49
frobwarerogpeppe: if we had: network-get hostname and network-get address then it would be clearer10:49
rogpeppefrobware: why should it matter?10:49
frobwarerogpeppe: apparently it matters to the. hadoop for one.10:49
babbageclunkfrobware: I think it's just a neither-a-bug-nor-a-feature of the particular yaml serialiser we use.10:49
rogpeppefrobware: if you need an ip address and your software doesn't know how to resolve it, then you can resolve it easily10:50
rogpeppefrobware: FWIW network-get seems to document that it returns an IP address10:51
frobwarerogpeppe: except for the times it returns a symbolic name10:51
rogpeppefrobware: in that case the doc should be changed10:51
rogpeppefrobware: (or the code changed)10:52
frobwarerogpeppe: the charmers want both 'name' and 'address'. where 'address' is always an IP address (in string format)10:52
rogpeppefrobware: what would "name" return if there's no DNS name?10:53
frobwarerogpeppe: IP address.10:53
rogpeppefrobware: ha ha10:53
frobwarerogpeppe: :)10:53
frobwarerogpeppe: but that's OK...10:53
frobwarerogpeppe: what needs fixing is DNS10:53
rogpeppefrobware: so what's wrong with just returning something that's either a name (which can be resolved) or an IP address (if there's no name) ?10:53
rogpeppefrobware: what's wrong with DNS?10:54
frobwarerogpeppe: semantically they want the distinction: if I call `network-get address` I know that will always be a dotted-quad.10:54
frobwarerogpeppe: nothing wrong with DNS except we don't always end up with a setup that resolves names. and that's just a bug.10:55
rogpeppefrobware: if it's really too much hassle for charm software to resolve a DNS name then you could add a --resolved or --numeric flag to network-get10:55
frobwarerogpeppe: oh... I think the issue is more on the juju/maas/cloud side10:55
rogpeppefrobware: ah, so it can return a DNS name that's unresolvable?10:55
frobwarerogpeppe: correct. bug.10:55
rogpeppefrobware: if that's the case, how could the charm resolve it to return it?10:56
rogpeppes/the charm/juju/10:56
frobwarerogpeppe: they shouldn't have to. if DNS is working then `network-get address` and `network-get hostname` would just be correct. Assuming that's actually your question.10:57
rogpeppefrobware: so the bug is really that it's returning invalid DNS names, not that people need numeric IP addresses per se?10:57
frobwarerogpeppe: certain s/w want both to forwars/reverse resolve correctly: http://sujee.net/2012/03/08/getting-dns-right-for-hadoop-hbase-clusters/10:58
frobwarerogpeppe: the java big data stacks seem to be the pickiest10:59
frobwarerogpeppe: (hopefully) no offense, but need to step out of this discussion and fix the IPv6 issue ...11:00
rogpeppefrobware: np :)11:00
* rogpeppe undistracts11:00
frobwarevoidspace: where are we... ? :)11:11
macgreagoirdimitern: Just a reminder that you wanted to comment on https://github.com/juju/juju/pull/6424 too.11:11
voidspacefrobware: well, tych0's fix works for 2.4, but not for 2.0 for you - right?11:12
frobwarevoidspace: I need to _actually_ try on 2.4.11:12
voidspacefrobware: and my fix doesn't help 2.0?11:13
frobwarevoidspace: I understand why it doesn't.11:13
frobwarevoidspace: not unless you've pushed since11:13
voidspacefrobware: I haven't11:13
voidspacefrobware: so the problem is not in address selection but in the addresses we see for the machine11:13
dimiternmacgreagoir: hey, yeah - sorry I got distracted, looking now11:13
macgreagoirCheers :-)11:13
voidspacefrobware: which I think is the same problem vsphere has11:14
voidspacefrobware: but I can't repro11:14
voidspacefiddling with my lxd settings11:14
frobwarevoidspace: to repro on LXD 2.0 you need to reconfigure LXD to use IPv6 - by default I was only using IPv4.11:15
voidspacefrobware: yeah, just done that with dpkg-reconfigure11:15
frobwarevoidspace: and for LXD 2.4 this might be the easiest way: https://lists.ubuntu.com/archives/snapcraft/2016-October/001327.html11:16
rick_h_frobware: voidspace ty for helping to chase this down. As lxd 2.4 is going to get backported I'm mostly concerned there.11:26
rick_h_frobware: voidspace if we can get it working back in 2.0 that's a bonus imo11:27
frobwarerick_h_: the 2.0 case could be just a release note atm11:28
rick_h_frobware: k, and we can go the route that folks need to configure an ipv4 only lxd to get it to work there, for instance.11:28
frobwarerick_h_: yep, it's essentially the message you would [now] get on LXD 2.4 with IPv6 enabled.11:29
* rick_h_ has to get the boy fed and dressed for school, biab11:29
rick_h_macgreagoir: how's the upgrade steps looking?11:30
frobwarerick_h_: but having faffed around a bit, I think we could do the same change but detect in /etc/default/lxd-bridge11:30
macgreagoirrick_h_: They tested OK for me. Sent you and wallyworld an email with details.11:30
rick_h_frobware: k, just need something as solid as we can get this morning so we can build a GA today.11:30
* frobware goes back to actually trying LXD 2.411:31
rick_h_macgreagoir: k, please pull in any help to get reviewed/landed so it's not blocking GA11:31
macgreagoirrick_h_: It's already merged, so I think we're grand.11:31
voidspacewith ipv6 enabled and lxd 2.0 I see containers with both IPv6 and IPv4 addresses, but juju picks (correctly) the ipv4 address11:34
voidspacethat's with current master11:35
voidspaceso I can't repro11:35
voidspaceyet11:37
frobwarevoidspace: how do you determine that it correctly picks IPv4? from status, something else?11:37
voidspacefrobware: from status11:37
voidspacefrobware: in the problematic cases, status was showing an ipv6 address - status address comes from dns-name which is PreferredPublicAddress11:38
voidspacewhich comes from address selection11:38
dimiternmacgreagoir: you've got a review on 642411:42
* macgreagoir looks11:42
macgreagoirdimitern: Cheers, I've just been looking at ScopeMachineLocal and ScopeLinkLocal in tests.11:43
dimiterntych0: you've got a review on 6430 as well11:47
voidspacemgz: ping13:24
mgzvoidspace: yo13:28
voidspacemgz: I'm still trying to connect to vsphere and I wondered if you had any further ideas13:31
voidspacemgz: I can ssh in now13:31
mgzvoidspace: okay, so now do exactly what the vsphere-deploy-trusty-amd64 job does?13:33
mgzbe jenkins, export JUJU_DEV_FEATURE_FLAGS=vsphere-provider13:33
mgzand run the ci script?13:34
voidspacemgz: ok, will try - otp right now13:34
voidspacemgz: thanks13:34
rick_h_natefinch: ping13:49
natefinchrick_h_: yo13:50
rick_h_natefinch: howdy, how goes the streams tool work? It's the last issue blocking GA atm.13:51
natefinchrick_h_: I couldn't reproduce the problem last night.  It seems to work fine for me13:51
natefinchrick_h_: I was just about to ping sinzui about it13:52
rick_h_natefinch: please get with sinzui then as he's pretty confident it doesn't work. I think there's some misunderstanding about what works and what doesn't.13:52
katcorogpeppe: hey, fyi discussion of your retry package was bumped from this week's tech board meeting due to time. it's on the docket for next week13:52
rogpeppekatco: thanks. yeah, i heard from menno this morning.13:53
rogpeppekatco: unfortunately i'll be away at a sprint next week13:53
katcorogpeppe: I responded to your review yesterday with some questions. just a few; we should be able to get this landed13:53
rogpeppekatco: i thought it might be nice to join that discussion13:53
katcorogpeppe: agreed. i think it's in your morning?13:54
rogpeppekatco: i'm not sure i should land it now as it's all frozen for GA, right?13:54
sinzuinatefinch: the bug was reported after you were trying to make streams with 2.x agents. If generate-tools now makes streams with 2.x agents, and juju can bootstrap with them, then the bug is fixed13:54
katcorogpeppe: oh, has that happened already?13:54
rogpeppekatco: it'll be at 10am CET I think13:54
rogpeppekatco: i'm not sure. someone assured me we should only land critical bug fixes and i don't think that really counts as that.13:54
rick_h_rogpeppe: katco +113:55
katcorogpeppe: hm, ok.13:55
rick_h_rogpeppe: katco we've got one blocker landing atm and natefinch's is the last thing we're waiting for GA to go final13:55
katcorogpeppe: well at any rate, happy to carry on discussion so we can land for 2.113:55
katcorick_h_: cool13:55
rogpeppekatco: i actually wanted to get the next PR (dependent on that one) landed because that changes a controller config attribute name, but i think the delays to that PR have made that infeasible13:55
natefinchsinzui: I'm not sure the repro steps in the bug are sufficient for me to be confident about the fix.  I trust that you tried it and it didn't work... I'm just not sure where the disconnect it13:55
natefinchs/it/is/13:55
sinzuinatefinch: i have not tried in in weeks13:56
rogpeppekatco: i guess we'll just have to live with the wrong config attribute name for 5 years :)13:56
rick_h_rogpeppe: juju 2.0 isn't on a 5yr plan :P13:57
natefinchsinzui: I would appreciate if you could give it a try.  I hope it was just a momentary thing that is now past... but I think it would be faster for you to just try it than to try to give me exact steps.13:57
rogpeppekatco: thanks for the on-going reviews BTW13:57
rick_h_rogpeppe: so I think only 18mo?13:57
rogpepperick_h_: oh, that's good!13:57
rick_h_rogpeppe: or we make it backward compatible. Accept both values, but move the docs/etc to the new value name13:57
rick_h_rogpeppe: so you can push things forward in a clean way13:57
katcorogpeppe: more than happy to do so. trying to find that balance between expediency and making sure we're moving the codebase in a good direction with every commit13:57
sinzuinatefinch: so you got streams with 2,x in them and juju bootstrapped with them. If, so the bug is fixed13:57
rick_h_sinzui: this can be used with canonistack correct? to test it out?13:58
voidspacehaving to reset network13:58
voidspacebbiab13:58
rick_h_natefinch: have you generated the file and attempted to use it as streams to bootstrap against?13:59
rick_h_natefinch: sinzui this means sticking the file up at some url and referencing that via bootstrap config correct?13:59
natefinchrick_h_: I generated the streams and they have 1.25 and 2.x in then... I don't actually know how to bootstrap with them13:59
sinzuirick_h_: yep, any cloud and lxd. So long as your localhost and the controller machine can see the streams that agent-metadata-url point to, the test is valid. bootstrap with --debug so that juju will show you where it downloaded the agent from.14:00
rick_h_natefinch: https://jujucharms.com/docs/2.0/howto-privatecloud14:00
rick_h_natefinch: does that work with the file you get14:00
mgzstand-de-up?14:01
rick_h_natefinch: dimitern voidspace ping for standup14:01
natefinchrick_h_: I don't have openstack.  I have a maas, not sure how to use these generated simplestreams with them though14:01
natefinchrick_h_: figuring it out now... bootstrapping with tools-metadata-url IIRC14:04
sinzuinatefinch: The problem is the same. run generate-tools with some agents you downloaded. push the generate tree to a website iike people.canonical.com or to swift like canonistack, or to s3 in aws.14:04
sinzuinatefinch: use "agent-metadata-url" tools-* was obsoleted more than 6 months ago14:05
natefinchsinzui: oh yeah, I was looking at old docs14:06
natefinchsinzui: it's too bad, the old docs were a lot clearer14:07
tych0dimitern: you around?14:08
sinzuinatefinch: https://jujucharms.com/docs/2.0/howto-privatecloud is not about agents.14:09
sinzuinatefinch: That is about image streams. So the new docs are missing 50% of the work14:09
sinzuinatefinch: https://jujucharms.com/docs/1.25/howto-privatecloud#tools-metadata is the relavent part from the old docs14:10
macgreagoirfrobware dimitern: PR 6424 has a new commit, whenever you're ready, please.14:11
natefinchsinzui: when I specified agent-metadata-url ... do I specify the /tools directory, or the directory above that? I can never remember14:13
sinzuinatefinch: the directory that contains streams/14:14
dimiternmacgreagoir: one comment added, but I couldn't see tests with IPv6 addresses?14:19
macgreagoirdimitern: https://github.com/juju/juju/pull/639314:20
macgreagoirdimitern: ignore ^14:20
macgreagoirdimitern: https://github.com/juju/juju/pull/6424/files#diff-e3aecf740b74fe827fbd780d709c29e5R260514:20
rick_h_dooferlad: I'm going to head back from the coffee shop, should be back on in time for our meeting, but if I'm a min/two late be right there14:20
natefinchaaahhhh $ juju credentials14:29
natefinchERROR removing secrets from credentials for cloud azure: auth-type "userpass" not supported14:29
katcorogpeppe: your pr lgtm14:29
rogpeppekatco: thanks14:29
katcorogpeppe: ty14:29
rogpeppekatco: BTW I don't always for two LGTMs from core, but I would never submit a PR after someone had asked for changes without getting their +1 first.14:30
rogpeppes/for/ask for/14:30
katcorogpeppe: ack; that is very gracious of you14:31
katcorogpeppe: i feel the same way14:31
rogpeppekatco: isn't that, like, a thing14:31
katcorogpeppe: i dunno, i've seen review-points get summarily dropped14:31
rogpeppekatco: i'd be disappointed in general if someone did it to me. otherwise i could just go around to someone else if i didn't like the review someone had given me.14:31
katcorogpeppe: yeah14:32
rogpeppekatco: well, if that really happens, it's not ok14:32
natefinchHopefully no one just drops review points without a discussion.  Sometimes the discussion may happen outside the review tool, so it may not be obvious (which is I why I try to note it if it was - "per discussion with x...")14:36
katconatefinch: saw it happen a few times ("disagree" & close)14:39
natefinchrick_h_, sinzui: bootstrapping with the generated file and agents in 2.0 seems to work fine.14:41
sinzui:)14:41
rick_h_natefinch: <3 is that with any change or just as it is in trunk?14:42
natefinchrick_h_, sinzui: as it is in trunk14:42
rick_h_katco: can you please get with natefinch and provide a confirmation there please?14:42
sinzuinatefinch: you used 2.0.0?14:42
natefinchsinzui: current master, yes14:42
sinzuinatefinch: maybe devel agents are the problem...I am not sure I care if juju cannot make streams for devel agents14:42
katcorick_h_: natefinch: sure... what do you need me to do?14:42
natefinchkatco: I'm looknig at this bug: https://bugs.launchpad.net/juju/+bug/161385814:43
mupBug #1613858: generate-tools ignores 2.x agents and creates bad path <jujuqa> <metadata> <regression> <rteam> <simplestreams> <streams> <juju:Incomplete by natefinch> <https://launchpad.net/bugs/1613858>14:43
rick_h_katco: natefinch maybe best to hop on a HO and walk through it and make sure it's replicatable14:43
natefinchkatco: moonstone?14:44
natefinchhttps://hangouts.google.com/hangouts/_/canonical.com/moonstone?authuser=214:44
katconatefinch: sure14:44
macgreagoirdimitern: This time :-) https://github.com/juju/juju/pull/642415:09
macgreagoirdimitern frobware katco: I'm not sure if that PR qualifies as changing a published API (adding IPAddreses). ^15:10
dimiternmacgreagoir: strictly speaking, yes it does15:11
rogpeppenatefinch: FWIW i replied to your comment and made some minor changes to https://github.com/juju/utils/pull/245.15:12
* macgreagoir takes a look to see if that can be avoided...15:12
dimiternmacgreagoir: LGTM15:13
katcomacgreagoir: hm, i don't know our stance on that. I don't think adding fields should break backwards compatibility15:13
katcomacgreagoir: but i'm not positive15:13
dimiternmacgreagoir: it can't be avoided, but adding stuff is less of an issue than changing/removing stuff15:13
katcomacgreagoir: don't those fields need comments?15:13
katcodimitern: well, it can be avoided by bumping the facade revision15:13
dimiternkatco: sure :) .. if there was a release with the new api version so far15:14
katcorick_h_: do you happen to know if adding fields to API params requires a facade revision bump?15:14
katcodimitern: we have promised backwards compatibility from rc1 i think?15:14
rick_h_katco: adding should not, the name of the field is new/different? or have we changed the type of an existing field?15:15
katcorick_h_: macgreagoir correct me if i'm wrong, but looks like just new fields15:15
rick_h_katco: as long as we add it as a new field and didn't remove the old then no, shouldnot require any bump15:15
macgreagoirkatco: You are not wrong.15:15
macgreagoirAdded15:16
katcomacgreagoir: cool, should be good then. please throw some comments on there. i don't know why we seem to be ignoring that rule in this file...15:16
macgreagoirrick_h_: Aye, it is a new field, no existing have been changed.15:17
macgreagoirkatco: Let me add some comments...15:17
rick_h_macgreagoir: <315:17
natefinchrick_h_: katco was able to generate the streams as well, do we need to do the whole upload to s3 thing from her machine as well?15:34
natefinchsinzui: ^15:34
rick_h_natefinch: a whole bootstrap. if we can bootstrap --debug and it's using the streams/etc then cool15:35
natefinchrick_h_: ok15:35
katcodoes anyone know how to use s3cmd to get the url for an s3 bucket?15:58
natefinchif you can get the UUID of the bucket, it should just be  https://s3.amazonaws.com/<uuid>15:59
macgreagoirkatco: If you please, https://github.com/juju/juju/pull/6424/files#diff-8af0b17f03b1bac65594c1e20a5798ecR4716:06
katcomacgreagoir: look great, ta!16:07
macgreagoirIt's all my fault from here on in if the comments are misleading!16:07
katcomacgreagoir: lol16:07
redirmacgreagoir: I think your last comment was misleading16:21
macgreagoirredir: It's not alwayas real hardware, I know.16:21
redirapparently I need to work on my deadpan delivery16:23
macgreagoir:-D16:23
redirso I got an alert today that I am OCR next week, and I have no idea where that comes from.;16:25
frankbanhey rick_h_: who can we ping for problems bootstrapping juju on openstack provider?16:25
macgreagoirrick_h_: The list-ip-addrs-in-status PR is approved. Is it good to merge or has it missed the deadline?16:26
frobwarerick_h_: in respect of the deadline I'm still doing the LXD fix16:28
rick_h_frankban: what's up? file a bug and we'll see if we can see what's up16:29
rick_h_macgreagoir: yes please land16:29
macgreagoirrick_h_: ack16:30
frankbanrick_h_: we are trying to bootstrap juju on openstack in bastion, and it's stuck on "waiting for address", but at this point we don;t know if we missed something in the process or if it's a juju bug16:30
frankbanrick_h_: we'd like some help to unblock us, in preparation for demos16:31
rediranyone seen this cannot start bootstrap instance: no "xenial" images in us-west-1 with arches [amd64]16:33
redir?16:33
katcosinzui: how would i tell bootstrap to look for devel streams instead of released?16:34
rick_h_frankban: k, you're vpn'd in or have access to the address that was allocated to the machine?16:35
katcolarger question, how do i enumerate the possible config values?16:35
rick_h_frankban: k, the best folks might be other folks using bastion or openstack users there unfortunately. Maybe reach out to nice OS folks like beisner or thedac16:36
frankbanrick_h_: yes we'll ask them, ty16:36
natefinch_katco: you mean bootstrap --config values?  (I may have missed a bit, had to log out and back in).16:37
sinzuikatco: add "--config agent-stream=devel" at boostrap16:37
natefinch_katco: I don't think we have a way to list them... there's docs, but I don't know how up to date they are16:38
redirkatco: --config agent-stream=devel or something16:38
redirdoh16:38
katconatefinch_: couldn't find docs =/16:39
katcosinzui: ta, i was using image-stream16:39
natefinch_yeah, the docs are well hidden16:39
natefinch_katco: https://jujucharms.com/docs/2.0/models-config16:40
redirso are the images16:40
redirI can't deploy xenial or trusty to us-*-*16:41
sinzuiredir: is that aws us-west-1?16:44
natefinch_I hate the way we call that model config even though almost all of those are controller-specific.  I mean, you can't have a different agent-metadata-url per model, can you?16:44
sinzuiredir: no, I think it is google16:44
sinzuinatefinch_: yes, I think juju should be more like snaps in this case. juju bootstrap --devel16:45
redirsinzui aws us-west/east-1/216:45
* redir removes custom clouds16:46
sinzuiredir us-west-1, us-west-2, and us-east-1 do have both xenial and trusty16:48
sinzuiin aws16:48
redirsinzui: yea I have a custom cloud which makes the closest region to me the default and speeds up dev time waiting for it to spin up... It has worked since April and suddenly seems to have stopped16:49
redirwhich is probably unrelated to streams other than the error16:50
redirnext I blame --build-agent16:50
frobwarerick_h_: https://github.com/juju/juju/pull/6430 is good to merge - did I miss the deadline?16:54
rick_h_frobware: no, we're holding for athat and natefinch_'s work so please go ahead and merge16:55
rick_h_natefinch_: katco how are we doing? is it still working properly and can bootstrap with the generated streams file?16:56
katcorick_h_: i am still trying to bootstrap with the generated streams16:57
rick_h_katco: k, ty for the update16:57
frobwarerick_h_: I need to run but $$merge'd.16:57
redirlooks like we changed things in rc216:58
rick_h_frobware: k, will watch it ty16:58
=== frankban is now known as frankban|afk
natefinch_sinzui: do we have a CI test for this?  Seems like "two devs tried it and it sorta seemed to work" is not the best verification strategy ;)17:03
sinzuinatefinch_: we do not. We stopped using generate-tools in January. When you asked me how to make streams a few weeks ago, you reported that your 2.x agents were not found, when I ran the commands, I confirmed 2.x agents were skipped and that the directory structure was incorrect17:05
natefinch_I just retried, making sure to use --agent-stream=devel and it still seems to work.  The log output is kind of hard to read, so it's possible it's not actually downloading from my S3 bucket... but I think it is: http://pastebin.ubuntu.com/23313802/17:14
natefinch_oh, no, wait, it's not17:15
natefinch_crud17:15
katcosinzui: natefinch_: that's where i'm stuck at. this concerns me: found 0 packaged agent binaries17:15
natefinch_No packaged binary found, preparing local Juju agent binary17:15
katconatefinch_: that's the message i'm getting so i was triyng to figure out if i had it set up wrong or if it really just isn't17:15
sinzuikatco: does the com file for released or devel list the binaries you made17:15
natefinch_sinzui: mine does: http://pastebin.ubuntu.com/23313815/17:17
natefinch_I gotta run.  Doctor time.  Good luck guys, sorry I  can't be of more help debugging.17:18
natefinch_s/guys/fellow engineers/17:18
rediryup, it ignores old region endpoints, replacing it with new region endpoints from goamz. But then it must ignore that change or just use the now bad endpoint data to find instances. Not too sure, but updating endpoints in my custom config WFM.17:19
katcosinzui: i don't think it does, just the 1.24.1 series, not 2.0?17:24
sinzuikatco: :(17:25
katcosinzui: looking at nate's comment on the bug, it looks like it does? i was running master17:26
katcosinzui: i.e.: "com.ubuntu.juju:16.04:amd64": {17:26
sinzuikatco: I will try with a recent juju and and a few agents17:27
katcosinzui: sorry, i don't deal with this a lot. i might be fumbling somewhere17:27
sinzuikatco: I think that fact that "juju metadata generate-tools -d <tools_dir>" doesn't just work or doesn't work with --stream means we have an enterrpise problem17:28
katcosinzui: if that is indeed the case, then i agree17:30
sinzuikatco: We are special though. We have lots of jujus and possibly juju-metadata plugins. I am removing everything juju juju-2.0 from my host17:32
katcosinzui: ah i had the dir structure wrong when i generated, retrying the bootstrap17:41
sinzuikatco: indeed I think I did that too. I just say juju-dist/tools/tools appear17:42
katcosinzui: i'm still getting: 12:42:20 INFO  juju.environs.bootstrap tools.go:74 found 0 packaged agent binaries17:43
katcosinzui: but i still don't trust my result. i have a feeling i'm doing something wrong17:43
sinzuikatco: do you see tools/streams/v1/index2.json and does its point to a com file with the agents you have? the end agent-metadata-url you set needs to end with the "tools"17:44
katcosinzui: yes, the generated stuff looks correct. the url is not as you say. let me append it with the path up to and including "tools"17:45
katcosinzui: yay: 12:46:29 INFO  juju.environs.bootstrap tools.go:74 found 1 packaged agent binaries17:46
katcosinzui: so i think it's working as intended?17:47
sinzuikatco: I am getting bogus results17:48
sinzuikatco: the com file has every puiblished agent ever, but not just the 3 agents I want in my cloud's streams17:49
katcosinzui: mine has just the agents i specified17:49
katcosinzui: when i didn't have the directory structure correct, it had every agent ever17:49
katcoso now i have mystreams/tools/devel/*.tgz17:50
katcojuju metadata generate-tools -d mystreams --stream devel --debug17:50
katcosinzui: and that works for me17:50
sinzuikatco: This is what I did https://pastebin.canonical.com/167729/17:55
katcosinzui: can you do a --debug on metadata generate-tools ?17:57
sinzuikatco: https://pastebin.canonical.com/167730/18:05
sinzuikatco: per the bug, I think I can instread pass juju-dist/tools and the agents will be found, bug I get a tools/tools dir :(18:06
katcosinzui: i just pass the parent of tools18:06
katcosinzui: can you name your root something more boring? foo or something?18:06
sinzuikatco: the debug out shows streams.canonical.com was called. the mirrors is only on that host18:06
sinzuikatco: yes, foo it will be18:07
katcosinzui: and what version of juju is this?18:07
sinzuikatco: juju version18:08
sinzui2.0.0-xenial-amd6418:08
sinzui^ katco froma  few hours ago18:08
katcosinzui: from tip?18:08
sinzuiit was tip a few hours ago18:08
katcosinzui: cool, same here18:08
sinzuikatco: you don't pass -m?18:09
* sinzui wonders if juju is reading something like his racksapce model and deciding that streams.canonical.com is to be used18:10
sinzuikatco: with foo and again streams.canonical.com was used https://pastebin.canonical.com/167732/18:12
katcosinzui: i get the same result you do if i don't pass a --stream18:12
sinzuikatco: okay, I will pass --stream released18:12
katcosinzui: that may be the bug18:13
sinzuithat is different :)18:13
katcosinzui: so that works?18:13
sinzuikatco: yes: https://pastebin.canonical.com/167733/18:14
katcosinzui: ok, and then i assume a bootstrap will work as well18:14
sinzuikatco: I think we hit a problem with juju 1's old "releases" dir. I am going to reset and rename released => release and see if it finds the agents18:15
sinzuiyep, . the bug is that there is a juju-1 ism in it18:16
sinzuikatco: https://pastebin.canonical.com/167734/ shows that juju defaults/requires tools/releases, btu the help says "released" and the product file (com file) is also "released"18:18
bodie__so I was just now using dlv debugger to step through an io.ReadAtLeast where len(buf) and min both were 018:24
bodie__but once I was inside the func, printing the value of the int return value ("n") gave a result I didn't expect: 232576018:25
bodie__can anyone help me understand how this could happen?18:25
bodie__it was being called from io.ReadFull18:25
sinzuikatco: --stream devel or beta or pting works. So I think --stream is required, not an option. Since juju assumes the stream name is "released" I think we should fix juju to look for that dir.18:25
bodie__damn.  this was intended for #go-nuts -- sorry!18:25
rick_h_bodie__: :P18:26
* bodie__ awkwardly takes his leave :D18:26
katcosinzui: sorry got a phone call (otp)18:31
sinzuikatco: the juju 1 docs for private cloud do wook for juju2 because it tell uses to put agents in "releases" it makes no mention of --streams.18:35
perrito666is there anybody from the tech board awake?18:39
katcoperrito666: o/ but i need to get lunch18:40
perrito666katco: defer ping()18:40
katcoperrito666: do you have a question i can mull while i lunch?18:40
perrito666katco: sure, typing18:41
katcosinzui: can we clean up your bug to be more about the streams flag default not working?18:42
katcosinzui: and do you feel that represents the problem wholly?18:42
perrito666our s390 build is broken because of the introduction of golang.org/x/sys/unix which requires some extra steps by hand to compile (which include cgo) I believe I might be able to remove said dependency since its used for a very small thing (calculating fs free space in a more accurate way than previously done iiuc)18:42
perrito666so my question is18:42
perrito666nothing is worth the pain of cgo right?18:43
katcoperrito666: almost certainly not, but let me mull18:43
perrito666katco: thanks for the shared head procesing :)18:43
sinzuikatco: yes, I think the --streams is the extent of the issue now18:44
sinzuikatco: I updated the bug https://bugs.launchpad.net/juju/+bug/161385819:03
mupBug #1613858: generate-tools ignores 2.x agents and creates bad path <jujuqa> <metadata> <regression> <rteam> <simplestreams> <streams> <juju:In Progress by natefinch> <https://launchpad.net/bugs/1613858>19:03
perrito666I would really appreciate a rather urgent review https://github.com/juju/juju/pull/644019:20
alexisbkatco would appriciate a review on https://github.com/juju/juju/pull/644019:26
thumperperrito666: s390x fix approved19:30
perrito666thumper: tx, merging19:30
thumperperrito666: did you test it on s390 already?19:30
perrito666thumper: its a revert19:30
thumperah19:31
thumperok19:31
perrito666thumper: that method was the way it was done before19:31
thumperack19:31
perrito666np19:31
perrito666brb, small errand before the sky falls on our heads19:43
rick_h_katco: ping, do you have a sec to fill me in on the bug update and where we go from here please?19:48
katcorick_h_: yep19:48
rick_h_katco: meet you in standup meeting?19:48
katcorick_h_: ok19:48
babbageclunkthumper: ping20:11
thumperbabbageclunk: hey20:11
* thumper joins hangout20:11
menn0perrito666 (and thumper): I see you merged the change to remove the golang.org/x/sys dep20:15
menn0wallyworld updated that to the latest version yesterday20:15
menn0the newer version claimed to include s390x support20:16
menn0we were using a rev from 2015 before20:16
menn0did that not help?20:16
wallyworldthe commit logs lied it seems :-(20:16
menn0wallyworld: or it wasn't complete s390 support20:18
menn0thumper: I see you hit a few intermittent test failures... I'm making sure there's bugs for them20:19
thumpermenn0: thanks20:20
menn0thumper, wallyworld: do you know why Juju prints this at bootstrap? "Launching controller instance(s) on maas2..."20:22
menn0why plural on controllers?20:22
menn0instances even20:22
menn0is there ever a case where bootstrap will result in more than once instance20:23
menn0?20:23
thumperno20:23
thumperseems stupid20:23
redirlooks like model-defaults is broken. when supllying a region it now complains "error: No selected controller"20:27
alexisbredir, we need to get on top of that20:30
redir:|20:33
katcolast remaining blocker (an honor) for 2.0 need review. very simple: https://github.com/juju/juju/pull/644120:40
menn0katco: looking20:41
katcomenn0: ta20:41
menn0katco: done. just some help tweaks.20:50
katcomenn0: tal20:50
perrito666wallyworld: menn0  the commit logs where true-ish, for support there are a set of steps required to be run20:51
perrito666wallyworld: menn0 we are a bit on the edge to add all that to the build procedure20:51
perrito666it depends on cgo20:51
menn0perrito666: that's fine. just making sure you and wallyworld weren't tackling the same problem in different ways.20:52
katcomenn0: addressed your comments, thanks21:07
alexisbmenn0, when you are done with the review i am on our 1x1 HO21:09
menn0katco: looks good but I noticed one minor problem.21:09
katcomenn0: sure21:09
menn0katco: oh, and you didn't do the "#" change?21:10
katcomenn0: sorry, the "#" change?21:11
katcomenn0: lol sorry just saw it21:11
alexisbso redir what command exactly is failing?21:11
menn0katco: sorry, I shouldn't have mixed up 2 things in the one comment21:12
katcomenn0: no worries should have caught that21:12
katcomenn0: should it still be a bulleted list? or just #?21:12
menn0katco: the examples for other command seem to just use "#"21:12
katcomenn0: k i'll fix it up21:13
katcomenn0: k try that out21:13
redirjuju model-defaults <region> ...21:13
rediralexisb: ^21:13
alexisbredir, looking at the help for the model-defaults I am not seeing anything about specifying regions21:17
redirthen the help is out of date:/21:17
redirit looks like something changed in modelcommand, so that now the command doesn't correctly get the current controller21:18
=== akhavr1 is now known as akhavr
redirwhich appears to have changed in https://github.com/juju/juju/commit/a5f95c441ac29ed1a98c8efafbb71869ed89e7b621:19
wallyworldmenn0: thumper: it prints that at bootstrap because a certain someone asked for it21:20
thumperpfft21:20
rediralexisb: it is in the Usage string but not the detailed help.21:21
alexisbredir, I am confused21:22
alexisbwe should chat21:22
alexisbwill ping whne I am done21:23
redirOK21:23
rediralexisb: ^21:23
=== lazyPowe_ is now known as lazyPower
alexisbredir, https://hangouts.google.com/hangouts/_/canonical.com/alexis-ian21:55
alexisbwhen you are ready21:56
redirbrt21:56
anastasiamac_katco: in ur recent charm related work, have u come accross this? https://bugs.launchpad.net/juju/+bug/160668422:03
mupBug #1606684: upgrade-charm fails to upgrade local charm <regression> <juju:Triaged> <https://launchpad.net/bugs/1606684>22:03
katcorick_h_: there were failing tests22:03
katcoanastasiamac_: tal22:04
katcoanastasiamac_: that looks like a dupe of bug 1609463 ?22:05
mupBug #1609463: upgrade-charm command is inconsistent with deploy when using local charms <2.0> <usability> <juju:In Progress by cox-katherine-e> <https://launchpad.net/bugs/1609463>22:05
katcoanastasiamac_: if you agree, please flag it as such22:06
anastasiamac_katco: awesome :)22:06
katcoanastasiamac_: hello btw22:06
anastasiamac_katco: \o/22:07
anastasiamac_rogpeppe: wallyworld: do u know if bug 1614010 has already been addressed as part of othr movements in the area?22:23
mupBug #1614010: juju register: cannot register a user when controller already exists <juju:In Progress by rogpeppe> <https://launchpad.net/bugs/1614010>22:23
wallyworldwhat do you mean by fixed? there's disagreement about what's needed. the bug comments explain it a bit22:26
wallyworldthere was a functionality change. but there's disagreement now whether the change is for the best22:27
anastasiamac_wallyworld: k. i guess i was asking whether rogpeppe has done anything in the area one way or another. nm22:27
wallyworldnot that i know of22:27
wallyworldi think it'22:28
wallyworlds something we should discuss for 2.0.122:28
wallyworldi sort of agree with roger tbh22:28
wallyworldbut since there's disagreement, it needs to be hashed out22:28
anastasiamac_k22:28
katcoalexisb: rick_h_: fix landed for bug 1613858... last blocker, yes?22:52
mupBug #1613858: generate-tools ignores 2.x agents and creates bad path <jujuqa> <metadata> <regression> <rteam> <simplestreams> <streams> <juju:Fix Committed by cox-katherine-e> <https://launchpad.net/bugs/1613858>22:52
alexisbkatco we found another just a minute ago wallyworld has picked up22:52
alexisbbut  katco thanks for the fix!22:53
katcowallyworld: wth! release blocker22:53
katcowallyworld: \/22:53
katcoalexisb: k i'm off to dinner. gl22:53
alexisbwallyworld, always causing trouble22:53
katcoso true22:53
wallyworldthere's always one more :-)22:53
alexisbbye and enjoy22:53
katcopfffbt22:53
wallyworldwot? me?22:53
alexisbredir, I gave you a task on teh release notes22:59
redir:)22:59
alexisb:)23:00
alexisbredir, if you get things down I will review23:00
redirk23:00
alexisbanastasiamac_, wallyworld ping23:16
alexisbredir, ping23:16
wallyworldshit sorry, was talkin g to heather23:18
hmlalexisb: hi - do you have a date for 2.0.1?23:20

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