/srv/irclogs.ubuntu.com/2012/07/03/#juju-dev.txt

davecheneyniemeyer: sure thing00:00
niemeyerdavecheney: ping00:29
davecheneyniemeyer: ac00:31
davecheneyniemeyer: ack00:37
niemeyerdavecheney: Yo00:49
niemeyerdavecheney: I was having a look at go-cmd-jujud-services00:49
niemeyerdavecheney: A few points:00:50
niemeyer- You mention the actual meat of the change. Has anything changed within the moved files themselves? Just wondering if I should review that or not.00:50
niemeyer- I was expecting the package to be service/<service name>/*.go00:51
niemeyerMore precisely, juju-core/service/<service name>/*.go00:51
niemeyerMoving them out of jujud but keeping all of the services within the same file would allow importing, but preserve the "mess" which is having all of those unrelated things in the same place00:52
niemeyerI think that's it.. otherwise the idea of moving sounds great00:53
davecheneyniemeyer: thanks for the feedback, i'll fix up the CL and repropse01:27
davecheneyniemeyer: i'm going to do the service CL in three parts, which might make it easier to review and merge01:41
davecheney1, cmd/services01:42
davecheney2, split provisioner and provisioning01:42
davecheney3, move provisioner to the new package01:42
niemeyerdavecheney: Sounds good01:43
davecheneyniemeyer: does bzr have the concept of hg cp ?01:43
niemeyerdavecheney: Btw, I suggest juju-core/services01:43
niemeyerdavecheney: Hmm.. not sure01:43
davecheneyniemeyer: yes, good idea, they dont' belong directly in cmd01:43
davecheneyniemeyer: just trying to reduce the size of the CL that just bifurcate provisioning.go01:44
niemeyerdavecheney: Cool.. as long as we don't move + change the code at the same time, it's easy to review either way I think01:56
niemeyerdavecheney: If there are changes that are tricky to avoid, it's fine to just mention them in the description so we can have a more careful look rather than assuming it's just coded being moved01:56
davecheneyniemeyer: https://codereview.appspot.com/6350064 << just moves Provisioner into it's own file (and tests)01:57
davecheneywhich will make the other change easier to digest01:58
niemeyerdavecheney: If it's just moving, +1 for sure01:59
davecheneyniemeyer: yeah, just splits so I can move later and the diff will just show the package header changed and a few imports01:59
niemeyerdavecheney: Awesome, thanks, sent the LGTM there too01:59
davecheneyniemeyer: this will have a small impact on williams test CL as well02:00
davecheneyi'll work with him this afternoon to help unbreak it02:00
davecheneyniemeyer: can I propose a branch on top of his banch ? ie, can I do the fixes for his branch and he can import them ?02:01
niemeyerdavecheney: Absolutely02:03
davecheneyniemeyer: right, sounds fair, and I want his coretesting and zksuite types02:04
niemeyerdavecheney: Neat, branches are lovely in those cases02:05
niemeyerdavecheney: What would otherwise be a blocker is just a branch + merge02:05
davecheneyniemeyer: https://codereview.appspot.com/6344071 << much smaller02:29
niemeyerPhew'04:18
niemeyerdavecheney: LGTM04:21
niemeyerOkay.. time to sleep now04:26
niemeyerGood night all04:26
niemeyerdavecheney: and good afternoon for you04:26
fwereadedavecheney, morning06:08
davecheneyfwereade: howdy06:09
davecheneyyou've got a green light to drop that massive branch06:09
davecheneybut i've spent the day making conflicts06:09
davecheneyso sorry about that06:09
fwereadedavecheney, ah, no worries, I expect I can manage :)06:10
davecheneyfwereade: let me know if I can be of use, the faster I can get your changes, the better06:10
fwereadedavecheney, you can just merge from that branch and work on top of it -- but then the requested changes to that will lead you to have to deal with probably as many conflicts06:11
davecheneyfwereade: yeah, i've got a few branches in the air at the moment06:11
davecheneybut i'm truing to keep my main 'provision on ec2' as close to trunk as possible06:12
davecheneyerror: cannot upload tools: cannot make S3 control bucket: The specified location-constraint is not valid06:44
davecheneys3 can get stuffed06:44
davecheneyyou _must_ specify a LocationConstraint if you are _not_ using us-east-1 or us-west-106:44
davecheneybut you _mustnot_ specify one if you _are_ using us-east-106:45
davecheneywhich is bullshit06:45
fwereadedavecheney, eww07:02
davecheneyfwereade: going to be a bit of a shit to write a mock for07:15
fwereadedavecheney, yeah, I bet07:15
davecheneyfwereade: this is a nasty wart from us-east-1 being special because it's the first region07:23
TheMueHi fwereade08:41
fwereadeTheMue, heyhey08:42
TheMuefwereade: Just watching the I/O talks.08:44
fwereadeTheMue, I must get to those08:46
fwereadeTheMue, somewhat code-obsessed at the moment08:46
TheMuefwereade: Yeah, with your great change08:48
fwereadeTheMue, I'm going through an obsessive set of running the presence tests08:49
fwereadeTheMue, sadly they are not 100% reliable08:49
fwereadeTheMue, *but* I'm pretty sure that every failure is now timing-related and can be attributed to impolite schedulers and/or GC pauses08:50
TheMuefwereade: Hard to fix stuff.08:51
fwereadeTheMue, yeah, GOMAXPROCS seems to help08:52
fwereadeTheMue, but that could just be my monkey-brain overlaying patterns where none exist08:52
TheMuefwereade: *rofl*08:53
TheMuefwereade: Could you please help me with todays firewall code?09:59
TheMuefwereade: It's regarding line 278ff.10:00
fwereadeTheMue, sure, lookin for it...10:00
* fwereade looks somewhat apprehensive10:01
TheMuefwereade: Thx, and there especially  line 281.10:02
TheMuefwereade: Here a machine, not the machine state, is retrieved from the provider.10:02
TheMuefwereade: Sadly I don't find yet what has this role in our code today.10:02
TheMuefwereade: Did it change or isn't it yet ported?10:03
fwereadeTheMue, in go I think that's called an Instance10:03
fwereadeTheMue, corresponds to ProviderMachine, right?10:03
TheMuefwereade: That's what I want to find out.10:04
fwereadeTheMue, I'm 99% sure it corresponds directly to environs.Instance10:04
TheMuefwereade: OK, will take a deeper look. That may be the missing link.10:05
TheMuefwereade: Thank you.10:05
fwereadeTheMue, a pleasure :010:05
fwereadeTheMue, *dammit*, I have to go to the bank, wanted to finish this off before :/10:07
fwereadeTheMue, meeting in 50 mins, right?10:07
davecheneyniemeyer: thanks for your review10:58
davecheneyniemeyer: figuring out how to test a condition that can only be false if you're talking to the real us-east-1 is tricky10:58
niemeyerYo!10:59
niemeyerdavecheney: Hmm10:59
niemeyerdavecheney: Does it fail if you keep the constraint while talking to us-east-1?10:59
davecheneyniemeyer: yes11:00
* davecheney facepalms11:00
davecheneythat was the first thing i tried11:00
davecheneyus-east-1 is ... special11:00
niemeyerdavecheney: Lovely11:00
niemeyerdavecheney: Anyway, that still sounds easy to test in s3_test.go11:00
davecheneyniemeyer: otherwise it would be straight forward11:00
davecheneyniemeyer: i11:00
davecheneyi'll take another crack tomorrow11:01
niemeyerdavecheney: We have the payload at hanhd11:01
niemeyerdavecheney: And also have the test region at hand11:01
niemeyerdavecheney: We can tweak the region however we want, and see the effect on the payload11:01
niemeyerIsn't it meeting time?11:02
niemeyerfwereade, TheMue, davecheney: Meeting?11:03
fwereadeniemeyer, SGTM11:03
TheMueYes, but currently phone.11:03
TheMueIn a few moments.11:03
davecheneyniemeyer: sure, two secs11:04
niemeyerHmm.. Aram isn't around11:04
niemeyerStarting a Hangout11:05
davecheneyniemeyer: send the invite to david.cheney@canonical11:05
niemeyerDone11:07
niemeyerfwereade: ping11:25
davecheneynouns that are taken: service, agent, command, process11:49
niemeyerworker?11:51
davecheneypossible nouns: daemon,11:51
davecheney^ pretentious ?11:52
davecheneyhttp://laughingmeme.org/2005/12/23/there-are-only-two-hard-things-in-computer-science-cache-invalidation-and-naming-things/11:54
fwereadedavecheney, and off-by-one-errors11:56
niemeyerfwereade, davecheney: Suggestion: Life, SetLife and WatchLife..12:08
TheMue+112:26
davecheneygood discussion tonight12:29
davecheneyjust for reference, i'll sleep on the renaming stuff we discussed and email tomorrow12:30
TheMuedavecheney: ;)12:30
davecheneyi am in agreement that we want to avoid the situation of a bug report that says 'something something agent did not blah'12:31
davecheneyand we have to ask for clarification on if they mean the agent process, or the one of several agent 'services' we had running inside that binary12:32
Aramhello.12:36
Aramgrr, dreadfully sorry I couldn't make it to the meeting.12:36
Aramhad internet problems all morning.12:36
Arammeh.12:36
davecheneyi blame the leap second12:42
TheMueHmm, could it be that todays "provider".get_opened_ports() has no counterpart?13:35
hazmatTheMue,  what would the counterpart be? get closed ports?13:41
TheMuehazmat: Hi, eh, wrong wording. I mean the ported part, which I expected in environs.Environ.13:42
hazmatah13:44
hazmatyeah.. status will need that, else its not really used outside of the provider13:44
hazmater. provisioning agent13:45
fwereadeTheMue, seems that way, it's not in the interface13:45
TheMuehazmat: Yes, I'm porting firewall.py for the provisioning agent. And this type needs it to retrieve the current open ports to compare it with the state.13:49
* niemeyer waves15:00
Aramhi niemeyer.15:03
niemeyerAram: Yo15:03
Aramniemeyer: sorry for not making it to the meeting :(.15:03
Arammy internet didn't work.15:03
Aramwhich is a first, after an year of staying here.15:03
niemeyerAram: It's ok, we can catch up later.. just a bit unfortunate because we talked about the proposal in the ML and covered a few angles, but we can revive that again15:03
Aramyes, I really want to hear opinions about that.15:05
niemeyerAram: Well, me too ;)15:08
Aramniemeyer: more lbox trouble...15:26
Aramhttp://paste.ubuntu.com/1073238/15:26
fwereadeniemeyer, hey, I have something that looks very similar: http://paste.ubuntu.com/1073263/15:34
niemeyerHmm15:34
fwereadeeveryone, I have to go a bit early today... I will certainly be back on in the evening to submit that change, by hook or by crook ;)15:34
niemeyerfwereade: Cheers15:34
Aramniemeyer: maybe it's a leap second bug ;)15:34
Aramfwereade: have fun.15:34
niemeyerAram: Possibly :)15:34
fwereadeAram, haha :)15:34
fwereadecheers guys, see you later15:35
niemeyerAram: Can you please run with -debug?15:37
niemeyerAram: It looks like codereview might be blowing up15:37
Aramniemeyer: sure thing15:37
niemeyerAram: Seems that reaching that point is returning without err15:38
niemeyerAram: oh, wait, maybe I misread15:38
Aramniemeyer: http://paste.ubuntu.com/1073272/15:39
niemeyerAram: The code on goetveld definitely looks wrong15:39
niemeyerAram: Hah, it's the same problem as before :(15:40
niemeyerAram: Just in a different package15:40
Aramheh.15:41
niemeyerAram: The change in redirect semantics sucks15:41
Aramniemeyer: yeah, I don't think this should have happened, document the old behavior and stick with it until at least go 1.1.15:51
niemeyerAram: I'll see what I can do to workaround the issue.. the change in semantics is actually a problem in this case, because I want the response before the redirect, and there's apparently no way to do this now15:52
Aramlunch16:48
niemeyerAram: lbox is coming17:46
Aramniemeyer: fantastic17:46
niemeyerAram: I'll rebuild against golang-stable.. filed a bug against golang and Brad F. will revert his change next week17:46
niemeyerAram: There's simply no way to grab a response before a redirect with his change17:47
niemeyerAram: Which is needed in this case, because the login endpoint redirects, and we want its Cookie before we move on17:47
Aramniemeyer: I see.17:47
Aramniemeyer: so you bakported the exp/ stuff we're using?17:47
niemeyerAram: We're not using anything experimental17:48
niemeyerAram: It was using golang-tip just for historical purposes (IOW, before Go 1 was out, we depended on tip)17:48
niemeyerAram: It turns out that it's handy to depend on tip, though..17:49
niemeyerAram: I may well roll it back after next week17:49
niemeyerAram: I wouldn't have caught the bug on time otherwise17:49
niemeyerAram: Silly me.. apparently it does need exp/ from tip17:56
Aramyeah, I remembered I couldn't compile it at some point.17:56
Arambecause of this.17:56
niemeyerAram: You were totally right18:00
niemeyerAram: I'll just embed it for the moment18:00
niemeyerAram: lbox should be good18:17
Aramniemeyer: thanks.18:18
niemeyerAram: ping20:29
Arampong20:29
Aramseen your email20:29
niemeyerAram: Cool, i was actually going to suggest something, but I'm just reviewing the pre-req.. will work out well20:35
Aramniemeyer: updated that CL, also seen your bug report, will fix it tomorrow, will retreat for now, it's kind of late here :).20:57
niemeyerAram: I can imagine.. almost finishing the last review20:59
niemeyerAram: Thanks a lot for your help on that stuff20:59
Arammy pleasure.21:00
niemeyerdavecheney: Morning!21:59
* niemeyer heads off for dinner21:59
davecheneyziing22:00
fwereade_davecheney, heyhey, I just merged that monster22:02
fwereade_davecheney, I hop it didn't mess with your Machiner plans too badly22:03
davecheneyfwereade_: nah, it was a few minutes work to rebranch and do it again22:12
davecheneyfwereade_: the benefits far outweigh the cost22:12
fwereade_davecheney, btw, if you ever spot the presence tests misbehaving, scream and should and send me the log output please :)22:21
fwereade_s/should/shout/22:21
davecheneym_3: you around ?22:37
davecheneyniemeyer: I had to repropose the machiner -> service/machiner branch here https://codereview.appspot.com/634807722:38
davecheneyadditionally, now it's not a prereq, the branch is much cleaner22:39
m_3davecheney:23:28
m_3yo23:28
m_3davecheney: my reply probably just got out on smtp23:32
davecheneym_3: cool23:33
m_3tomorrow'd probably be great for Ultimo if that works for you23:33
davecheneyyeah, that sounds good23:33

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