17:00:46 #startmeeting Designate 17:00:48 Log: http://eavesdrop.openstack.org/meetings/networking_ml2/2014/networking_ml2.2014-07-16-16.01.log.html 17:00:51 bye 17:00:54 Meeting started Wed Jul 16 17:00:46 2014 UTC and is due to finish in 60 minutes. The chair is Kiall. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:56 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:58 The meeting name has been set to 'designate' 17:01:04 Hey All - Who's here? 17:01:09 Agenda @ https://wiki.openstack.org/wiki/Meetings/Designate 17:01:10 o/ 17:01:10 o/ 17:01:11 o/ 17:01:18 o/ 17:01:34 #topic Action Items from last week 17:01:37 o/ 17:01:42 here 17:01:45 No actions, nice and easy :) 17:01:55 #topic Subdomain/Parent Domain verification logic 17:02:00 that would be me 17:02:00 jaycaz: over to you 17:02:05 All right then 17:02:28 sorry here 17:03:02 vinod and I have been talking about subdomains, since I'm adding verification to make sure a tenant doesn't add a domain if another tenant owns a subdomain of the domain 17:03:29 aye mates 17:03:33 is it even possible to create a subdomain before a domain is created? 17:03:59 jaycaz: yes, you can create a sub domain before a domain 17:04:02 Yea - That has been a longstanding bug, the other way is handled, but not someone creating a domain "above" yours. 17:04:23 all right, so how can we update the subdomains' parent IDs to make sure the user is aware the parent ID has changed? 17:05:03 is it possible to have only sub.example.com without having example.com for dns name resolution? 17:05:07 vinod was thinking about adding an update_subdomain flag that would need to be set to True, otherwise creating a domain with existing subdomains would fail 17:05:38 jaycaz: The simple, as little code as necessary way, would be to query for all zones matching %.new-domain.com., and just update them, it will all happen inside of a TX, so should stay consistent. 17:06:08 okay, that makes sense 17:06:38 re update_subdomain flag, I'm not sure I understand the reasoning? The only thing we update is the hidden "parent domain" field? 17:06:44 we were just concerned that 1. this would be in the create_domains function and would be called every time a domain was created (meaning possible performance issues for tenants with many domains) 17:07:03 jaycaz: it would mean preformance issues for all tenants 17:07:14 and 2. should a create function update other objects besides the object being created? 17:07:17 you would have to search all tenants for the sub domains 17:07:35 jaycaz: re 2 - I think yes, since we're tracking the relationships 17:07:42 re 2 - yes - if needs be to create an object 17:07:52 okay, so the user never sees this parameter then? 17:08:19 and, as long as no other tenant owns a subdomain, an all_tenants search isn't required. good point 17:08:27 jaycaz: yea - it's not exposed to the user, so they wouldn't "notice" change to the other domain 17:08:58 all right, well that helps a lot! 17:09:04 :) 17:09:07 as for the second part... 17:09:20 how to search for subdomains across all tenants for the verification step? 17:09:30 should we just do it the way it was done in autohost? 17:09:38 autohost? 17:09:53 classic DNS 17:09:58 sorry 17:10:30 Sounds like that might be something only the RAX folks know about ;) 17:10:39 sigh, intern problems 17:10:55 sorry about that 17:11:26 :D 17:11:29 So - The current is_subdomain method, we'll need something similar for is_superdomain - https://github.com/openstack/designate/blob/master/designate/central/service.py#L241 17:11:45 I have a prototype for that atm 17:11:47 It's pretty inefficient, but is_superdomain should be easier 17:11:56 and it shows how to do the all tenants search 17:12:10 the problem is to search across all tenants for a subdomain without doing something like *.domain.com. 17:12:33 I'm not sure we really have any other choice? 17:12:45 i don;t think so 17:13:11 something someone suggested... 17:13:11 how about reversing labels and comparing that way? 17:13:30 e.g. Cust A could have bla.bla.bla.bla.bla.domain.com, and we need to find that when someone tries to create "domain.com" 17:13:39 i.e. ".moc.niamod.*" 17:13:54 that way it can be indexed much easier 17:14:19 is ".moc.niamod.%" really more efficient than "%.domain.com."? 17:14:45 I would have thought both would have been about as awful as each other :) 17:15:09 if it's indexed, shouldn't it be? 17:16:10 Yea - Possibly.. 17:16:13 jaycaz: I actually agree that it may be faster to reverseit 17:16:25 but not sure of the implications 17:16:46 (ie would we have a method in storage to reverse the string ;) ) 17:17:00 maybe add a column to storage? 17:17:10 hum.. 17:17:10 on the domains table? 17:17:19 that is 2 indexes of the same info 17:17:27 which i would not be ok with 17:17:28 Yea, we would have to, but, the Q for me is, do we let that implementation detail leak out of storage or not? 17:17:35 ^ too 17:18:09 It should be relatively easy to test, create a dummy table, script INSERT for 5 or 10 million entries, and give the queries a whirl.. If there is a significant difference, it should be noticeable with that # of rows 17:18:41 If it's not noticeable, then, we may just be making work for ourselves? 17:18:41 Kiall: I just created a script to add random domains/subdomains, so I could test that out and let you know 17:18:51 yeah - just ensure it is random data, not sequential ;) 17:18:52 jaycaz: great minds and all that ;) 17:19:16 Kiall: haha, of course :P 17:19:36 jaycaz: Okay, Why don't we see what sort of #'s we see when comparing the two, and go from there? 17:19:43 sounds good 17:19:44 Kiall: sounds like a plan! 17:19:49 Also.. CaptTofu_ ... you're a DB guy.. Advice? 17:20:35 Would a LIKE 'string%' be significantly faster than LIKE '%string' with a large # of rows? 17:20:51 (Not sure he's still here TBH) 17:21:12 Okay.. Guess not, moving on. 17:21:15 #topic Submission of talks for Paris Openstack summit 17:21:18 vinod1: over to you 17:21:47 i wanted to check if anybody had ideas on submission of talks for the next summit 17:22:30 The deadline to submit speaking sessions for the Paris Summit 2014 is Monday July 28, 2014. 17:22:36 #link https://www.openstack.org/summit/openstack-paris-summit-2014/call-for-speakers/ 17:23:12 I've not given talks much thought this time around, another than sballe has asked me to co-present a non-designate talk... 17:23:46 I was thinking about one for pools - as we should have something to show by then 17:23:49 Is anyone already planning on submitting a Designate talk BTW? 17:23:51 Kiall, hi :-) 17:24:39 i haven't given much thought to it myself 17:24:42 and maybe a workshop to write a backend driver - showing the mDNS etc 17:25:13 mugsie: I like that workshop idea 17:25:27 yeah - i figure it could be an interesting one 17:25:58 i figured I would write it in advance, but walk throught the code "step by step" as i "write" it 17:26:01 Should we not do similar talks from last summit, the ones for people who haven't checked out the project yet? 17:26:16 yeah - think tht is definitly worth it 17:26:27 especally as we have been incubated in the meantime 17:27:17 so far me, Kiall, rjrjr_ , and CaptTofu_ have given that talk 17:27:17 Okay - Do we have some volunteers for an intro talk? 17:27:29 i can take that 17:27:58 sounds good :) 17:28:27 Kiall loves giving talks 17:28:38 CaptTofu_: yea, that's, umm. Not true. 17:28:38 and demos ;-) 17:29:02 demos I'm fine with.. even when they crash and burn.. ;) 17:29:14 brb - spilled water everywhere -_- 17:29:21 :-) 17:29:25 i would like to help out with any talks or demos again. 17:30:24 do we want to coordinate our talks again? 17:30:42 i think that worked well for us in the past 17:30:43 back - I think that worked well last time 17:31:05 mugsie: want to get an email thread / hangout going again? 17:31:07 so we should continue with that tradition 17:31:07 yeah - defintly 17:31:11 yeah - np 17:31:16 action me ;) 17:31:26 how about we throw around ideas and settle on some topics at our mid-meetup in a couple of weeks? 17:31:40 the deadline is the same day as we start rjrjr_ :( 17:31:44 rjrjr_: abstracts are due 27th I think 17:31:50 oh. 8^( 17:32:09 #action mugsie to setup etherpad / email thread / hangout for coordinating some talks 17:32:41 In case we have any silent people listening - anyone who wasn't on the last one - drop mugsie your email address and he'll get you invited 17:33:00 Okay - should we move on then? 17:33:02 yup 17:33:06 graham.hayes@hp.com 17:33:17 #topic Spec for Zone and Record TotalCount 17:33:24 #link https://review.openstack.org/#/c/106098/ 17:33:28 #link http://docs-draft.openstack.org/98/106098/2/check/gate-designate-specs-docs/b622b44/doc/build/html/specs/juno/zone-and-record-totalcount.html 17:33:58 I think the spec looks good, but wanted to get peoples thoughts on the Format 1 vs Format 2 stuff so we can approve 17:34:05 (it's jaycaz's spec) 17:34:15 I like format 2 17:34:22 He was taken by other interns. 17:34:24 I am in favor of 2 17:34:27 But I like format 2 as well. 17:34:28 timsim: lol 17:34:35 Okay - Anyone prefer Format 1? 17:35:03 And - If you haven't seen it - take a sec to read the proposed change section 17:35:05 Kiall: what is the adv of format 2? 17:35:08 (Just let us know your reading) 17:35:17 I read 17:35:22 I read it 17:35:46 I like format 2 because it gives us a place to add more things in the future 17:35:50 eankutse: I prefer #2, as it allows us to expand on the set of metadata we supply overtime without growing the number of "root" elements in the JSON 17:36:21 It also "looks" right to have a container, as all the other root elements are also containers 17:36:29 ++ 17:36:39 I would like to limt the amount of root elements 17:36:40 k. 17:37:24 + for format#2 17:37:35 OK - I think we can call that decided then.. 17:38:24 #action jaycaz to update zone-and-record-totalcount spec to remove Format 1 17:38:24 17:38:42 Kiall: sounds good! 17:38:43 Before we move on, does anyone have ant other comments/questions on that spec? 17:38:54 Looks great! 17:39:13 I am happy with it 17:39:24 Okay - Once updated, I'll Approve unless I see some -1's on it in the next day 17:39:49 Moving on :) 17:39:51 #topic Open Discussion 17:40:18 So .. Since our last meeting, we hit a milestone or two :) 17:40:35 1) vinod1 got us a working mDNS :) Go vinod1 :) 17:40:56 \o/ 17:41:04 Thanks kiall 17:41:08 cool :-) 17:41:10 +1 17:41:13 2) We're slowing becoming more and more "Official".. mugsie got our docs sorted :) http://docs.openstack.org/developer/designate/ 17:41:19 vinod1: it was quite cool to dig at designate :D 17:41:35 Oh snap, that's cool. 17:41:52 timsim: we had to actually code that red banner at the top left to get accepted 17:42:11 mugsie: thx for doing that 17:42:11 Hah, that's pretty awesome. 17:42:33 np - brought me back to my begining days in software dev ;) 17:42:37 and 3) While it hasn't merged yet.. betsy got our v2 RecordSet/Record API in order :) Now all we need to do is fix the historical "priority" is special thing, and we can call that API solid :) 17:42:46 \o/ 17:42:55 So close 17:42:58 Very cool. 17:43:24 Yep! Looking forward to merging those and getting closer to stability rather than feature work :) 17:43:45 So - Anyone got anything else? 17:43:47 mugsie - can we get designate listed here too - http://docs.openstack.org/developer/openstack-projects.html 17:43:59 vinod1: yeah, need to ping the docs team 17:44:12 #action mugsie to try get designate listed here too - http://docs.openstack.org/developer/openstack-projects.html 17:44:13 ;) 17:44:48 * mugsie needs to go find how that page is generated 17:45:18 Nobody have anything else? 17:45:25 not me 17:45:26 I am good 17:45:28 got one 17:45:50 so when we update the docs do we need to do anything else before it shows up at http://docs.openstack.org/developer/designate/ 17:46:03 nope 17:46:06 vinod1: no, magic happens and it should publish straight away 17:46:15 for the client - the docs only publish when we tag 17:46:29 and for specs - There isn't a place for those yet it seems 17:47:17 If you want http://status.openstack.org/zuul/ right after a change merges, you'll see our designate-docs jobs triggered in the "post" pipeline to build+publish 17:47:22 If you watch* 17:48:13 Okay - If that's everything, we can call it a day :) 17:48:15 Thanks all! 17:48:23 bye 17:48:28 o/ 17:48:31 see ya! 17:48:32 #endmeeting