17:00:24 #startmeeting Designate 17:00:25 Meeting started Wed Apr 9 17:00:24 2014 UTC and is due to finish in 60 minutes. The chair is vinod. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:26 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:28 The meeting name has been set to 'designate' 17:00:30 who's here? 17:00:57 Heya 17:01:03 o/ 17:01:15 her 17:01:17 here 17:01:18 o/ 17:01:25 #topic Review action items from last week 17:01:40 here 17:01:45 Both the action items were to add agenda action items. They were done 17:01:53 2x actions for me - Both to put stuff on agenda for today. Done 17:02:11 #topic Workshop Meetup - 17:00 UTC via Hangout 17:02:22 BTW - Myself and mugsie will have to leave this meeting a little early 17:02:30 #link https://etherpad.openstack.org/p/DesignateAtalantaWorkshop 17:02:48 Mugsie what day would the hangout be? 17:03:15 on monday 17:03:18 next week 17:03:23 I just added it there ;) 17:03:26 14th? 17:03:30 yup 17:03:46 was a brain fart on my side 17:03:58 rjrjr_: do you want to stay on after that and talk about our talk? 17:04:05 yes. 17:04:11 what time monday? 17:04:27 17:00 UTC -> 18:00 UTC 17:04:36 then 18:00 on wards for us 17:04:43 so about an hour earlier than now 17:04:53 no, this time actually 17:05:03 really? It's 17:00 UTC right now? 17:05:05 we are UTC +1 at the moment 17:05:18 yo 17:05:25 that works for me 17:05:56 where do i find the information about the hangout meetup? 17:06:08 i will send it on after this meeting 17:06:10 Cool :) Graham has everyones's google acct details.. So we'll let him organize the hangout. 17:06:25 #action mugsie to Send out invite etc for Hangout on Mon 14th @ 17:00 UTC 17:07:02 rjrjr_: no details other than "Workshop planning" and https://etherpad.openstack.org/p/DesignateAtalantaWorkshop 17:07:14 okay 17:07:17 anything more on the workshop before we move to the next item? 17:07:35 #topic RRSets APIs - Decision time 17:07:37 Not from me.. 17:07:40 #link https://wiki.openstack.org/wiki/Designate/Blueprints/RecordSets 17:07:56 Okay - So, I added a Proposal #4 (and re-titled the existing proposals) 17:08:12 Can everyone take 5 mins or so to re-read them? 17:08:23 doing now 17:10:42 so proposal 4 is essentially the same as what we had before as the design - correct? 17:10:44 Kiall: how different is this from the one proposed last week? 17:11:19 vinod / eankutse Proposal 3 and 4 are quite similar, but each proposes a different resource is kept 17:11:44 Proposal 4 looks very similar to the original V2 spec (i.e. not what got implemented in the end..) 17:12:17 were there problems in implementation? 17:12:47 with proposal 4 - can we also have a PUT which would be completely replace the existing with the new 17:12:58 eankutse: So, there was 3 proposals last week, the first 3 on that page are the same as last week, just with a new heading for easier referencing :) Proposal 4 is new since last week, but it what I suggested last week 17:13:13 the reasoning being that if we have more changes than the modify could be pretty ugly 17:13:20 k 17:14:01 vinod: the PATCH would replace the entire resource 17:14:04 all updates in P4 replace the set, with JSONPatch offering support to mutate the set in place where needed 17:14:25 and the to add, you would use JSON+Patch 17:14:35 ah, kiall just said it 17:14:38 rjrjr_: yes, there was implementation difficulties - But, we're in a better spot to address those now than we were 17:15:41 Now that backend operations are performed within a TX, we can add a new "replace_records" or similar method that replaces the set as a whole in 1 go, in 1 TX 17:16:09 from an implementation perspective, kiall were you thinking about having a table for recordsets and another for records similar to now 17:16:11 Anyone still reading BTW? 17:16:22 still here. 17:16:23 yes 17:16:41 What data is associated with a recordset, other than ttl? 17:16:58 richm: name, type, TTL 17:17:12 potentially more if/when we add more advanced features 17:17:13 of those, what is allowed to be changed? 17:17:29 for example - GeoIP - RRSet #1 for EU queries, RRSet #2 US 17:17:46 ok 17:17:55 richm: ttl, and we could allow name to change.. we just don't currently 17:18:13 vinod: re the tables - I think this BP happens regardless https://wiki.openstack.org/wiki/Designate/Blueprints/Records_Table_Redesign 17:18:29 i.e. no matter what is chosen here, records gets split 17:18:39 so, some of the "difficulties" in the code is around creating recordset then record, etc.? (i also see a bug was found where recordsets are not deleted with records.) will this help with that? can some of the central code be simplified? 17:19:25 rjrjr_: yes, all the central code for records goes away - RecordSets would be the only thing it knows about with P4 17:20:01 So, the DB layer would, inside a TX, create the RRSet entry, then the Nx RR entries .. Should one fail, it aborts the TX and keeps things clean 17:20:49 Anyone still reading BTW? 17:21:08 i assume you mean reading the proposals - no i am done 17:21:12 okay, my objects last week are being retracted. 8^) this looks better. 17:21:24 objects = objections 17:21:26 vinod: Yea, I mean reading the proposals :) 17:21:46 decision time or any more questions still lingering in people's minds? 17:22:05 So .. Say everyone is done reading.. Let's go thought them one by one? 17:22:14 ok 17:22:20 ==== Proposal 1 17:22:40 Anyone have any pros/cons for P1? 17:23:16 Personally, I dislike the "?modify-rrset" query string, and that without that, a update TTL on a 1 vs 2+ record RRSet behaves differently. 17:23:53 For those folks who actually have to administer DNS - is the concept of managing recordsets separately from records a natual one? So would it be natural to want to modify the ttl (or other attributes) of a recordset separately from records? 17:24:04 natural 17:24:34 in BIND, they just manage records. recordsets are "background". 17:24:36 I also dislike the ?modify-rrset 17:25:21 Pros - Would be that the users deal with records and not recordsets 17:25:32 rjrjr_: yea, in BIND (and many DNS servers) RRSets are hidden away - But, if your managing a DNS server and don't understand them - chances are your zonefiles are invalid, and BIND is silently serving something different than what you told it to 17:25:43 rjrjr_: in BIND, how do you change the ttl in a recordset? 17:25:44 Cons - Modifying the recordset is clumsy 17:26:09 vinod: Yep - Agreed on both your Pros/Cons 17:26:10 you change the TTL for all the records. lowest TTL wins! 17:26:17 egads 17:26:28 you asked. 8^) 17:26:32 that seems . . . sub-optimal 17:26:42 rjrjr_: So, to me, that's not right. Since when i fetch a record via the API, and see ttl=300 17:26:49 then do a DNS query and see ttl=60 17:26:55 something is wrong ;) 17:27:52 Any other thoughts on P1? Anyone disagree with anything said ^? 17:28:01 No 17:28:25 Okay .. Moving on ;) 17:28:27 ==== Proposal 2 17:29:07 This essentially seeks to mimic BIND's behavior 17:29:19 My last comment from above is really related to this one, as P1 enforces the TTLs are the same, while P2 proposes to use lowest TTL wins behaviour similar to BIND 17:30:03 Anyone have pro/con's for P2? 17:30:28 pro: it's what most administrators of BIND expect. 17:31:05 cons: dns behavior might not be consistent with what api shows 17:31:09 rjrjr_: Can't argue with that :) But, for me, the average Designate end-user isn't a DNS admin 17:32:21 Designate should be taking half the DNS admin's job (updating zonefiles), and delegating that to the user who would have been submitting a ticket for that change .. 17:32:21 fits with the way IPA works too - if you change the ttl of a record, it actually changes the ttl of the recordset 17:33:06 so - IPA doesn't expose RRSets in it's APIs, but internally enforces consistency? 17:33:06 I would say keeping the API data cnsistant with the end result is requirement 17:33:15 kiall: right 17:34:19 richm: so, how would we enforce lowest TTL wins with IPA? 17:34:28 It sounds like with IPA, latest TTL wins? 17:34:32 right 17:34:51 enforcing lowest ttl wins would be more difficult 17:35:16 will have to see if ipa can enforce that on the server side 17:35:17 so essentially modifying one record's ttl could modify some other records ttls too 17:35:25 right 17:35:30 New con: We can't easily implement this is a way that is consistent cross different DNS servers 17:35:35 Proposal 5 - Handle TTLs Implicitly - latest TTL wins. 8^) 17:35:43 rjrjr_: lol 17:36:27 Okay .. So, moving on? 17:36:43 Or anything else before we do? 17:36:59 no 17:37:25 ==== Proposal 3 17:37:30 Okay 17:38:19 this is mostly similar to proposal 4 except for the terminology and modify 17:38:43 So .. I can't come up with much in the way of cons for this one to be honest. Essentially, it's RecordSets being called Records, and update being a little different 17:39:10 Cons: We talk about recordsets without calling them recordsets - could be more confusing 17:39:19 +1 17:39:27 i like proposal 4 API better ("record" instead of "data", etc.) 17:39:29 how does this correspond with how other DNS servers (other than BIND) are managed? 17:39:43 also, not sure i like the PUT vs PATCH works either 17:40:10 richm: RecordSets can be mapped onto any DNS (they have to be!). But, with some DNS servers, we'll have to "explode" the RRSet in a list of Records 17:40:30 But - Zonetransfers with mDNS should make that just work 17:41:13 rjrjr_: I think the "records" vs "data" etc is not really important, it's the concept we're aiming to agree on :) 17:41:24 (not important *right now* ;)) 17:41:33 I mean - it sounds like this proposal may be difficult for BIND admins to grok - but what about pdns, nsd, etc.? 17:41:57 i don't think it is difficult, just different. 17:42:22 It seems more natural to me, and aligns better with the DNS specs 17:42:37 P3 and P4 are both likely to cause a double take for DNS admins.. But, DNS Admins are likely not our primary audience 17:44:26 Any other pros/cons on this one? 17:44:30 about PATCH - is it supported everywhere? 17:44:50 Yea, it certainly should be 17:45:09 The bad old days of GET/POST being the only things that worked are gone thanks to APIs :) 17:45:28 (We also use PATCH elsewhere in the v2 API, as do several other OS APIs) 17:45:33 ok 17:46:00 Then it looks like the usage of PUT vs. PATCH is as intended by the HTTP docs 17:46:04 So - No other comments/pros/cons on P3? 17:46:41 vote? 17:46:46 richm: Kinda, PUT is applying PUT's semantics onto a single element within the payload.. But, it's closer than most APIs get to doing it right ;) 17:47:02 ==== Proposal 4 17:47:03 well, let's just say it makes sense in this context 17:47:33 Okay - Cons.. We use the word "RecordSets" - this can be scary 17:47:51 Who has pros/cons on this one? 17:48:31 Pros: Maps to the DNS specs - So will fit on any DNS server while keeping data in the API, and in DNS consistent 17:48:38 I prefer the idea of JSON+PATCH - it shows a good flow of what the modifications are 17:48:56 Cons: New concept recordsets. If we want to add just one record (how many % of the users?) we need to think in terms of recordsets 17:49:27 Cons: The zone file does not have recordsets - just records. But the api has recordsets and not records 17:49:28 Con: doing away with the concept of Record 17:49:31 true, but for most of the users who will have issues, they will be using a CLI / horizon panel 17:49:35 vinod: if your just adding 1 record, then it's a s/record/recordset/ and it should be pretty similar 17:49:52 now Record is RecordSet with one member - a little heavy-duty 17:49:54 eankutse: the concept of record is there, but as a paylod in a recordset 17:50:36 vinod: BIND zone files do have RRSets, implicitly. 17:50:56 yeah, it is the same info that we would be providing if it was called a record.. and it does align with the RFCs. 17:51:22 Pro AND Con: This is the same data model as AWS's Route53. As i said.. Pro AND Con ;) 17:51:47 kiall/mugsie: how are you on time? do you want to start a vote? 17:51:59 eankutse: also, most users will be using JClouds, Python bindings, Web Console.. 17:52:24 vinod: Does everyone have a clear #1 in mind? 17:52:31 kiall: interesting - do you have a url for the route53 docs? 17:52:36 We're fine on time 17:52:45 (dont need to leave anymore) 17:52:58 richm: http://awsdocs.s3.amazonaws.com/Route53/20130401/route53-api-20130401.pdf 17:53:19 RRSet = Resource Record Set BTW, they call them that 17:54:16 http://pastie.org/9057085 - example 17:54:47 ok - thanks 17:55:09 Okay. 5 mins left.. Is anyone ready to vote? Say Yes or No please :) 17:55:15 Yes 17:55:16 yes 17:55:17 yes 17:55:18 Yes 17:55:32 yes 17:55:42 yes 17:55:54 Ok... 17:56:00 #startvote Which RecordSet proposal? P1, P2, P3, P4 17:56:00 Only the meeting chair may start a vote. 17:56:07 grr.. vinod :) 17:56:13 irc://morgan.freenode.net:6667/#startvote Which RecordSet proposal? P1, P2, P3, P4 17:56:27 P4 17:56:33 lol .. that prefix isn't right ;) Try again? 17:56:35 P4 with slight reservation 17:56:35 #startvote Which RecordSet proposal? P1, P2, P3, P4 17:56:35 Begin voting on: Which RecordSet proposal? Valid vote options are P1, P2, P3, P4. 17:56:36 Vote using '#vote OPTION'. Only your last vote counts. 17:56:44 Okay 17:56:44 #vote P4 17:56:47 #vote P4 17:56:51 #vote P4 17:56:53 #vote P4 17:57:02 #vote P4 with slight reservation 17:57:03 eankutse: P4 with slight reservation is not a valid option. Valid options are P1, P2, P3, P4. 17:57:12 lol 17:57:15 :D 17:57:29 eankutse: the bot told you odd ;) 17:57:38 #showvote 17:57:39 P4 (4): mugsie, rjrjr_, kiall, vinod 17:58:04 #vote P4 17:58:07 So .. eankutse / richm let? 17:58:09 left* 17:58:17 #vote P4 17:58:29 that's everyone. 17:58:30 kiall is there an endvote? 17:58:36 Yep #endvote 17:58:44 #endvote 17:58:45 Voted on "Which RecordSet proposal?" Results are 17:58:46 P4 (6): eankutse, vinod, rjrjr_, mugsie, kiall, richm 17:59:02 That's not what I expected :) I was thinking people were leaning towards P3! 17:59:18 you were convincing kiall :-) 17:59:24 #action kiall to put Mini-DNS: Can we rename it to something less provoking, like ZoneTransfer Module? on agenda for next week, again 17:59:35 That's time :) 17:59:43 #endmeeting