/srv/irclogs.ubuntu.com/2013/02/22/#juju-dev.txt

thumperhi davecheney00:21
thumperlaptop is still upgrading, but I am around00:21
thumperand have skype available to me00:21
=== wedgwood is now known as wedgwood_away
davecheneythumper: you said you had a race when X was starting00:24
davecheneyI think my machine has developed that as well00:25
thumperwhat do you get?00:25
davecheneybootup00:25
davecheneysome text on the screen00:25
davecheneyhave to alt-f1 and restart lightdm to get a login00:25
* thumper nods00:25
thumperthat's it00:25
davecheneywonderful00:25
thumperdo you have an ssd?00:25
davecheneyyeah00:25
davecheneywasn't a problem with 4gb00:26
davecheneybut with 8gb00:26
davecheneyi must be slightlt faster00:26
thumperah... I have 1600:26
davecheneyis there a bug that I can whine on ?00:26
thumperdamn those high spec laptops00:26
thumperdavecheney: poke robert_ancell in #ubuntu-desktop00:26
davecheneythumper: ok, can I say you told me to talk to him ?00:26
thumpersure00:27
davecheneykk00:27
davecheneythumper: i flashed my n7 to the phablet this morning00:28
davecheneythat is why I was calling00:28
thumperoh?00:28
davecheneyi wanted to get your feedback on it00:28
thumperI have some thoughts00:28
thumperbut I haven't played with the tablet build00:28
davecheneylets try skype00:28
thumperkk00:28
davecheneyhello00:59
davecheneyi am still here00:59
davecheneyi can hear you00:59
davecheneyyou cannot hear me00:59
thumperno00:59
thumperdid you bump mute?00:59
davecheneythis is becoming farcical00:59
davecheneylets call it a day00:59
thumperok01:00
thumperI'm tempted to throw in the towel completely and get a beer01:00
davecheneyok, lets retire hurt to our respective corners01:00
davecheneynearly time for lunch in AU01:00
thumperheh01:00
davecheneyi shall continue to watch you troll #ubunut-desktop01:01
=== _thumper_ is now known as thumper
=== _thumper_ is now known as thumper
=== thumper is now known as thumper-afk
davecheneythumper-afk: i'm going to be working remotely from the city for the rest of the day02:05
davecheneymeeting up with a bloke who is over here from Zurich02:05
davecheneyif there is wifi in their offices, i'll be online02:05
davecheneyif not, i won't02:05
davecheneyi'll be online tomorrow for the usual release hoopla02:05
thumper-afkok02:11
=== thumper-afk is now known as thumper
thumperdavecheney: have fun02:12
thumperpoos02:54
jtvAnybody available to review some Makefile changes in pyjuju?  MP is at https://code.launchpad.net/~jtv/juju/makefile-fixups/+merge/14990704:16
jtvThanks wallyworld_!06:16
jtvYour review seems to count as "(community)" for some reason.06:17
jtvNobody else who can review https://code.launchpad.net/~jtv/juju/makefile-fixups/+merge/149907 ?07:02
jtvAlso, nobody who knows how to get the test suite passing, or at least not hanging?07:08
wallyworld_jtv: which test suite? py juju or go juju?07:33
jtvwallyworld_: py juju07:41
wallyworld_i've not run those tests, only the juju-core ones07:42
jtvAt least on Precise & Quantal, we get test errors and then things just lock up (and ctrl-C won't work).07:42
wallyworld_that's not good :-(07:43
wallyworld_with your review, mgz should be able to do it when he comes online07:43
jtvOur thoughts precisely.07:43
fwereadefrankban, heyhey -- I presume the lxc compile got you unblocked for now?09:10
fwereadefrankban, the bug remains somewhat rough but is at https://bugs.launchpad.net/juju-core/+bug/113160809:12
_mup_Bug #1131608: deployed series is arbitrary <juju-core:New for fwereade> < https://launchpad.net/bugs/1131608 >09:12
frankbanfwereade: hi, I switched to another, more urgent, card. I've seen the bug you filed, thank you. lxc should workaround that issue09:12
frankbanfwereade: how many reviews are required for juju-core? and does "LGTM with changes" means we can just follow suggestions and the "lbox submit"? it's re https://codereview.appspot.com/739804409:15
frankbans/and the/and then/09:15
mgzjtv: you want test suite run on that branch?09:17
fwereadefrankban, please wait for two of those without dissenting opinions09:18
frankbanfwereade: ack, thanks09:19
fwereadefrankban, the second of which has just arrived, LGTM09:19
frankbanfwereade: :-) great!09:19
frankbanfwereade: submitted09:39
fwereadefrankban, cheers09:43
fwereadedimitern, heyhey09:43
dimiternfwereade: hiya09:43
dimiternfwereade: I have 2 CLs for you :)09:54
fwereadedimitern, cool09:54
dimiternfwereade:  https://codereview.appspot.com/7373046/ and https://codereview.appspot.com/7385049/ (WIP still, tests fail and I'm not sure what i'm doing wrong)09:55
fwereadedimitern, I have one too I'm about to push, then I need to finish up TheMue's (hmm, he has one that you could look at too)09:55
dimiternfwereade: I'll take a look09:55
TheMuefwereade: Thx for the +1 btw. Even if I'm after our talk yesterday not sure if we really should use it.09:59
fwereadeTheMue, we've already paid for it, and there's no compelling reason not to use it IMO10:00
TheMuefwereade: Yeah, that's reasonable.10:01
fwereadeTheMue, I hope we will be able to swap it out before too long, but I don't think it's a serious enough issue to be worth blocking on10:01
fwereadeTheMue, dimitern: https://codereview.appspot.com/739904910:04
TheMuefwereade: *click*10:04
dimiternfwereade: on it, as soon as i finish with TheMue's10:04
fwereadeTheMue, storage LGTM10:09
TheMuefwereade: Thx10:10
fwereadedimitern, dude, tests ;p10:17
fwereadedimitern, but I have a suggestion that might make the first a bit simpler10:18
TheMuefwereade: You've got a review.10:18
dimiternfwereade: that's what I was asking about yesterday before it was too late i guess10:18
fwereadedimitern, if we add an explicit WantAllRelationsEvents method to filter, that directly restarts relationsw, I think that maybe everything is easier to express10:19
dimiternfwereade: not sure how to check if the watcher is restarted (or better still, how to check if we handle the changes before/after the upgrade)10:19
fwereadedimitern, sorry, I must have been very unclear, I thought I was handwaving at the existing ones in a helpful way :)10:19
dimiternfwereade: :) still at a loss though.. how to inject a change in the chan and check i get it after the restart of the watcher10:21
fwereadedimitern, start a filter; add a couple of relations; check you get events for them; receive an upgrade event (or call WanttAllRelationsEvents or whatever we do); check we get the same relations again10:21
fwereadedimitern, I'm not sure what we need to inject10:21
fwereadedimitern, at the moment it's written so that when someone reads an upgrade event the magic happens; so, to test it, read an upgrade event and check the magic10:22
dimiternfwereade: aah - so we'll still get the same changes before/after restarting10:22
fwereadedimitern, I would favour decoupling the magic, though, so you can just tack a trivial WantAllRelationsEvents on10:22
fwereadedimitern, yeah, I think that's enough10:22
dimiternfwereade: ok, i'll look into it some more before bugging you :)10:22
fwereadedimitern, sure, but I am always happy to be bugged :)10:23
fwereadedimitern, I *think* the second one has failing tests because you do the wrong thing when handling events from relationsw... consider what happens when the chan is *not* closed10:24
dimiternfwereade: hmm.. I wasn't sure I'm handling the "does this rel implement the endpoint of the charm of this service" right10:25
dimiternTheMue: reviewed10:26
TheMuedimitern: Thx10:27
dimiternfwereade: reviewed yours10:31
fwereadedimitern, TheMue: thanks for the reviews10:33
TheMuefwereade: yw10:33
fwereadedimitern, "series" is a fundamental concept in juju that it seems like we didn't really bother to implement10:33
fwereadedimitern, charms are specific to series: they are tuned to run on particular operating systems10:33
fwereadedimitern, we are meant to guarantee that we run (say) precise charms on precise systems, and quantal charms on quantal systems10:34
fwereadedimitern, in practice, not so much10:34
dimiternI've never been called "Dear Constituent" before :D10:35
fwereadedimitern, our current approach is "force everything to run on the same arch/series as the provisioner"10:35
fwereadedimitern, I am not especially pleased by this discovery ;)10:35
dimiternfwereade: ok, got it, 10x :)10:36
fwereadedimitern, np, dear constituent10:36
dimiternfwereade: :) i got one of the junk election papers just now, before I threw it away I saw that10:37
dimiternfwereade: so, instead of restarting the watcher on outUpgrade <-, implement and call WantAllRelationsEvents as needed (not there) ?10:41
fwereadedimitern, yeah, I think so10:46
fwereadedimitern, use a want channel as we do for the other control methods10:46
dimiternfwereade: but still keep the restarting when x, ok <-Changes; !ok, right?10:46
fwereadedimitern, nah, just do the stop/start in response to the want channel I think -- you can keep the MustErr10:47
dimiternfwereade: ok10:47
dimiternfwereade: am I getting this right: (assuming WantAllRelationsEvents and wantAllRelations chan), when we get <-f.wantAllRelations, we log and restart relationsw ?10:54
fwereadedimitern, yeah, I think that gets us what we need10:54
fwereadedimitern, then you can just tack a couple of extra lines onto TestRelationsEvents and you're good10:55
dimiternfwereade: so we still need the modified defer and don't want MustErr10:55
fwereadedimitern, hmm, I think we keep the modified defer10:55
fwereadedimitern, but I'm not so sure about MustErr10:55
fwereadedimitern, when will we see it?10:55
dimiternfwereade: but MustErr will fire once we stop relationsw10:56
fwereadedimitern, only if we don't start them again10:56
dimiternfwereade: ah, I'll try it10:56
dimiternfwereade: got it :) because the MustErr and the restart happen in the same select, they won't interfere11:01
dimiternfwereade: fixed https://codereview.appspot.com/7373046/11:23
fwereadedimitern, lovely, LGTM11:25
dimiternfwereade: tyvm11:25
dimiternfwereade: so I need one more LGTM to submit it now..\11:26
fwereadeTheMue, dimitern's got an easy review up11:26
TheMue*click*11:35
dimiternfwereade: wrt the other CL - u.charm is the currently installed charm or the charm just deployed and about to have its relations added?11:41
TheMuedimitern: 2nd LGTM is in.11:41
fwereadedimitern, u.charm is a uniter/charm.GitDir, but it has a Path() you can use to construct an actual *corecharm.Dir to pass into ImplementedBy11:42
dimiternfwereade: but how is this charm different from u.unit.Service().Charm() ?11:43
fwereadedimitern, that's the state charm we'd be upgrading to, which definitely always implements those endpoints, otherwise the relation couldn't have been created in the first place11:44
fwereadedimitern, the charm a unit is running is not necessarily the same as the charm the service wants it to run ;)11:44
dimiternfwereade: ah, so the u.charm is not yet in state?11:44
fwereadedimitern, mu11:44
fwereadedimitern, g+?11:44
dimiternfwereade: ok, just a sec11:45
fwereadedimitern, starting one now11:45
fwereadedimitern, https://plus.google.com/hangouts/_/b4c971e8d459c1b323cf87a088c920c785acb054?authuser=0&hl=en11:45
dimiternTheMue: thanks for the review, btw - is your comment about proper capitalization of the comment?11:45
TheMuedimitern: That and punctuation, yes. ;)11:46
dimiternTheMue: cheers12:08
dimiternfwereade: moving the dir.Ensure into PrepareHook seems to cause problems with not finding the dir12:54
fwereadedimitern, what's looking for it?12:54
dimiternfwereade: i'm having trouble pasting the log12:55
fwereadedimitern, interpretive dance? ;p12:56
dimiternfwereade: :) just a sec12:56
fwereadedimitern, brb12:56
dimiternfwereade:  http://pastebin.com/1XfyiMFk12:57
dimiternfwereade: both p.u.c and pb.c.c do not work12:57
fwereadedimitern, ok here now13:06
dimiternfwereade: did you see it?13:09
dimiternfwereade: i'm trying to figure out why it happens13:09
fwereadedimitern, it doesn't look all that bad -- just that it's not following the path it takes when called by the uniter, so we don't get the PrepareHook calls13:10
fwereadedimitern, I'd probably be fine with Ensure()ing the dirs directly in the test13:11
dimiternfwereade: that somehow seems wrong13:12
dimiternfwereade: maybe because the test is doing things out of sequence as a shortcut?13:13
fwereadedimitern, Relationer is a weird type, it's the nexus that connects all the various representations of relations13:13
fwereadedimitern, the only reason it's doing a Write there in the first place is so that the Validate on write works -- it's a hack to maintain correct dir state anyway afair13:14
dimiternfwereade: i see, ok then I'll add Ensure in these 3 failing tests13:15
dimiternfwereade: 2 simple fixes really - in assertHook and the one that checks Join creates the dir (no longer so)13:39
fwereadedimitern, great13:39
fwereadedimitern, tyvm13:39
=== wedgwood_away is now known as wedgwood
fwereadedimitern, I guess you're somewhat familiar with the whole livetests gubbins?13:40
dimiternfwereade: somewhat yes13:40
fwereadedimitern, is there some magic happening re bootstrap in those tests? like, we're running them without bootstrapping, or something? this is ec2 in particular...13:40
dimiternfwereade: i think most of them do BootstrapOnce and go with it13:41
dimiternfwereade: anyone in particular you have in mind?13:41
fwereadedimitern, TestGlobalPorts looks like it doesn't bother13:42
dimiternfwereade: lemme see13:42
fwereadedimitern, there are 4 calls in total to BootstrapOnce AFAICS13:42
fwereadeoh what the FUCK13:42
fwereadewho wrote TestGlobalPorts?13:43
dimiternfwereade: no idea :)13:43
* fwereade sighs dramatically13:43
dimiternfwereade: it seems TestGlobalPorts is one of those which do not bother bootstrapping - just uses the config13:43
* fwereade does not approve of writing tests that depend on obvious bugs13:43
dimiternfwereade: +1 :)13:43
fwereadedimitern, ok, it looks like I can probably just make all the tests bootstrap13:44
* fwereade remains baffled as to how a test against an environment that doesn't exist is meaningful13:44
dimiternfwereade: not all, some of them test behaviour at or before bootstrap13:45
fwereadedimitern, yeah, just the ones that start instances13:45
fwereadedimitern, I'm trying to hack as little as possible here ;p13:45
dimiternfwereade: yeah, makes sense13:45
dimiternfwereade: try openstack's after13:45
fwereadedimitern, I would avoid it if I could, but I can't13:46
fwereadedimitern, I'm having to change Environ :/13:46
fwereadedimitern, apart from machineId, Environ.StartInstance's params are -- I think -- total crack13:47
dimiternfwereade: which ones?13:47
fwereadedimitern, tools, api info, state info13:47
fwereadedimitern, the env should choose the tools13:47
fwereadedimitern, and it already knows -- or should -- the state/api info13:47
fwereadedimitern, Environ has a frickin' `StateInfo() (*state.Info, *api.Info, error)` method13:48
dimiternfwereade: yeah it does13:48
dimiternfwereade: hmm seems a bit crackful indeed13:49
fwereadedimitern, behold the fruits of detailed academic discussion: the perfect API13:50
dimitern:)13:51
dimiternfwereade: assuming i check relationer.Join does not create the dir, I should check also PrepareHook does it, right?13:56
fwereadedimitern, +113:56
fwereadedimitern, after validating please :)13:57
dimiternfwereade: the problem is I have no access to the actual path from the uniter module (it's in uniter/relation)13:57
dimiternfwereade: preparehook already validates13:57
fwereadedimitern, yep, I'm just saying create the dir after the validation13:57
dimiternfwereade: yeah, sure - done that13:58
fwereadedimitern, you know the relations dir, though, and you know the relation id, you can probably figure something out ;p13:58
dimiternfwereade: but i need a way to access the private path of statedir13:58
fwereadedimitern, you had to create a state dir with a known id in a known relations dir to begin with, though, right?13:59
dimiternfwereade: or add a method on statedir Exists() or something?13:59
fwereadedimitern, -1 unless you can think of a non-test use case for it13:59
dimiternfwereade: ah, you mean in the suite, sure i can export that to the suite14:00
fwereadedimitern, sgtm14:00
niemeyerHi all14:13
TheMueniemeyer: Heyhey14:13
dimiternniemeyer: hey14:13
niemeyerTheMue, dimitern: Hey folks!14:23
niemeyerHuh.. so wikimedia runs a public ganglia server.. that's quite awesome14:24
niemeyerhttp://ganglia.wikimedia.org/14:24
dimiternniemeyer: really cool :) you can see the whole infrastructure14:25
dimiternfwereade: a bit of help with uniter tests? not sure where to test the changes to updateRelations - it's in the modeAbideAliveLoop only, and I suppose the test has to go somewhere around "steady state changes" steps14:27
fwereadedimitern, hmm, that is an interesting one14:27
dimiternfwereade: maybe even in upgrade scenarios14:28
fwereadedimitern, for now, I think it is sufficient to check that the uniter does not respond to relations it can't handle14:29
dimiternfwereade: like: quickstart, createcharm, upgradecharm(to a different, faulty one), wait the log message for ignoring the non implemented relation14:29
fwereadedimitern, please, no log checking14:30
dimiternfwereade: ok, how then?14:30
fwereadedimitern, the fact that we indulged it out of desperation does not mean the bar for it should be lowered ;)14:30
dimiternfwereade: :) sure14:31
fwereadedimitern, but, yeah, it is a tricky question, and I am still thinking14:31
dimiternfwereade: we can check the relation is not added14:32
dimiternfwereade: like no relationer for that relation or something?14:32
fwereadedimitern, yeah, we certainly can check that the unit doesn't enter scope in that relation14:33
fwereadedimitern, and that's something we can do now14:33
fwereadedimitern, g+ quickly?14:33
dimiternfwereade: ok, i'll send you a link this time\14:34
fwereadedimitern, cheers :)14:34
dimiternfwereade: https://plus.google.com/hangouts/_/b8e9e83fe6e47838019383106994c2dcca14363f?authuser=0&hl=en14:34
dimiternfwereade: in order to add the incompatible relation to the wp charm, i have to overwrite the metadata, right?15:46
dimiternfwereade: in createCharm{customize:..}15:47
fwereadedimitern, yeah, think so16:14
fwereadedimitern, sorry I missed you16:15
fwereadedimitern, did you do bootstrappy stuff in openstack?16:15
dimiternfwereade: I'm half way there already - will paste what I got16:15
dimiternfwereade: yes16:15
fwereadedimitern, do you know if there's any distinction between the CACert in the environ config and the (cert, key) passed into Bootstrap>16:16
fwereadedimitern, sorry, the *cert* passed into bootstrap16:16
dimiternfwereade: not really16:17
fwereadedimitern, ah, wait, I think there is16:17
fwereadedimitern, the ones passed in are generated from the one in the config16:18
dimiternfwereade: I mean I don't really know :)16:18
fwereadedimitern, indeed, sorry, just thinking out loud16:19
dimiternfwereade: does this look ok to you http://paste.ubuntu.com/5555566/16:23
dimiternfwereade: it works, i did a small test16:24
fwereadedimitern, nice, much neater than I would have done it :)16:24
dimiternfwereade: :) ty16:25
dimiternfwereade: not sure if i should use only quickStart{} or quickStartRelation{} to setup the test case initial conditions16:29
fwereadedimitern, quickStart I think16:29
fwereadedimitern, you want your own funky relation setup using the service's new charm16:29
dimiternfwereade: and add relation later, immediately after upgradeCharm (or before)16:29
fwereadedimitern, immediately after16:30
dimiternfwereade: ok. the funky setup will happen after quickstart in createcharm{customized}16:30
dimiternfwereade: I need a charm running already ok, then try the upgrade16:31
fwereadedimitern, yeah; create, add, serve, service.SetCharm()16:31
fwereadedimitern, and immediately addRelation{}16:31
dimiternfwereade: yeah, that's it16:31
fwereadedimitern, in the hope that the scheduler happens to handle the relation change before it does the upgrade16:32
dimiternfwereade: yeah16:33
dimiternfwereade: in addition to renameRelation (instead of replace*), I'll need something to call ctx.svc.SetCharm16:34
fwereadedimitern, I'm sure that already exists, there are other upgrade tests16:34
dimiternfwereade: yeah, upgradeCharm{} does that in fact16:35
fwereadedimitern, cool -- and if you need to slice and dice the available primitives, go for it, they arenot meant to be set in stone16:35
dimiternfwereade: ok, although as I get to know more what each one does they're pretty comprehensive already16:36
fwereadedimitern, cool16:37
arosalesgary_poster: is there a " Juju GUI user guide" that briefly explains how to work with the GUI (ie what yellow circles on a service in the canvase mean. How to deploy, relate, etc. ?16:50
arosalesperhaps that is all pretty straight forward though16:51
dimiternfwereade: hmm.. how to wait for a hook which shouldn't happen?16:52
fwereadedimitern, waitHooks{}16:52
fwereadedimitern,  :)16:52
fwereadedimitern, but... when do you need to do that?16:53
dimiternfwereade: this is a positive check, i think I need a negative one16:53
dimiternfwereade: http://paste.ubuntu.com/5555636/ that's the test case so far16:53
fwereadedimitern, I *think* you need a single positive check for the appropriate joined hook running, don't you?16:53
dimiternfwereade: and it fails with "never got expected hooks"16:54
fwereadedimitern, I think verifyRunning may have tripped you up -- don;t think you need that one16:54
dimiternfwereade: ah, waitHooks{} (empty) ensures no hooks run16:55
fwereadedimitern, what happens if you just check the one hook and verifyCharm{revision:2} immediately afterwards?16:55
dimiternfwereade: i'm trying this now16:56
dimiternfwereade: so the new charm is created with rev 2, and then upgradeCharm{rev 2} as well, verifyCharm{rev 2} at the end16:58
fwereadedimitern, +116:58
fwereadedimitern, hey, even better16:58
dimiternfwereade: still fails with never got expected hooks, this time only with: waitHooks{"db-relation-joined mysql/1 db:0"}16:59
fwereadedimitern, add some stuff to the db2-relation-joined hook created by the charm to write something unambiguous to the charm dir16:59
fwereadedimitern, interesting, what's the actual?16:59
fwereadedimitern, actually paste me the log please17:00
dimiternfwereade: aw fuck - it should be wait for db2, right?17:00
fwereadedimitern, lol yes17:00
dimitern:D17:00
fwereadedimitern, well spotted17:00
dimiternfwereade: running now17:00
dimiternfwereade: even if it passes, would it be enough?17:01
dimiternfwereade: i mean that scheduler cases..17:01
fwereadedimitern, well, the trouble is, I don't see a way to goose the scheduler into jumping the wrong way even if I were convinced I could force that particular loop to be in that particular state at a particular time17:02
fwereadedimitern, I think the best we can do is write the test that has the best possible change of inducing the race17:03
fwereadedimitern, and maybe tweak the summary so it's clear that failures here are to be taken v seriously17:03
dimiternfwereade: it didn't pass, but now I see the db2-relation-joined happens in the log before17:04
dimiternfwereade: the trouble with fmt.Printf and log.Printf is they're out of sync17:04
fwereadedimitern, use c.Logf() in tests17:05
dimiternfwereade: yeah, just did17:05
dimiternfwereade: wanna see the log?17:05
fwereadedimitern, yeah, please17:05
dimiternfwereade: running cleanly one more time, just a sec17:06
dimiternfwereade: http://paste.ubuntu.com/5555673/17:09
dimiternfwereade: i suspect something might be wrong here again: waitHooks{"db2-relation-joined mysql/1 db:0"},17:11
fwereadedimitern, ah-ha17:11
fwereadedimitern, db2:017:11
dimitern:) yeah17:11
dimiternit's getting late and I'm getting sloppy17:11
dimiternsorry17:11
fwereadedimitern, sorry, createCharm is more subtle than I made clear17:12
dimiternfwereade: how?17:13
fwereadedimitern, actually not that17:14
fwereadedimitern, well kinda17:14
fwereadedimitern, it creates the hook files that dump to the log for detection later17:14
fwereadedimitern, they're still called db-relation-joined17:14
dimiternfwereade: aha!17:14
dimiternfwereade: so var goodHook2 or something inline in customize?17:15
dimiternfwereade: no, actually I just need to call writeHook again17:16
fwereadedimitern, can yu just call writeHook in cus... yeah :)17:16
dimitern:)17:16
gary_posterarosales there is not17:19
dimiternfwereade: to do that though, I have to change createCharm's customize to accept ctx *context instead of path string17:20
fwereadedimitern, sounds sane17:21
arosalesgary_poster: ok, thanks17:21
dimiternfwereade: btw it would be nice to have some extra \n\n between each ut() case in the verbose log somehow :)17:26
fwereadedimitern, sorry, I should have said, ffs comment out the earlier tests when you're developing17:27
fwereadedimitern, while the steps are quite nice it really should not be a table-based test IMO17:27
fwereadedimitern, hindsight, eh17:27
dimiternfwereade: or at least a bit more granular perhaps, while still benefiting from tbt17:28
dimiternfwereade:  [LOG] 6.56912 JUJU u/0 db2:0: UniterSuite-29 db2-relation-joined mysql/017:30
* fwereade cheers17:31
dimiternfwereade: this tells me that I should probably wait for "db2-relation-joined mysql/0 db2:0"17:31
fwereadedimitern, +117:31
dimiternfwereade: alright :) the logs now seem less cryptic indeed17:32
fwereadedimitern, cool :)17:32
dimiternfwereade: once I start understanding the state/watcher and collections stuff.. who knows :)17:32
fwereadedimitern, heh, I really ought to turn of the logspam in the watchers17:33
dimiternfwereade: still no cigar though17:35
dimiternfwereade: same error17:35
fwereadedimitern, bah17:35
fwereadedimitern, paste again maybe?17:35
dimiternfwereade: http://paste.ubuntu.com/5555744/ - tail of the log, and the test case http://paste.ubuntu.com/5555746/17:36
fwereadedimitern, d'oh17:41
fwereadedimitern, wait for upgrade-charm and config-changed before the relation one17:41
fwereadedimitern, this makes the followup step redundant17:41
dimiternfwereade: aha17:41
fwereadedimitern, however it doesn't explain why the hook is apparantly not being found17:42
fwereadedimitern, it's clearly being run, but it's not showing up in the log17:42
dimiternfwereade: so 2 waitHooks in a row - there's also verifyWaiting but i think it's not related17:43
dimiternfwereade: :) this time the earlier waitHooks bailed with error17:46
dimiternfwereade: something's fishy here17:47
dimiternfwereade: because upgrade-charm and config-changed definitely happened17:47
fwereadedimitern, sorry, I'm confused17:47
dimiternfwereade: I added waitHooks{"upgrade-charm", "config-changed"}, before waitHooks("db2-relation-changed mysql/0 db2:0"}, and it failed on the first one17:48
dimiternfwereade: you know, i think it's best to leave it for now - i'll lbox propose -wip17:49
dimiternfwereade: and start fresh on monday17:50
fwereadedimitern, sgtm :)17:50
dimiternfwereade: thanks for all the help, really17:53
dimiternfwereade: learned a lot today :)17:53
fwereadedimitern, a pleasure :)17:53
dimiterni'm off then17:53
dimiternhave a good evening and weekend everyone17:53
TheMueSo, I'm off too. Have a nice weekend everyone.17:57
fwereadeTheMue, hapy weekend17:57
TheMuefwereade: Thx, also for you.17:58
TheMuefwereade: Environ w/o Bootstrap looks good so far, Monday morning I'll add the tests.17:59
fssniemeyer: ping19:10
niemeyerfss: Hey19:10
fssniemeyer: can we get those iam patches merged? :-)19:12
niemeyerfss: Definitely19:12
niemeyerfss: It is in the queue, promisse19:12
niemeyerpromise19:12
fssniemeyer: thanks19:12
niemeyerfss: It isn't the only thing, unfortunately, but it is there19:12
fssniemeyer: i'm just revisiting some code and noticed the github.com/fsouza/go-iam import path :-(19:13
niemeyerfss: AW19:14
niemeyerAw, that is19:14
niemeyer:)19:14
fssniemeyer: regarding the queue, is there anything I could help? :-)19:23
niemeyerfss: Thanks for the offer, but I'm afraid not.. it's just stuff on my plate20:09

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