Tuesday, 2015-02-10

*** penick has quit IRC00:02
*** chlong has joined #openstack-dns00:08
*** crc32 has quit IRC00:09
*** vinod2 has quit IRC00:11
*** paul_glass has quit IRC00:12
*** gohko has quit IRC01:16
*** adrian_otto has quit IRC01:21
*** rmoe has quit IRC01:29
*** stanzgy has joined #openstack-dns01:34
*** RaginBajin has joined #openstack-dns01:57
*** zhang_liang has joined #openstack-dns02:00
*** rmoe has joined #openstack-dns02:01
*** RaginBajin has quit IRC02:23
*** RaginBajin has joined #openstack-dns02:29
*** penick has joined #openstack-dns02:37
*** bandarji has joined #openstack-dns02:42
*** penick has quit IRC03:08
*** RaginBajin has quit IRC03:13
*** boris-42 has quit IRC03:22
*** bandarji has quit IRC03:33
*** EricGonczer_ has quit IRC04:04
*** richm has quit IRC04:20
*** adrian_otto has joined #openstack-dns04:38
*** penick has joined #openstack-dns04:44
*** penick_ has joined #openstack-dns04:47
*** penick has quit IRC04:49
*** penick_ has quit IRC04:51
*** EricGonczer_ has joined #openstack-dns04:53
*** EricGonczer_ has quit IRC04:57
*** EricGonczer_ has joined #openstack-dns04:58
*** EricGonczer_ has quit IRC05:00
*** chlong has quit IRC07:54
*** adrian_otto has quit IRC08:22
*** jordanP has joined #openstack-dns08:36
*** zhang_liang has quit IRC08:48
*** nihilifer has joined #openstack-dns09:26
*** boris-42 has joined #openstack-dns10:29
ekarlsoboris-42: heya :D10:37
boris-42ekarlso: o hi=)10:39
*** stanzgy has quit IRC10:57
*** untriaged-bot has joined #openstack-dns11:02
untriaged-botUntriaged bugs so far:11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141626411:02
openstackLaunchpad bug 1416264 in Designate "Pool Manager Needs to Recover from Backend Changes" [Undecided,New]11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141815611:02
openstackLaunchpad bug 1418156 in Designate "Policy definition (policy.json) is not honored for admin tenant " [Undecided,New]11:02
untriaged-bothttps://bugs.launchpad.net/python-designateclient/+bug/141556011:03
openstackLaunchpad bug 1415560 in python-designateclient "python-designateclient does not work against an non Keystoned designate" [High,New]11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141984311:03
openstackLaunchpad bug 1419843 in Designate "v2 recordsets api returns incorrect response codes " [Undecided,In progress] - Assigned to Vinod Mangalpally (vinod-mang)11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141380611:03
openstackLaunchpad bug 1413806 in Designate "desigate.plugin.DriverPlugin Hides Errors from Developers" [Undecided,New]11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141913811:03
openstackLaunchpad bug 1419138 in Designate "Nameservers added via /v2/pools are not validated" [Undecided,Fix committed] - Assigned to Tim Simmons (tim-simmons-t)11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141243111:03
openstackLaunchpad bug 1412431 in Designate "handling format with a display_name containing underscore" [Undecided,New]11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141633711:03
openstackLaunchpad bug 1416337 in Designate "Designate server create with concurrent request is not listing all servers even after successful creation." [Undecided,New]11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141626311:03
openstackLaunchpad bug 1416263 in Designate "Pool Manager's Periodic Sync Needs to Regress States" [Undecided,New]11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141302411:03
openstackLaunchpad bug 1413024 in Designate "Add an API flag for force delete from storage" [Undecided,In progress] - Assigned to Vinod Mangalpally (vinod-mang)11:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/128944411:03
openstackLaunchpad bug 1289444 in Designate "Designate with postgres backend is having issues" [Medium,New]11:03
*** untriaged-bot has quit IRC11:03
boris-42ekarlso: so what's up man?)11:32
ekarlsoboris-42: hehe, not much :p11:36
ekarlsoenjoying some semi time off (not getting tasks since i'm awaiting a mini soon)11:36
boris-42ekarlso: oh nice nice11:37
ekarlsoyeah, it's a matter of hours / days11:37
boris-42ekarlso: I hope everything will be fine!=)11:58
*** chlong has joined #openstack-dns11:59
ekarlsoboris-42: (:12:00
*** nihilifer has quit IRC12:04
*** EricGonczer_ has joined #openstack-dns13:00
*** EricGonczer_ has quit IRC13:00
openstackgerritEndre Karlson proposed openstack/designate: Support secondary zones  https://review.openstack.org/13368213:30
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368313:31
ekarlsotimsim: you tharr ?13:51
*** mwagner_lap has quit IRC14:02
*** nihilifer has joined #openstack-dns14:03
*** betsy has joined #openstack-dns14:07
openstackgerritMerged openstack/designate: Return correct response codes for v2 recordset api  https://review.openstack.org/15411714:08
betsyHey Kiall/mugsie/rjrjr - y’all around?14:08
mugsiebetsy: hey - just sitting waiting for a meeting, but kinda around14:09
*** richm has joined #openstack-dns14:09
betsyI just wanted to let y’all know that I’ve taken a position with another team at Rackspace, so I won’t be working on Designate any more, or really any Openstack project14:10
betsyI really enjoyed working with everybody14:10
betsyI want to officially resign my core contributor spot so another can be elected14:10
mugsiebetsy: ah - congrats...14:13
mugsiesorry to see you go :(14:13
mugsiethanks for all the time and effort you put into designate14:13
betsyIt was a pleasure. I’ll miss working with everybody14:14
mugsieyou too! I hope the new team is a good one :)14:16
Kiallbetsy: :(14:16
KiallAs mugsie said, you've been great :) I hope your new team is something interesting ;)14:17
betsyThanks guys. Good luck with Designate. It’ll be a great product14:17
*** betsy has quit IRC14:40
*** jmcbride has joined #openstack-dns14:57
*** jmcbride has quit IRC15:01
*** jmcbride has joined #openstack-dns15:01
*** vipul has quit IRC15:05
*** mwagner_lap has joined #openstack-dns15:06
*** vipul has joined #openstack-dns15:07
ekarlsothat sucks :|15:12
*** adrian_otto has joined #openstack-dns15:13
ekarlsotoo bad to see her go :(15:15
*** lpmulligan has joined #openstack-dns15:16
ekarlsotimsim: you around mr ? : )15:16
*** EricGonczer_ has joined #openstack-dns15:23
*** vipul has quit IRC15:24
*** vipul has joined #openstack-dns15:27
timsimekarlso: Yeah I'm here.15:35
*** nihilifer has quit IRC15:36
*** vinod1 has joined #openstack-dns15:39
*** jmcbride has quit IRC15:46
*** jmcbride has joined #openstack-dns15:48
*** paul_glass has joined #openstack-dns15:49
*** crc32 has joined #openstack-dns16:10
*** crc32 has quit IRC16:22
*** vipul has quit IRC16:25
*** vipul has joined #openstack-dns16:26
*** chlong has quit IRC16:30
ekarlsohttps://bpaste.net/show/595689889b03 timsim16:32
ekarlsolooks good ?16:32
timsimWouldn't you want to do the actual AXFR, so L42, before you break out of the loop so that you can try another server? Otherwise, when that gets retried, its just going to try the same one again and fail again.16:36
timsimI wonder if we should shuffle the list of masters too somehow. Otherwise you're always going to the first one. So you're going to be pushing that one until it falls over before you try another.16:37
timsimekarlso^16:40
*** jmcbride has quit IRC16:40
ekarlsotimsim: sure16:40
*** adrian_otto has quit IRC16:40
ekarlsowhat you meant about #42?16:40
*** jmcbride has joined #openstack-dns16:43
*** vipul has quit IRC16:44
timsimSo line 42 is where the actual AXFR happens right? Or am I wrong. I thought that's how dnspy worked.16:44
*** vipul has joined #openstack-dns16:46
*** rmoe has quit IRC16:53
ekarlsotimsim: oh no the AXFR happens in the for loop16:54
ekarlsobut i'm wondering on what to raise vs ValueError16:55
*** adrian_otto has joined #openstack-dns16:58
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Updated from global requirements  https://review.openstack.org/15417517:00
*** untriaged-bot has joined #openstack-dns17:02
untriaged-botUntriaged bugs so far:17:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141626417:02
openstackLaunchpad bug 1416264 in Designate "Pool Manager Needs to Recover from Backend Changes" [Undecided,New]17:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141815617:02
openstackLaunchpad bug 1418156 in Designate "Policy definition (policy.json) is not honored for admin tenant " [Undecided,New]17:02
untriaged-bothttps://bugs.launchpad.net/python-designateclient/+bug/141556017:03
openstackLaunchpad bug 1415560 in python-designateclient "python-designateclient does not work against an non Keystoned designate" [High,New]17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/142035917:03
openstackLaunchpad bug 1420359 in Designate "Deleting a recordset returns 204 (Deleted) even though it is async" [Undecided,New] - Assigned to Vinod Mangalpally (vinod-mang)17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141984317:03
openstackLaunchpad bug 1419843 in Designate "v2 recordsets api returns incorrect response codes " [Undecided,Fix committed] - Assigned to Vinod Mangalpally (vinod-mang)17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141380617:03
openstackLaunchpad bug 1413806 in Designate "desigate.plugin.DriverPlugin Hides Errors from Developers" [Undecided,New]17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141243117:03
openstackLaunchpad bug 1412431 in Designate "handling format with a display_name containing underscore" [Undecided,New]17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141633717:03
openstackLaunchpad bug 1416337 in Designate "Designate server create with concurrent request is not listing all servers even after successful creation." [Undecided,New]17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141626317:03
openstackLaunchpad bug 1416263 in Designate "Pool Manager's Periodic Sync Needs to Regress States" [Undecided,New]17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/141302417:03
openstackLaunchpad bug 1413024 in Designate "Add an API flag for force delete from storage" [Undecided,In progress] - Assigned to Vinod Mangalpally (vinod-mang)17:03
untriaged-bothttps://bugs.launchpad.net/designate/+bug/128944417:03
openstackLaunchpad bug 1289444 in Designate "Designate with postgres backend is having issues" [Medium,New]17:03
*** untriaged-bot has quit IRC17:03
*** jmcbride has quit IRC17:07
*** jmcbride has joined #openstack-dns17:07
timsimekarlso: It looks like it does the actual query at the dns.zone.from_xfr http://paste.openstack.org/show/170822/ right?17:09
*** jmcbride has quit IRC17:10
*** jmcbride has joined #openstack-dns17:10
*** rmoe has joined #openstack-dns17:14
ekarlso  yap timsim17:16
ekarlsobut what can we raise instead of ValueError if no server succeeds ?17:16
timsimdesignate.exceptions.FailedAXFR ? Idk lol. For the agent I think any exception will do. For secondary zones would you want to log it on a high level so that an operator can go debug what's happening with that outside server?17:21
*** EricGonczer_ has quit IRC17:23
ekarlsotimsim: goodie17:25
mugsieekarlso: what timsim said - FailedAFXR / something similar17:25
ekarlsoI did XFRFailed17:27
ekarlsoXFRFailure17:27
ekarlsoin spirit of the other Failure names17:27
*** jordanP has quit IRC17:28
ekarlsook timsim so I fixed the retry stuff for you ;)17:30
ekarlsoit tries servers given in a random order now too17:30
*** EricGonczer_ has joined #openstack-dns17:31
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368317:31
ekarlso^ timsim17:31
timsimekarlso: Cool. We'll need to make sure and add a timeout to that dns.zone.from_xfr call at some point. I think that can go for like, minutes.17:33
ekarlsotimsim: 3-5 seconds ?17:35
timsimThere should probably be a 30 second timeout, but I seem to remember at some point that going for a long time maybe I'm wrong.17:36
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368317:42
*** vipul has quit IRC17:43
*** vipul has joined #openstack-dns17:45
ekarlsoforgot to fix tests :(17:48
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368317:52
*** jmcbride has quit IRC17:52
ekarlsotimsim: ^17:52
*** jmcbride has joined #openstack-dns17:52
ekarlsotimsim: you fine with the option names ?17:52
timsimI'm sorry what option names?17:54
ekarlsodnsutils.py17:56
timsimDo you mean expand_servers vs expand_masters or something?17:57
ekarlsonawww, expand_masters is just a general way of creating the ip, port dicts17:59
ekarlsothe util_opts stuff17:59
timsimOH. ehhh, I feel like that should be passed in from whomever is performing the AXFR. So the Agent would have a timeout and secondary zones might have one. It seems reasonable that you would want those to be different.18:02
ekarlsotimsim: sure18:02
timsimAlso, I don't think that timeout works in dnspython. Pretty sure I found that out at some point.18:03
ekarlsosure of that timsim ?18:03
timsimekarlso: http://paste.openstack.org/show/170859/18:07
timsimbbiab, going to grab some lunch18:07
*** openstackgerrit has quit IRC18:22
*** openstackgerrit has joined #openstack-dns18:22
*** ChanServ sets mode: +v openstackgerrit18:22
*** crc32 has joined #openstack-dns18:31
*** jmcbride has quit IRC18:33
*** jmcbride has joined #openstack-dns18:33
*** crc32 has quit IRC18:38
*** vipul has quit IRC18:43
*** vipul has joined #openstack-dns18:44
*** lpmulligan has quit IRC18:55
*** vipul has quit IRC19:02
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368319:04
openstackgerritEndre Karlson proposed openstack/designate: Support secondary zones  https://review.openstack.org/13368219:04
*** vipul has joined #openstack-dns19:05
ekarlsotimsim: any idea on howto do it ?19:06
ekarlsoeventlet timeout I guess19:07
timsimOr wrap it in a timing decorator or something.19:10
ekarlso2015-02-10 19:26:18.611 ERROR designate.dnsutils [-] AXFR timed out for foo3.io. from {'ip': u'10.0.2.15', 'port': 53}19:26
ekarlsonow (:19:26
ekarlso@ timsim that's using eveventlet.Timeout as we do for dynect19:27
ekarlsoI also moved the registration call of the axfr opts into mdns but the options themselves are declared in dnsutils.øy19:27
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368319:28
*** jmcbride has quit IRC19:30
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368319:30
ekarlsolast one for today :p19:30
timsimSo what if you're not calling it in a new greenthread?19:31
*** jmcbride has joined #openstack-dns19:33
*** lpmulligan has joined #openstack-dns19:35
ekarlsotimsim: how you mean ?19:35
ekarlsounsure of how else to do it :/19:36
timsimSo you're calling that via self.tg.add_thread(self.domain_sync, context, domain)  If I just call dns.utils.do_axfr. Am I going to get that timeout?19:36
ekarlsoin the agent you mean ?19:37
timsimYep19:37
ekarlsoyou'll get the exception in the current greenthread19:37
timsimIt occurs to me that code probably is running in a greenthread.19:37
timsimYeah.19:37
ekarlsoyour's isn't ?19:37
timsimNah I mean it should be.19:37
ekarlsoit should work fine19:38
ekarlsoas long as you call it inside a gt19:38
timsimOk. I'll test it out.19:38
timsimCool!19:38
ekarlsoit works here at least ;)19:38
ekarlsopep8 :(19:43
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368319:44
timsimekarlso: expand_servers should probably validate it's args. The agent already builds that list of dicts (and only has to do it once) so calling that will blow up. But I understand the need because secondary zones is going to have to do that every time.19:55
ekarlsotimsim: it's more to now have to spread code around all the time to support say 192.168.1.1 vs 1.1:5319:58
*** vipul has quit IRC20:01
timsimThe agent will pass [{'ip': 23.23.23.3, 'port':53}] instead of ['192.168.3.3:53'] though. It doesn't make sense to not build that list of dicts, and rebuild it every time it does an axfr, but secondary zones HAS to build it every time, so it seems to make a little sense to me.20:01
ekarlsotimsim: well I guess I can move the call furhter up though20:01
ekarlsotimsim: I wonder where the expand_servers would go then :p20:02
*** vinod1 has quit IRC20:03
*** vipul has joined #openstack-dns20:04
timsimI mean it can stay in dnsutils. Just be tolerant of it's job being done already20:04
ekarlsotimsim: I think i'll keep the expand method there but remove the call in do_axfr20:05
ekarlsoand just call it above20:05
ekarlsosounds good ?20:05
*** vinod1 has joined #openstack-dns20:08
timsimCall the expand in the secondary zones code before you call do_axfr?20:08
ekarlsotimsim: ya20:08
timsimYep, sounds good.20:08
ekarlsomoved it then to the domain_sync method in xfr.py instead20:09
openstackgerritEndre Karlson proposed openstack/designate: MDNS part of Secondary zones  https://review.openstack.org/13368320:09
ekarlsotimsim: I'd love to get the first patch at least merged soon :P20:12
ekarlsobeen like hmmms, a loooong time20:12
ekarlsoand hopefully I get some more functionality in before kilo ends :/20:12
ekarlsothough that is looking dark20:13
timsimYeah, can't blame you there. Maybe get after people in the meet tomorrow. Or if you're not there, get someone to mention it.20:14
vinod1ekarlso: are you heading out on paternity leave?20:14
ekarlsoI guess pools had prio :p20:14
ekarlsovinod1: 2 weeks starting come birth :P20:14
ekarlsovinod1: & timsim i've addressed your comments btw20:16
ekarlsoalso v2 bindings should get a look20:17
ekarlsoso that potentially horizon work can be kicked off20:18
vinod1i'll look at your secondary zone/mdns changes later today20:18
ekarlsovinod1: that'd be awesome20:18
*** vipul has quit IRC20:21
*** vipul has joined #openstack-dns20:23
*** crc32 has joined #openstack-dns20:55
*** vipul has quit IRC20:59
*** EricGonczer_ has quit IRC21:09
*** vipul has joined #openstack-dns21:11
*** EricGonczer_ has joined #openstack-dns21:16
vinod1ekarlso: are you around?21:38
ekarlsovinod1: yea21:39
ekarlsowhat up ? :)21:39
vinod1I had one other comment - agent/handler.py also has a _handle_notify. It would good to see if we can abstract the common functionality in both to dnsutils.py21:40
vinod1I wanted to check if you had a chance to look at that one21:41
ekarlsovinod1: aint the handling there different thohgh ?21:41
vinod1Just looking at the code, it seems to be very similar21:44
ekarlsohmmms21:45
ekarlsounsure :/21:45
ekarlsowhich parts in that case ?21:45
timsimEhh. I'm not sure it would be worth it, you might eliminate 20 lines of code but make someone an hour of confusion trying to grok it.21:49
ekarlso+1 timsim21:50
vinod1more than lines of code - i was looking at having similar behavior21:50
vinod1i am fine with separate functions and revisiting this issue later if need be21:52
timsimSome of it is the same. But going through it, one is making a call to storage, where one i making a call to a backend, one is checking an explicit list of allowed notifiers, where another one is checking a dynamic list from the database, and they do different things when they call for the actual zone transfer. They also call out to the axfr in different ways. I think they should be separate.21:54
ekarlsovinod1: I think at this point is best...21:54
ekarlsoit's best..21:54
*** adrian_otto has left #openstack-dns21:55
vinod1okay then - +2 on both the patchsets related to secondary zones21:56
ekarlsovinod1: uber !21:56
*** jmcbride has quit IRC22:01
*** crc32 has quit IRC22:01
*** vipul has quit IRC22:11
*** vipul has joined #openstack-dns22:15
*** crc32 has joined #openstack-dns22:24
*** SRP has joined #openstack-dns22:29
*** jmcbride has joined #openstack-dns22:35
*** EricGonczer_ has quit IRC22:39
SRPhi all, can anyone point me in the direction of documentation for designate other than the readthedocs/openstack.org stuff?22:40
*** jmcbride has quit IRC22:41
SRPI'm pretty familiar with OpenStack and am running Icehouse with Neutron networking.22:41
*** mwagner_lap has quit IRC22:42
SRPI'm trying to get designate setup to create DNS A records when an instance is created.22:42
*** jmcbride has joined #openstack-dns22:43
*** vipul has quit IRC22:55
timsimSRP: http://docs.openstack.org/developer/designate/22:57
*** vipul has joined #openstack-dns22:57
timsimAlthough I'm not sure there's a guide there that will help you.22:58
SRPThanks - that's the one I've been using. It's fine for getting designate up and running (designate-api and designate-central, specifically) but I think I need a bit more detail on designate-sink.23:07
SRPDo you know if what I'm looking for is functionality out of the box, or do I need to write a plugin for sink to get it working?23:07
ekarlsoSRP: for basic functionality it's ok but really u should look at doing your own23:11
ekarlsoit's very primitive23:11
*** jmcbride has quit IRC23:13
*** paul_glass has quit IRC23:14
*** vipul has quit IRC23:14
*** vipul has joined #openstack-dns23:19
*** adrian_otto has joined #openstack-dns23:19
*** vinod1 has quit IRC23:28
*** vipul has quit IRC23:34
*** lpmulligan has quit IRC23:35
*** vipul has joined #openstack-dns23:38
*** chlong has joined #openstack-dns23:39
SRPekarlso: Thanks. I've been looking through the source and the sample and it looks manageable. Here goes then!23:44

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