/srv/irclogs.ubuntu.com/2017/09/15/#juju-dev.txt

wallyworld_axw: you see this at all, go vet error: provider/vsphere/internal/vsphereclient/createvm_test.go:455: possible formatting directive in Fatal call00:38
wallyworld_maybe fix as a drive by in the other pr?00:39
wallyworld_ah, already merged, i'll fix00:43
wallyworld_axw: here's a followup PR which finishes the new suspend/resume processing https://github.com/juju/juju/pull/785701:03
axwwallyworld_: doh, thanks. looking01:08
wallyworld_ta01:09
* babbageclunk goes for a run02:21
anastasiamacthumper: axw: do we have plans to support temporary aws credentials? bug 171402202:36
mupBug #1714022: Juju failed to run on aws with authentication failed <juju:New> <https://launchpad.net/bugs/1714022>02:36
axwanastasiamac: it has been asked for, but AFAIK nobody has put time into designing a solution02:37
anastasiamacaxw: k, i guess I'll triage to wishlist then :)02:37
axwanastasiamac: it would be relatively straightforward for non-JAAS, and support for multiple credentials (models with separate credentials)02:38
thumpertriaged02:38
axwsupporting JAAS and multiple creds (controller and model machines in different accounts) makes things more complicated02:39
mupBug #1714130 changed: juju reports units in non-existent OpenStack availability zones <juju-core:Won't Fix> <https://launchpad.net/bugs/1714130>02:53
anastasiamacthumper: babbageclunk: i think ur work last week (or so?..) addressed this too :) bug 159749003:09
mupBug #1597490: juju 2.0-beta9.1: juju relation status PROVIDES and CONSUMES confused <usability> <juju:Triaged> <https://launchpad.net/bugs/1597490>03:09
babbageclunkanastasiamac: true!03:42
anastasiamacbabbageclunk: \o/ nice... do u remember if it went in 2.2.3?03:45
babbageclunkanastasiamac: yup - just commenting. It was fixed in August, so it'll be in 2.2.3.03:45
thumperhttps://github.com/juju/names/pull/82 needed for bundlechanges work03:45
anastasiamacbabbageclunk: k, i'll do milestone magicking...03:46
anastasiamacwallyworld: yucks... another failure where juju is going to "dev version" for no apparent reason :( bug 171452603:52
mupBug #1714526: juju 2.2.2.1 unable to add a unit to an existing service, no matching agent binaries found <canonical-is> <juju:New> <https://launchpad.net/bugs/1714526>03:52
wallyworldit's a dev version because a non-streams agent was used03:55
anastasiamacwallyworld: that's not the point03:57
wallyworldit is the cause of that error message03:59
wallyworldif it weren't a dev build, the error wouldn't happen03:59
anastasiamacwallyworld: it's in IS, bootstrapped with released 2.2.2, then something happen... according to the bug, they r not sure what... the point is - "this should not happen" or "we should know why it's happening and fix it"04:12
wallyworldagreed. i was merely commenting on the error message being valid if agent is dev version04:12
wallyworldit happends because there's  a bug in upgrade-juju04:13
wallyworldwhich is on the todo list04:13
anastasiamacwallyworld: of coure. i was not asking for the cause. I was saying "yet again..."04:16
wallyworldok :-)04:16
wallyworld_axw: i've updated the pr with leadership checks etc. was a little messy to weave it into the uniter. pushed as another commit. i had to add an IsLeader attribute to the hook info (not serialised to state though).05:36
axwwallyworld_: ok, will take a look after I finish lunch05:36
wallyworld_no rush, ty05:36
axwwallyworld_: I think it might be better if you put the SetStatus call in uniter/operation/runhook.go (specifically, runHook.afterHook)06:08
axwwallyworld_: there's already code in there that sets status after Start and Stop hooks06:08
wallyworld_could do, ok06:08
axwwallyworld_: then you can use the HookContext directly06:08
axwno need to add IsLeader to hook.Info06:08
wallyworld_i did look there and discounted for some reason06:08
wallyworld_no idea why off hand06:09
wallyworld_axw: oh i know why -  the runner has no access to the relation so i'll have to add an extra method to the context06:20
wallyworld_probably cleaner though06:20
=== akhavr1 is now known as akhavr
=== frankban|afk is now known as frankban
wallyworld_axw: i've moved the set status to the afterHook callback08:25
wallyworld_axw: not sure if you saw my msg above as you disconnected; i've moved the set status to the afterHook callback08:28
axwwallyworld_: thanks, I didn't. will take a look in a moment08:28
wallyworld_no worries, no hurry08:28
wallyworld_axw: what do you mean by "token is propagated to setStatus"?09:06
axwwallyworld_: see my earlier comment, "this token should be passed down to the SetStatus call. state.setStatusParams has room for a token."09:07
wallyworld_ah, didn''t see that comment09:08
wallyworld_axw: huh, nothing sets that token param at the moment that i can see. whoever put it there didn't wire it up09:15
wallyworld_i think because the SetStatus interface method doesn't allow for it09:16
wallyworld_set status in application facade also doesn't use it09:16
axwwallyworld_: the application facade? only thing setting status in there is your code isn't it?09:17
axwwallyworld_: I think it was added by William, but he didn't finish plumbing it through09:18
axwwallyworld_: in the case of Relation.SetStatus, I don't think we're using an interface, so it should be straight forward to add an optional leadership token09:19
axwwe may not always want to set from the app leader, hence optional09:19
axwwallyworld_: please see my reply about application facade. I'll sign off, just want to make sure we're on the same page09:31
axwwallyworld_: in your other PR, I was thrown by the info.Info[0]. why do we assume that there's only one?09:36
axwwallyworld_: ping? did you see this? I'm OK with that, since it's non critical. Please file a bug and leave a TODO(wallyworld).09:55
axwFWIW, I don't think it's necessary to pass a token in the application facade (I assume you're referring to SetRelationsSuspended), because that's not being done by the application leader, but rather a client. And that code's meant to be going away anyway, right? In fact I think this PR is meant to be replacing it... except you're not setting the Joined status yet.09:55
axwwallyworld_: (I saw a !!build!! but no response)09:55
rick_haxw: what makes it harder in jaas? it's on the jaas tools to make that work mirroring the controller work. Is it because in the jaas clase it multiple clouds as well so the api is more complicated?10:23
wallyworld_axw: sorry, didn't norice ping :-(10:45
wallyworld_i'll add a todo10:45
wallyworld_i just pushed a change to remove an api call10:45
wallyworld_axw: i'm referring to SetStatus()10:46
wallyworld_axw: with the network-get stuff, the code has historically used the first one for --primary-address10:47
wallyworld_rogpeppe: hey, were you interested in the walking tour in NY?10:59
rogpeppewallyworld_: hiya10:59
rogpeppewallyworld_: possibly! i'd let it slide by without actually looking. let me take a look.10:59
wallyworld_ok, just trying to get numbers as wit will affect what we do11:00
rogpeppewallyworld_: i reckon i'm up for it11:07
wallyworld_rogpeppe: ok, great, i think we have 611:46
wallyworld_i'll see what I can tee up11:46
rogpeppewallyworld_: cool11:46
rogpeppewallyworld_: just so long as it doesn't interfere with my Irish trad session at 10pm :)11:47
wallyworld_it won't :-)11:47
axwrick_h: IIANM, for it to work you'd need to use IAM roles. one controller with multiple credentials would make that complicated, I think12:01
axwwallyworld_: network-get can use the first one, but that doesn't mean we need to hide all the others up in the apiserver code. make that a frontend decision12:02
wallyworld_axw: pretty much agree, was just being cautious about changing the semantics. since it was first written, network-get has returned Info[0] for primary-address12:03
wallyworld_i can add them all12:04
axwwallyworld_: I'm saying you don't need to change network-get. make the decision in the network-get code, not in the apiserver side.12:04
wallyworld_right, but there could be another api user, but probs not12:05
wallyworld_i'll add all of them12:05
axwwallyworld_: was the *apiserver* code previously returning only the first one? I couldn't see it filtering out before12:07
wallyworld_i thought it was, but maybe i am misremembering12:07
axwwallyworld_: AFAICS, only in NetworkGetCommand12:07
axwwallyworld_: I'm approving the relation one now, but in case you miss it: "See SetRelationsSuspended in the application facade, specifically the TODO you left."12:08
axwthat's what I was referring to, re setting Joined/Suspended12:08
wallyworld_ok, ty12:08
axwwallyworld_: I'm off now, will take another look at the network-get PR on Monday. have a nice weekend12:08
wallyworld_axw: tyvm for reviews12:09
wallyworld_you too12:09
=== beisner is now known as Beisner
=== cory_fu_ is now known as cory_fu
=== frankban is now known as frankban|afk
=== Beisner is now known as beisner

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