17:01:38 #startmeeting Designate 17:01:38 Meeting started Wed Dec 3 17:01:38 2014 UTC and is due to finish in 60 minutes. The chair is Kiall. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:39 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:01:41 The meeting name has been set to 'designate' 17:01:49 Heya - Who's about? 17:01:51 o/ 17:01:56 o/ 17:02:01 o/ 17:02:23 vinod1 / betsy about today? 17:02:39 Guess not :) 17:03:05 They'll be along shortly I bet 17:03:06 Quick off-agenda item - Kilo-1 status page .. Anything we're missing from it, please add https://launchpad.net/designate/+milestone/kilo-1 17:03:09 yes 17:03:10 o/ 17:03:21 #topic Actions Items from last week 17:03:53 I'll skip a few of these that are duplicates ;) 17:03:53 timsim file bug for PUT behavior in the API - Done 17:03:53 Kiall give timsim mockup code for totalcount - Done 17:04:00 mugsie push horzion code upstream - Done - Needs a +A 17:04:10 transition powerdns backend to MDNS. - is that needed? 17:04:13 people review ekarlso- 's secondary zones / v2 API bindings - Any takers on that one? 17:04:22 rjrjr_: I think it needs to be renamed to pools :) 17:04:28 I am looking at the secondary zones 17:04:32 I reviewed secondary zones, I think vinod did/is in progress 17:04:34 ^ is just an initial push of internal code, so unless there is glaring errors, can we get it merged? 17:04:39 Anyway - We can discuss those in detail next week, I'll be putting Kilo release status on 17:04:48 the agenda from then on 17:05:03 i can do a quick scan of the horizon code today 17:05:06 Just want people to fill out any missing stuff before next week :) 17:05:23 vinod1: excellent :) 17:05:40 Okay - Moving on! 17:05:41 #topic Pools - Where are we? (kiall) 17:05:53 So - We've got lots merged, where do we go from here? :) 17:06:15 I’ve still got my work 17:06:17 i think testing multiple pools, (even with manual switching) and seeing what breaks 17:06:24 Almost done just getting the tests working 17:06:35 betsy: cool 17:06:42 i'm in the middle of a integrating pool manager with central without going through the backend proxy. 17:06:50 mugsie: ++ 17:06:53 Afraid there’s going to be crazy merge issues 17:07:03 betsy: there always is 17:07:13 Beyond that - We'll need to port over the backends (PowerDNS, Fake, NSD4 etc. We'll discuss IPA style in the next topic) 17:07:17 :) 17:07:33 I've started PowerDNS - But hit a blocker and it was late ;) 17:07:47 we also need to decide how to display via CLI/API the status and action. 17:07:48 Do we have any takers for the other easily portable backends? 17:08:15 i will have a look at nsd 17:08:23 i handled fake already. 8^) 17:08:38 rjrjr_: You're doing bind9 too or no? 17:08:47 Easily portable: Fake (done), NSD4 (mugsie), PowerDNS (me), DynECT 17:09:05 bind9 is done. 17:09:08 I'm guessing myself / ekarlso- / mugsie will need to do DynECT due to having an account with them 17:09:13 Cool. 17:09:20 I'll ask ekarlso- to, as he wrote it the first time ;) 17:09:46 Okay .. During porting - I'd suggest we replace the old backend, rather than add a new _pool version. Thoughts? 17:09:57 +1 17:10:09 i think we should wait until we have pool manager integrated completely. 17:10:34 well - there's a catch-22 there of can't kill the old code without breaking all the old-style backends 17:10:39 never mind. you are correct. go for it. 17:11:06 rjrjr_: With your current patchset - would the pool manger integration be complete? 17:11:19 when it is completed, yes. 17:11:22 okay - so, beyond those ports (and IPA style backends, which we'll come to in the next topic). API chanegs to expose the status etc was suggested as a next step? 17:11:42 i have questions about unit testing, but i'll wait until the open discussion. 17:12:15 kk.. I guess that leads into the next topic then.. Any more general pools status / progress / questions? 17:12:35 Kiall - your code for recordsets seems to be propagating to pool attributes and now domain attributes 17:12:49 so we need to get that cleaned up 17:13:01 vinod1: ah yes, timsim filed a bug for that.. 17:13:17 Do we have any takers on it? 17:13:26 whats the bug? 17:13:31 (I can't remember if tim assigned himself, or just filed it) 17:13:41 Nah I didn't assign it to myself. 17:13:43 bug 1396720 17:13:47 Launchpad bug 1396720 in designate "PUT on a Recordset with multiple Records results in delete/recreation of all Records" [High,Triaged] https://launchpad.net/bugs/1396720 17:14:10 I can look at it 17:14:19 havent done much upstream workn this month ;) 17:14:26 Thanks mugsie .. 17:14:36 i hope we are not making any big changes to central until i get this patch in. just a wish really. 8^) 17:14:45 rjrjr_: lol... 17:15:01 rjrjr_: I am going to change everyhthing 17:15:05 It should be an API layer fix ;) 17:15:08 just for the fun of it ;) 17:15:11 Okay.. Moving on :) 17:15:18 #topic Pools - Removing the old backend code, migration path for IPA style backends? (kiall) 17:15:53 rjrjr_: patchset has started this, but myself and mugsie started talking about it last night.. 17:16:31 We're thinking we really need to provide the migration path for IPA style backends (also applies to the InfoBlox backend which should arrive soon) 17:16:33 based on the conversation yesterday, it seems like we will drop support for IPA in Kilo and add it back in the next cycle. 8^) 17:17:00 I think that we can avoid that - hopefully 17:17:03 What does that entail? 17:17:03 mugsie managed to change my mind on that, so wanted to discuss with the group and come to a decision. 17:17:23 We figure it kinda fits into timsim's new-agent proposal .. 17:17:35 I would think that we can re purpose the "new agent", by extending it slightly 17:18:07 If we wanted old-style backends to work as is.. Agent listens for NOTIFY, does AXFR (i.e copy the secondary zone code), then splits that into a backend - for bind - that would just re-render the zonefile and rndc reload.. 17:18:23 What extra work is there for that backend for IPA style things? 17:18:29 For IPA, it might do an AXFR against IPA, compare, and call the old-style backend methods to write our the changes 17:18:50 Seems doable. 17:18:56 yeah, i think so 17:19:10 Yea, I think it sounds doable at 1000 ft alright :) 17:19:24 i just don't want to dump some of the backends, with out an attempt to help them work 17:19:28 kiall: It always does :D 17:19:38 so, what does that mean for my current work? 17:19:51 once it is accepted, IPA is broken. 8^( 17:20:10 the timing here is going to be tricky. 17:20:14 i think we can get ^ done fairly quickly 17:20:17 Anyway, If we want to ensure we keep that support - then getting that work (work == bones of new-agent) done becomes a priority... thoughts? 17:20:44 I'd agree. 17:20:44 rjrjr_: yea, that's where I'm hoping we come to a decision and get the bones written up really quickly so as to not block you for too long 17:21:00 i'm concerned, but that's because i see what still needs to happen with pool manager. 17:21:00 I would like to make it a prioroty 17:21:12 (The Agent is a rather large RAX priority, so it looks like I was going to be working on it anyway) 17:21:36 rjrjr_: Yea, finding the balance is the fun one ;) 17:21:46 #link https://wiki.openstack.org/wiki/Kilo_Release_Schedule 17:21:47 i think that we can have 2 groups working in tandem, and then we can do some git foo to have the switch done right 17:22:00 mugsie: We can do a topic branch! oh wait... 17:22:07 k1 is Dec 18th, and we've been hoping for Pools to be effectively feature complete by then.. 17:22:31 timsim: funnily, neutron has topic branches 17:22:33 :D 17:22:59 which is 431 commits behind master ;) 17:23:03 Kiall: So would you want to wait on merging any "agent" stuff until after k1? 17:23:05 Gonna be a fun rebase! 17:23:06 I think we can look a tthe spec for the agent, propose changes today / tomorrow, and get work started quickly 17:23:27 but, pool manager implies broken IPA without agent. 17:23:29 for K1 the agent doesnt have to pretty or quick 17:23:35 timsim: well, I dunno.. Do we break IPA style for K1, and fix it in K2? or not have 100% pools in K1? 17:23:38 have to be* 17:23:57 i think pools should be the priority. but i'm biased. 8^) 17:24:12 I think I'm OK with breaking IPA style in K1, assuming we commit to fixing it in K2 17:24:12 Kiall: Might be a stretch to get the agent+IPA business done by K1 17:24:23 i think we can postpone that call till next week. if next week there is not much progress, we break IPA in K1 17:24:31 I think that seems reasonable. 17:25:09 So action people to review the agent spec then? 17:25:09 i'm okay with that. 17:25:15 yup 17:25:18 Any other opinions or shall we call it break IPA-style in K1,commit to fixing in K2, unless we can agree next week that Pools+Agent is doable by K1? 17:25:34 #action all review new-agent spec 17:25:42 aim to keep it, and decide next week 17:25:49 mugsie: +1 17:25:52 mugsie: yea, aim to keep, see how reality based that is 17:26:05 #link https://review.openstack.org/#/c/131530/2 Agent spec 17:26:18 this is going to be fun... 17:26:24 rjrjr_: :) 17:26:27 rjrjr_: yea, sorry :( 17:26:43 On the plus side, you'll learn more about git rebase :D 17:26:48 * Kiall ducks for cover 17:26:53 You're going to be a rebase master rjrjr_ :P 17:26:54 yeah, there is that. 17:27:01 Okay - Anything else on this before Open Discussion 17:27:05 ?* 17:27:08 I am good. 17:27:13 I'm good. 17:27:42 #topic Open Discussion 17:27:46 mid-cycle summit - will rackspace be able to attend in San Jose? 17:27:50 rjrjr: Just wanted to check if you had any inputs on the horizon code 17:27:52 Any other topics? rjrjr_, you had one? 17:28:11 since ebay was interested in horizon 17:28:24 i handed the code to PK. he is in the process of getting it up and running. i'll check with him today and get back to you about it. 17:28:37 mid-cycle summit? 17:28:41 rjrjr_: if he's stick, ping us :) 17:28:50 stuck* 17:28:55 yeah, I have been talkig to him 17:28:58 sure. stick or stuck. 17:28:59 kk 17:29:39 for the mid-cycle summit - i still haven't heard back anything from the higher ups 17:29:51 okay. 17:30:02 If I remember right - Joe had said it should be fine, but official approval etc etc 17:30:08 correct 17:30:11 Yeah, that's what it looks like. 17:30:18 can we get a go/no go by 12/24? 17:30:35 We can try 17:30:46 It's a "go" from HP anyway... 17:30:52 cool! 17:30:57 We'll sick Joe on it :P 17:31:06 okay, now a question about unit testing... 17:31:24 so, if i'm understanding what i'm seeing, i need to have central, pool manager, and mdns running. 17:31:33 pool manager will use the fake backend i wrote. 17:31:46 mdns needs fake stuff too, correct? 17:31:48 Ideally, we fix Pool Mgr's shiney new tests to, well, not need all that 17:32:24 the problem is central is failing miserably on tests. 17:33:03 ideally, mdns would have fake calls for NOTIFY, AXFR, etc. 17:33:15 since we won't really have a backend. 17:33:28 If I remember right, all central calls -> pools are cast - i.e. fire and forget - those can be mocked easily, and we can just validate the right stuff has been passed into the call 17:33:54 so, a mock pool manager then? do we have an example of a mock service? 17:34:08 Well, not a full mock... you can do something like this.. 17:34:14 i'm new to Python unit testing, so any guidance you can provide is appreciated. 17:34:30 with mock.patched(pool_manager_api, 'some_method') as m: 17:34:56 then when central calls "some_method" it'll be just record the args and return nothing (like the real call would) 17:35:17 and m.calls[0].args or similar will let you validate the correct things are passed in 17:36:26 okay. this is a learning curve for me. this might take me a couple of days. 17:36:51 https://github.com/openstack/designate/blob/master/designate/tests/test_mdns/test_notify.py#L37 17:37:00 ^ Similar example from mDNS code 17:37:28 In that case, patching the dns.query.udp() method 17:37:35 We can sync up after the meet if you like? 17:37:49 okay. 17:38:26 Cool - Any other topics? 17:38:37 I'm good. 17:38:47 mugsie / vinod1 / betsy ? 17:38:51 nopoe 17:38:52 Nothing from me 17:39:21 I’m good 17:39:24 Cool, will call it a day then :) 17:39:47 rjrjr_: give me 10 mins and I'll ping you if your free then... 17:39:47 Thanks all :) 17:39:47 #endmeeting