/srv/irclogs.ubuntu.com/2017/04/21/#juju-dev.txt

axwwallyworld: I've just left a comment on your PR about a major issue, but still going through it00:59
wallyworldok, ty00:59
wallyworldfair point01:01
wallyworldveebers: that unit test that failed on CI works fine for me - not interactive auth failures01:01
wallyworld*no01:01
wallyworldi've got an up-to-date zesty01:02
wallyworldaxw: part of the issue is that passing in collections to watch from the apiserver facade breaks layering elsewhere. the collections are not exposed at that layer. i'll have to try and think of something else01:10
axwwallyworld: you don't need to specify collections, just concepts01:11
axwwallyworld: we still talk about application offers above the state layer do we not?01:11
axwwallyworld: I'm not suggesting you pass in the collection names, but rather pass in a struct/bool saying whether or not to include "application offers"01:12
axwwallyworld: and that should be decided at the apiserver, where we normally do the permission checking01:12
wallyworldwe do. it comes down to how to map that. does the struct has a single bool - watch everything except offers. or do all the things to watch need to be enumerated etc. i liked the perm approach because it was sort of role based01:12
wallyworldi could start out with a bool i guess01:13
axwwallyworld: my point is that we don't do role checking in the state layer. *that* is a layer violation01:13
wallyworldthat is true01:13
axwwallyworld: IMO, a struct with a single bool just for application offers. everything else is on by default and can't be controlled, until/unless we need to do that01:13
wallyworldbut there's no easy way to map the concept of a role to a what do i do01:14
wallyworldthat works for now01:14
veeberswallyworld: let me dig around, I'll have more questions for you in a bit :-)01:45
wallyworldok01:46
menn0thumper: ping?01:58
thumperpong01:58
menn0thumper: actually, switching to onyx channel01:59
wallyworldveebers: will be there soon, just in another meeting02:15
veeberswallyworld: ack02:16
wallyworldburton-aus: test!02:31
burton-auswallyworld Got it.03:23
thumperhmm...05:55
thumperif I have an api connection to a controller...05:55
thumperhow do I download some tools...05:55
thumperugh...06:03
* thumper will look Monday06:03
thumperhave a good weekend everyone06:03
wallyworldjam: unless i am wrong, it looks like our bot runs unit tests with mongo 2.4.906:22
wallyworldit seems i am getting a landing error due to a 2.4.9 vs 3.2 thing. i need to re-test locally with 2.4.9 to be sure06:23
wallyworlddid you think we were still using 2.4.9?06:23
wallyworldbut i can't get the tests to fail locally (incl with --race). but the bot is not happy with some inernal mongo error (or so it seems)06:24
=== frankban|afk is now known as frankban
jamwallyworld: yes, everything on trusty uses 2.408:32
jamwallyworld: so you have to support both08:32
jamwallyworld: as in, juju bootstrap --series=trusty *also* uses 2.4 (from what I understood)08:32
rogpeppea small fix to juju/utils to help it pass juju tests: https://github.com/juju/utils/pull/27512:04
rogpeppewpk: you might want to take a look at this ^12:05
anastasiamacrogpeppe: lgtm12:05
rogpeppeanastasiamac: ta!12:05
rogpeppeanastasiamac: hi, BTW :)12:05
anastasiamacrogpeppe: thnx for following it up :) hi \o/12:05
rogpeppeanastasiamac: only trying to fix tests in juju-core that were broken when i updated utils...12:06
SimonKLBi guess it is by design that you're not able to access relation data from "relation B" while youre in the context of "relation A" - but does anyone here have a viable solution to get around that?12:16
SimonKLBin this case both relation A and B is related on the same interface (if that matters at all)12:16
SimonKLBsay you have 3 different data-sources and you want to grab the connection information of all 3 when configuring your charmed application12:18
jrwrenSimonKLB: AFAIK you can always access any relation data. What are you seeing which suggests that you cannot?12:25
SimonKLB"error: permission denied"12:26
jrwrenfrom which command?12:27
SimonKLBrelation-get -r [id]12:28
jrwrenthat is very surprising. I've never seen that. Maybe the relation does not actually exist?12:28
jrwrendoes it show in relation-list -r [id] ?12:29
jrwrenis the [id] used one that is related to the unit for which the hook is running? does it show in relation-ids?12:30
SimonKLBjrwren: yes i grabbed it from relation-ods12:32
SimonKLBids*12:32
SimonKLBrelation-list -r [id] works fine12:33
SimonKLBshows the correct charm/unit-no12:33
SimonKLBjrwren: http://paste.ubuntu.com/24426504/12:34
jrwrenthat has got to be a bug or something very strange going on. It worked with one id but not another. What version of juju is this?12:36
jrwrenwhy does your relation-get not require a unit id?12:36
SimonKLBjrwren: could it be that it gets it from an env?12:37
SimonKLBjuju version: 2.2-beta2-xenial-amd6412:37
jrwrenSimonKLB: not afaik, but this is the edge of my juju knowledge.12:37
SimonKLBecho $JUJU_REMOTE_UNIT12:38
SimonKLBcharmscaler-metric-cpu/012:38
SimonKLBthat is probably it12:38
wpkrogpeppe: ok, I'll fix the PR for juju/juju change12:38
jrwrenah. I see. interesting.12:38
wpkrogpeppe: it didn't feel right tbh12:39
rogpeppewpk: i've changed it12:39
rogpeppewpk: another change was needed in juju-core because of the ordering change - that's landing in https://github.com/juju/juju/pull/725412:39
jrwrenSimonKLB: yup, beyond my knowledge.12:39
SimonKLBthat's ok! anyone else?12:40
jrwrenSimonKLB: one last thought, is it a container-scoped relation?12:44
SimonKLBjrwren: nope, global12:46
jrwrenSimonKLB: ok, thanks. It shall be interesting to learn of the resolution.12:46
SimonKLBme too :D12:47
wpkrogpeppe: I mean for https://github.com/juju/juju/pull/716212:47
wpkrogpeppe: I'm waiting with this merge as it can really break stuff12:47
wpkrogpeppe: (as it makes proxy settings truly global, at least on Xenial)12:48
rogpeppewpk: i just made a comment on that PR12:50
wpkrogpeppe: thanks12:53
=== bdx_ is now known as bdx
bdxI'm wondering how/why machine spaces constraints are all of the sudden being passed through to the lxd containers on them ..... https://bugs.launchpad.net/juju/+bug/1684143/comments/1016:49
mupBug #1684143: applications deployed to lxd on aws instances failing <juju:New> <https://launchpad.net/bugs/1684143>16:49
bdxI hadn't experienced this up until this week .... all prvious lxd deploys to instances in the past had never experienced this issue16:50
bdxI have lxd on top of aws instance instance deploys that I sent off all last week, and for all of time prior to hitting this this week16:51
=== frankban is now known as frankban|afk
balloonshml, externalreality, someone want to have a glance at https://github.com/juju/juju/pull/7257?19:55
mupBug #1685382 opened: max_user_instances in inotify runs low on juju-db units - version 1.25.6 <canonical-bootstack> <juju-core:New> <https://launchpad.net/bugs/1685382>23:14

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