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

davecheneyniemeyer: thanks for fixing gozk01:37
davecheneyniemeyer: 2012/06/05 11:37:12 JUJU provisioning: environWatcher reported error on Stop: watcher: critical session event: ZooKeeper connecting01:38
davecheneynow the PA can sense zookeeper going away01:38
davecheneyniemeyer: i'm liking the way this looks now02:20
davecheneyif we get a !ok watching for changes, we just return, and I let defer's take care of cleaning up02:20
davecheneyit's much cleaner, and -2 functions02:20
davecheneywhat a crappy day07:59
davecheneyspent 1/2 the day thinking their was a bug in the watchers07:59
davecheneythen finaly realised, at 5pm, that there are actually connections in place when you are running tests08:00
TheMuedavecheney: Hiya. Hehe, I know that feeling.08:04
TheMuedavecheney: But at least you can end the day with the knowledge that you've found it.08:05
davecheneyand a rush to get my change propsed by 6pm :)08:05
davecheneyTheMue: i was going mad08:05
davecheneyi chased it all the way down to gozk and back again08:05
davecheneyand I was just writing up the message asking for help and explaining that if I actually killed the zookeeper server08:06
davecheneythen everything would work fine, when I relalised that clearly I was closing the wrong connection08:06
Aramhello.10:09
TheMueAram: Hi.11:25
Aramhey there11:26
niemeyerGoooood morning jujuers12:59
niemeyerWhat a beautiful morning it is here indeed13:00
Arammorning.13:00
mrammgood morning.13:00
Aramrains here13:00
mrammhere too13:00
niemeyerAram: Worry not, I'll make sure to send some of the fantastic weather in your direction13:00
Aramniemeyer: do you see the transit of Venus in your area?13:11
* Aram hopes it's not cloudy tomorrow13:11
niemeyerAram: Unfortunately not :-(13:24
TheMueniemeyer: Morning. Here it is grey, thakfully dry, and both daughters are ill. *sigh*13:39
niemeyerTheMue: Oh :(13:40
niemeyerTheMue: What's up with them? Cold?13:40
TheMueniemeyer: No, the younger one has typical female probs (she always has a hard first day), the older one has cut herself yesterday.13:41
niemeyerOuch!13:41
TheMueniemeyer: Indeed, stayed until 1am in the clinic and hope to get her back today or tomorrow.13:42
niemeyerTheMue: Wow.. so it was serious indeed.. is she ok now?13:42
TheMueniemeyer: Yes, but the cut has to be stitched.13:43
niemeyerTheMue: Ok, but that's generally something fast to do13:44
TheMueniemeyer: Yes, now they only control that it doesn't infect. And her blood pressure went down.13:45
niemeyerTheMue: I see13:48
TheMueniemeyer: That's why we now wait for a call from the hospital to fetch her.13:49
TheMueniemeyer: By the way, could you take a look at  bug 1007373? I added a comment what we already check and what to add when adding a relation. Maybe you see more.13:50
niemeyerTheMue: Will look13:50
niemeyerTheMue: It's not clear to me how your comment relates to the description of that bug13:52
niemeyerTheMue: Can you please respond (here or there) in terms of the specific issue described?13:52
niemeyerTheMue: THe issue is very specific.. a "Tests so far" list does not make it clear to me13:53
TheMueniemeyer: OK, try to make it more clear.13:53
niemeyerTheMue: Talking to me is fine as well :)13:53
TheMueniemeyer: The implemented tests so far are the same as in Py. That are all those points I listed below.13:54
TheMueniemeyer: Those tests we not yet have - in both versions - are the open tests.13:54
TheMueniemeyer: Mostly if identifiers are not empty and role and scope contain valid values.13:55
niemeyerTheMue: Can you please read the description of that bug again?13:55
niemeyerTheMue: And explain how you feel about *that specific issue*13:55
niemeyerTheMue: Your telling me about tests you have or not.. I raised a specific problem that I'd like to understand13:55
TheMueniemeyer: As far as I understood the issue there are open validations regarding the endpoints in State.AddRelation().13:56
niemeyerTheMue: Not just that.. it's also about the side effects of validating later rather than sooner13:57
niemeyerIt'd be bad to be creating state in ZooKeeper just to later tell13:58
niemeyersomething13:58
niemeyer> trivial to the user that we could have verified upfront. We shouldn't be13:58
niemeyer> duplicating this logic, though.13:58
niemeyerTheMue: I haven't heard anything about what you think of that yet..13:58
TheMueniemeyer: I'm just checking my current version, most is now tested upront any writing to ZK.14:01
niemeyerTheMue: Sorry, but I still can't follow.. can you please be more specific?  Something like "No, that can't happen because if the endpoint is invalid foo bar will check and prevent the node from being created."14:03
niemeyerTheMue: You may well be right, but I can't tell yet..14:03
TheMueniemeyer: That's exactly what I'm implementing now and what the next proposal will show to you.14:04
niemeyerTheMue: Heh14:04
TheMueniemeyer: I only wanted to know if you see any specific tests I forgot, so I wrote them down.14:04
TheMueniemeyer: The way I test it you will see then.14:04
niemeyerTheMue: That bug is about one specific issue.. that comment makes no sense in that context14:05
niemeyerTheMue: We already have a function to validate endpoints..14:05
niemeyerTheMue: That bug is about the fact they are not being validated before the endpoint is being acted upon, which causes state in zookeeper to be created.14:05
TheMueniemeyer: Then maybe I've got a problem understand your issue and would like you to rephrase it for me.14:05
niemeyerTheMue: We need to do the validation upfront rather than doing random writing and then testing that the parameter is invalid.14:06
niemeyerTheMue: That's all14:06
TheMueniemeyer: Not everything is tested yet, and when having two endpoints the first one could be writte while the second later breaks the iteration over the endpoints because the second one is invalid.14:06
TheMueniemeyer: Yes, that upfront testing is added in the new branch.14:07
niemeyerTheMue: That's what this bug is about14:07
niemeyerTheMue: If you're fixing that, it's great14:07
TheMueniemeyer: OK, then I only found more to validate.14:07
niemeyerTheMue: Yep, that's even better, thank you14:07
TheMueniemeyer: The rest is clear.14:07
niemeyerTheMue: Awesome, cheers!14:08
TheMueniemeyer: cheers14:08
TheMueniemeyer: Then I only have to add some negative tests to verify it and it comes in.14:08
* TheMue just got the news to fetch Janina in 2h from the hospital. *yay*14:40
mrammTheMue: Yay indeed14:49
mrammTheMue: Must have been scary14:49
niemeyerTheMue: Phew!14:50
TheMuemramm: Yes, it has been. At least the first shock. After we've seen her it got better. But it's still different from a children's disease.14:51
* TheMue thinks back of what we already had with our girls.14:52
niemeyerWoohay.. first fire of the year in the fireplace17:59
Beretcold and Brazil just doesn't compute for me for some reason19:55
Beretperhaps because I've never been there19:55
Beretor perhaps just because the heat is talked about far more than the cold19:55
niemeyerfwereade: ping19:58
niemeyerBeret: yeah, it's a common illusion to think that the whole country looks like Rio de Janeiro :)19:59
BeretFernando shows me pictures of beautiful beaches and Andreas talks of the heat, and there's my impression19:59
niemeyerBeret: Andreas isn't a good parameter.. he probably has his own snow generation engine at home20:02
Berethah20:04
andrewsmedinaBeret: I live in Rio de Janeiro20:47
andrewsmedina:)20:48
niemeyerandrewsmedina: Just today my wife was saying she'd like to visit Rio..21:13
niemeyerdavecheney: Heya,21:29
niemeyerdavecheney: Good morning21:29
niemeyerJust in time for me to step out :)21:29
davecheneyniemeyer: morning21:29
niemeyerMay be back later for more reviewing..21:29
davecheneyno worries21:29
davecheneythanks for your work overnight21:29
davecheneyespecially that schema one21:29
davecheneyi'll abandon that branch21:30
davecheneyniemeyer: one final thing, with the machines.String(), i agree just printing it's itoa id is right, but it will be a larger change to the tests. I'll resubmit the branch in a bit21:30
niemeyerdavecheney: Sounds good21:34
niemeyerBack in a few hours for some reviewing21:34
davecheneykk21:34

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