/srv/irclogs.ubuntu.com/2012/06/22/#juju-dev.txt

rogdavecheney: mornin'07:04
davecheneyrog: 'sup!07:09
davecheneyjust putting the final touches on the dummy change07:09
rogdavecheney: i looked at the python code yesterday and discovered that provisioner StateInfo problem has a trivial solution...07:09
davecheneyohh do tell07:09
rogdavecheney: http://paste.ubuntu.com/1053800/07:10
davecheneythat'll wokr07:10
davecheneywork07:10
rogdavecheney: yeah. so obvious now that i know it...07:11
rogdavecheney: this my last day before going on hols for two weeks BTW, so if there's anything you wanna talk about...07:24
davecheneyrog: sorry, was in another screen07:39
davecheneyi tried to do a juju bootstrap today07:39
davecheneyit didn't work (not surprising)07:39
davecheneywhat are the steps you think remain between now and having juju bootstrap working ?07:39
davecheneyopp, getting my hurry up call07:44
davecheneyrog, have a good holiday, i'll catch ya in a fortnight07:44
rogdavecheney: i'll try me very best :-)07:45
rogdavecheney: have fun in the meantime, and don't finish everything before i'm back - i don't wanna miss all the fun!07:45
rogTheMue: hiya11:04
Aramheyhey.12:54
rogAram: hiya13:00
TheMueHi Aram, hi rog13:03
AramTheMue: rog: does this look right to you? http://go.pkgdoc.org/launchpad.net/juju-core13:05
AramI wonder how can we force a refresh13:06
rogAram: it only shows subpackages if they've been requested13:06
AramI see.13:07
rogAram: try it now13:08
Aramyeah, much better13:09
rogAram:  for(i in `{ls  | grep -v '\^.'}) {curl -s http://go.pkgdoc.org/launchpad.net/juju-core/$i > /dev/null &}13:09
rog:-)13:09
Aramhi niemeyer13:15
Aramrog: even better, I did it recursively: http://go.pkgdoc.org/launchpad.net/juju-core13:17
Aramto refresh everything.13:17
rogAram: good call13:17
rogAram: we need to add more package-level docs!13:17
niemeyerHeya!13:17
rogniemeyer: yo!13:17
Aramniemeyer: I had the same experience booking my flight, I found a flight on the internet they didn't find, but after I told them about it surely they found it!13:20
niemeyerAram: We should bring that kind of stuff with management..13:21
niemeyerThe agency is of limited usefulness if they can't find flights unless we point out that they exist.13:21
TheMueAram: Hehe, my flight has been ok so far, but then KLM cancelled one of the flights. Now we look for an alternative.13:31
rogniemeyer: here's a CL to look at if you fancy it: https://codereview.appspot.com/633604713:55
rogniemeyer: one more step towards getting the provisioner actually deployed13:56
rogniemeyer: i'm very happy about the code move BTW13:57
niemeyerrog: Sweet!13:57
rogniemeyer: there's one thing i wasn't entirely sure about13:58
rogniemeyer: how to handle the distinction between the original StateInfo (as passed on the command line) and the StateInfo as retrieved from the environment13:59
niemeyerrog: Not sure I get the point13:59
niemeyerrog: ACtually, I'm sure I don't :)13:59
rogniemeyer: in the CL it always connects with the original StateInfo, but that might be dubious13:59
niemeyerrog: Yeah, we'll want to improve that over time14:00
niemeyerrog: But sounds fine for the moment14:00
rogniemeyer: ok. i think that perhaps we'll eventually want to connect using the most-recently-retrieved info, but fall back to the original if that fails14:00
niemeyerrog: If mstate works out, we should be saving the live servers every once in a while14:01
niemeyerrog: Persistently, so that a restart sees all the servers it knew about14:01
rogniemeyer: yeah, and if the PA can't get the correct info then everything is broken!14:01
rogniemeyer: because clients won't be able to connect14:01
niemeyerrog: Right14:02
rogniemeyer: so maybe overwriting Provisioner.info is the right thing to do14:02
niemeyerrog: Sorry, I lost the leap there14:04
niemeyerrog: You mean replacing it every once in a while with state.StateInfo()?14:04
rogniemeyer: yes14:05
niemeyerrog: Ah, agreed14:05
rogniemeyer: currently we store it in a different field14:05
rogniemeyer: (and keep the original in origInfo)14:05
niemeyerrog: Reviewed14:19
rogniemeyer: thanks!14:19
niemeyerrog: Currently or in the CL you're proposing?14:19
rogniemeyer: in the CL i'm proposing14:19
niemeyerOkay14:19
rogniemeyer: the "check that instance is started" TODO is pending dave's changes to the dummy provider14:20
rogniemeyer: which will make it easy to check.14:20
rogniemeyer: i can't add the test without making conflicting similar changes to dummy14:21
niemeyerrog: Okay, let's try to get these changes in now then14:21
rogniemeyer: the dummy changes?14:21
niemeyerrog: Yeah14:21
rogniemeyer: i'm not sure it's ready. unless i missed a message.14:21
niemeyerrog: It's up for review14:22
rogniemeyer: hmm, i think i must be missing messages14:22
niemeyerHmm.. we left the genericOperation private..14:23
niemeyers/we/he14:23
rogniemeyer: weird, i don't seem to have seen *any* of dave's proposal emails14:24
rogniemeyer: i see your replies to them14:24
niemeyerrog: https://codereview.appspot.com/6304104/14:24
niemeyerI think it's good to go in, except for genericOperation14:24
rogniemeyer: yeah, i've found it14:24
niemeyerrog: But you can fix that in your branch easily14:25
rogniemeyer: i don't know that genericOperation needs to be exported actually14:25
niemeyerrog: Well, how one knows how to build the type otherwise?14:25
rogah, except that Env won't show up14:25
rogyeah14:25
niemeyerrog: I'll submit it to unblock you14:26
rogniemeyer: that would be great, thanks14:26
niemeyerrog: Branch is in14:57
rogniemeyer: thanks a lot14:57
niemeyerrog: np!14:57
rogniemeyer: am just working on live tests for the PA BTW14:57
rogniemeyer: crossed fingers for the end of the day14:57
niemeyerrog: Wow, cool14:58
niemeyerrog: Having it actually firing stuff up would make the week for sure14:58
rogniemeyer: BTW it would be great to have that resilience stuff in aws. it really slows down testing when 80% of the really slow tests fail...14:58
niemeyerrog: Yeah, I know14:58
niemeyerrog: Sorry about that14:58
rogniemeyer: 's'ok!14:59
rogniemeyer: just a little nudge every now and again :-)14:59
niemeyerrog: Hehe :)15:04
niemeyerOkay, I'll get some lunch.. back soon15:04
rogniemeyer: https://codereview.appspot.com/6336047 all done, i think. took a little more work than i thought, but i think the tests are better for it.16:16
niemeyerrog: Looking16:17
niemeyerrog: Done16:28
rogniemeyer: lovely. thanks very much for doing it so quickly!16:29
niemeyerrog: My pleasure16:31
rogniemeyer: submitted16:34
rogniemeyer: i've got a preliminary CL that starts the provisioning agent, but i haven't done the tests yet. https://codereview.appspot.com/6333056/16:39
rogniemeyer: someone might want to take it on while i'm away16:40
niemeyerrog: Sounds great, thanks a lot16:44
niemeyerI'll have to step out for a while.. I'm in a bit of trouble here. Have to take some recurrent papers to the bank before the trip tomorrow and we're out of paper16:45
rogniemeyer: oops. that reminds me - i must submit my expense!16:46
rogs16:46
rogniemeyer: ok, there's now one uncompleted test. it's running now... we'll see if it works!17:06
rogdarn, it failed.17:16
rogoh well, it did actually start the PA, even if it didn't work!17:16
rogright, i'm off to pack.17:37
rogcatch y'all in two weeks' time17:37
TheMuerog: Where do you travel?17:37
rogTheMue: to cornwall17:37
rogTheMue: in the camper van17:38
rogTheMue: should be good i hope!17:38
TheMuerog: And with you bikes.17:38
rogTheMue: oh yes17:38
rogTheMue: hope you have a good two weeks17:38
TheMuerog: *sigh* Sounds very good. Never been there, but I still want.17:38
TheMuerog: We'll do our best.17:38
Aramrog: have a great time!17:38
rogTheMue: don't finish it all before i get back!17:38
rogAram: hope so!17:38
TheMuerog: Out holidays on Ruegen will be in September.17:39
rogfingers crossed for the weather17:39
roggotta go, i hear a voice from below!17:39
TheMuerog: No, we'll leave the last line of code for you. ;)17:39
niemeyerrog: Superb, thanks so much18:39
niemeyerrog: and have a brilliant time there18:39
TheMueniemeyer: One little CL: https://codereview.appspot.com/6332048. It's needed for the port of Firewall.20:06
niemeyerTheMue: Looking20:06
TheMueniemeyer: It's only the ExposedWatcher.20:06
TheMueniemeyer: The firewall is only used in the PA. So I think the cmd package would be a good home for it.20:09
niemeyerTheMue: Done20:11
TheMueniemeyer: Ah, thx, will quickly change it.20:13
TheMueniemeyer: Is in again.20:20
niemeyerTheMue: Checking20:24
niemeyerTheMue: Done20:26
TheMueniemeyer: And once again in. ;)20:33
niemeyerTheMue: Man.. :)20:34
niemeyerTheMue: https://codereview.appspot.com/6332048/diff/8002/state/watcher_test.go20:34
niemeyerTheMue: Well, nevermind.. it's actually alright there20:35
niemeyerTheMue: I thought there were more references missing still20:35
niemeyerTheMue: LGTM.. please just fix the CL description when submitting20:35
niemeyerTheMue: Btw, the usual convention is20:35
niemeyerprefix: summary with lowercase first letter20:36
niemeyerTheMue: For that summary line20:36
niemeyerTheMue: But that's minor20:36
TheMueniemeyer: OK, will keep in mind.20:37
niemeyerTheMue: Thanks!20:37
TheMueSo, time to leave. Have a nice weekend.20:47

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