Tuesday, 2015-05-12

*** ducttape_ has joined #openstack-dns00:54
*** ChanServ changes topic to "OpenStack Designate - Logged @ http://eavesdrop.openstack.org/irclogs/%23openstack-dns"00:55
-openstackstatus- NOTICE: Gerrit has been downgraded to version 2.8 due to the issues observed today. Please report further problems in #openstack-infra.00:55
*** km__ has joined #openstack-dns01:03
*** km has quit IRC01:03
*** jmcbride has joined #openstack-dns01:39
*** jmcbride has quit IRC02:02
*** km has joined #openstack-dns02:15
*** km__ has quit IRC02:16
*** richm has quit IRC02:18
*** ducttape_ has quit IRC02:22
*** ducttape_ has joined #openstack-dns02:46
*** ducttape_ has quit IRC02:46
*** EricGonczer_ has joined #openstack-dns02:51
*** EricGonczer_ has quit IRC03:36
*** EricGonczer_ has joined #openstack-dns03:44
*** EricGonczer_ has quit IRC03:58
*** EricGonczer_ has joined #openstack-dns04:06
*** EricGonczer_ has quit IRC04:16
*** stanzgy has joined #openstack-dns04:19
*** nihilifer has joined #openstack-dns06:42
*** openstackstatus has quit IRC07:52
*** openstack has joined #openstack-dns07:53
*** ChanServ sets mode: +v openstack07:53
*** jordanP has joined #openstack-dns08:10
openstackgerritstanzgy proposed openstack/designate: Allow sink to create multiple entries per instance  https://review.openstack.org/17030208:40
openstackgerritEndre Karlson proposed openstack/python-designateclient: V2 CLI Support  https://review.openstack.org/13367608:56
openstackgerritstanzgy proposed openstack/designate: Set cfg.pool_target.options as secret  https://review.openstack.org/18221409:47
*** eandersson has joined #openstack-dns10:32
*** stanzgy has quit IRC10:37
*** untriaged-bot has joined #openstack-dns11:02
untriaged-botUntriaged bugs so far:11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/145359111:02
openstackLaunchpad bug 1453591 in Designate "Identity v3 PKI token over 8k does not work" [Undecided,Fix committed] - Assigned to Dag Stenstad (dag-stenstad)11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/145417511:02
openstackLaunchpad bug 1454175 in Designate "pool-manager configuration options will leak db passwd" [Undecided,In progress] - Assigned to stanzgy (stanzgy)11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/145393711:02
openstackLaunchpad bug 1453937 in Designate "designate dashboard tox tests are not passing" [Undecided,In progress] - Assigned to Eric Peterson (ericpeterson-l)11:02
untriaged-bothttps://bugs.launchpad.net/designate/+bug/145387011:02
openstackLaunchpad bug 1453870 in Designate "designate dashboard create domain should honor quotas" [Undecided,In progress] - Assigned to Eric Peterson (ericpeterson-l)11:02
*** untriaged-bot has quit IRC11:02
*** stanzgy_ has quit IRC11:14
*** stanzgy_ has joined #openstack-dns11:14
openstackgerritMerged openstack/designate: Set cfg.pool_target.options as secret  https://review.openstack.org/18221411:22
openstackgerritMerged openstack/designate: Allow sink to create multiple entries per instance  https://review.openstack.org/17030211:22
openstackgerritMerged openstack/designate: updating tox pep8 issues  https://review.openstack.org/18205611:22
*** km has quit IRC11:29
openstackgerritGraham Hayes proposed openstack/designate-specs: Add graded backends  https://review.openstack.org/16985911:40
eanderssontimsim: I was wrong yesterday about the recordsetnot found, was not caused by create -> delete -> create. It seems to happen even with a simple create.11:43
eanderssonWhat does create recordset depend on besides central?11:43
*** EricGonczer_ has joined #openstack-dns11:53
*** harmw has quit IRC12:00
*** harmw has joined #openstack-dns12:01
*** harmw has quit IRC12:02
*** harmw has joined #openstack-dns12:02
eanderssonI am running into major issues when running two control nodes on a site.12:09
eanderssonIf I disable ccn01, and run only ccn02 everything works fine.12:09
eanderssonbut if I have both about 50% of all create requests generate a recordsetnot found error12:10
eanderssonconfigs are identical on both ccn0[12]12:10
*** ducttape_ has joined #openstack-dns12:10
mugsieeandersson: control node? you mean central?12:11
eanderssonYea12:12
eanderssonwell central, mdns, pool-manager12:12
mugsiehummm12:12
mugsielet boot up a few things and see what happens12:13
eanderssonI am running stable/kilo from 30th of April12:13
eanderssonThe only error I see in the central logs is Expected exception during message handling () _dispatch_and_reply /usr/local/designate/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py:14512:15
Kialleandersson: Q - are the 2 designate-central's pointed at the same DB server?12:18
eanderssonyep12:19
eanderssonvip though12:20
KiallMultiple DB servers behind the scene? are they by any chance standard asynchronous mysql replication?12:21
eanderssonshould be master/slave setup12:21
eanderssonbut need to confirm that12:21
KiallAlso - Can you remove the expected = True from the recordsetnotfound exepction in exceptions.py, and reproduce? You should then get a stacktrack telling you where exactly where the exception is raised12:21
eanderssonah perfect sure12:22
Kialland - possibly a bunch of other stack traces that are "normal" and aren't a real issue12:22
KiallBut there should be at least 1 with the actual trace we want..12:22
openstackgerritMerged openstack/designate: Denominator Agent  https://review.openstack.org/17347212:24
*** ducttape_ has quit IRC12:31
*** ryanpetrello has joined #openstack-dns12:37
eanderssonhttp://paste.openstack.org/show/FkrF6wyChNsX73uMPWIs/12:39
eanderssonIt always works on the second try.12:39
eanderssonI'll need to confirm the mysql setup though.12:39
openstackgerritMerged openstack/designate: Add quota check for domain create  https://review.openstack.org/18209812:50
openstackgerritRyan Petrello proposed openstack/designate: Remove unnecessary RestController usage.  https://review.openstack.org/18227312:54
ryanpetrelloanybody around willing to help me push ^ through?12:54
ryanpetrelloI'm fixing a bug in RestController in pecan, and ^ is necessary to get the designate tests passing afterwards12:54
mugsieryanpetrello: Will look now12:55
*** EricGonczer_ has quit IRC12:56
mugsieryanpetrello: my reading of the linked patch is the following - if a sub controller has a PUT, but its parent does not, the routing will fail?12:57
Kialleandersson: sorry, wasn't paying attention to IRC.. let me look12:57
mugsieor is it just controllers with no methods at all will fail to pass requests to sub controllers?12:58
ryanpetrellothe change RestController will now raise 405 in situations where it previously raised 404's12:58
ryanpetrelloand it will specify an Allow header with allowed methods12:58
ryanpetrellothe trouble is that one designate test asserts a 404 response12:59
ryanpetrelloafter the pecan change, it will be 40512:59
ryanpetrellobut I noticed that the designate controller in question doesn't need to be a RestController anyways12:59
ryanpetrelloanother approach I could take13:00
ryanpetrellowould be to leave the RestController and update the test to be e.g.,13:00
mugsiewill ^ patch give a 405 is there is no GET method, but there is say a POST ?13:00
ryanpetrellostatus in (404, 405)13:00
ryanpetrello(yes)13:00
ryanpetrellothe idea is that if a request is made where an alternative exists, it'll give a 405 (rather than a 404)13:00
mugsiesweet13:01
mugsiethere is a few hacks across our code base to do the 405 vs 40413:01
ryanpetrelloI just need to update designate in the mean time13:01
ryanpetrellobecause pecan gates on it13:01
ryanpetrello(to merge my change)13:01
ryanpetrellokind of a chicken-and-egg problem13:01
mugsiecool. as soon as tests come back I will +213:01
ryanpetrellocool thx13:01
mugsienp13:02
ryanpetrelloyea, I'm betting you all can lose some code after this merges in pecan13:02
mugsieheres hoping13:02
mugsiehttps://github.com/openstack/designate/blob/master/designate/api/v2/controllers/zones/tasks/abandon.py#L44 <- really want rid of that for example13:03
ryanpetrelloyep, this should allow you to get rid of that13:05
ryanpetrelloit's exactly what it's for13:05
*** richm has joined #openstack-dns13:06
*** nihilifer has quit IRC13:13
Kialleandersson: Humm, I'm not sure I see where the issue is :(13:15
Kialleandersson: It really feels like async DB replication meaning data we just wrote isn't available for reading.. But it's a total hunch on my part13:15
*** richm1 has joined #openstack-dns13:23
*** richm has quit IRC13:24
mugsieryanpetrello: seems to have a pep8 issue -_-13:28
ryanpetrelloblargh13:28
ryanpetrellookay, I'll get it fixed13:28
openstackgerritKiall Mac Innes proposed openstack/designate: Remove unnecessary RestController usage  https://review.openstack.org/18227313:28
mugsiei think kiall just fixed the commit message13:28
ryanpetrellohaha, the commit message13:28
ryanpetrelloyep13:28
Kiallryanpetrello: yea, just edited it real quick there are +2'd ;)13:29
ryanpetrelloawesome, thanks :D13:29
Kiallnp13:29
Kialltimsim: ping me when your about13:30
*** richm1 has quit IRC13:31
*** richm has joined #openstack-dns13:35
*** andrewbogott_afk is now known as andrewbogott14:00
openstackgerritKiall Mac Innes proposed openstack/designate: Fix check+set race condition in APIv1/Sink  https://review.openstack.org/18230314:00
*** jmcbride has joined #openstack-dns14:05
*** richm has quit IRC14:10
openstackgerritEric Larson proposed openstack/designate: Add the Hook Point API  https://review.openstack.org/16474814:11
openstackgerritMerged openstack/designate: Remove unnecessary RestController usage  https://review.openstack.org/18227314:14
openstackgerritEndre Karlson proposed openstack/designate: Add Akamai Management comamnds  https://review.openstack.org/18230914:14
*** EricGonczer_ has joined #openstack-dns14:17
openstackgerritEndre Karlson proposed openstack/designate: Add Akamai Management comamnds  https://review.openstack.org/18230914:18
*** richm has joined #openstack-dns14:31
*** jmcbride has quit IRC14:42
*** ducttape_ has joined #openstack-dns14:44
*** pglass has joined #openstack-dns14:45
*** jmcbride has joined #openstack-dns14:46
timsimKiall: ping14:47
Kialltimsim: heya, so.. wanted to check if I gave enough detail in the review comment re eventlet.tpool for the import stuff?14:48
openstackgerritKiall Mac Innes proposed openstack/designate: Fix check+set race condition in APIv1/Sink  https://review.openstack.org/18230314:49
timsimI suppose 'use eventlet's tpool' is probably sufficient. I've never used that before, but I'm assuming it's going to create it's own threadpool to use? What's the advantage there vs using the regular threadgroup? Is it a separate process?14:50
KiallWell, the threadgroup is eventlet greenthreads, while eventlet.tpool is real OS threads..14:50
KiallWhich.. Now that I sat it, seems backwards, but it's not ;)14:51
timsimAhh lovely. Ok cool. I'll do that.14:52
*** vinod has joined #openstack-dns14:55
Kialls/sat/say/14:56
*** jmcbride has quit IRC14:58
*** jmcbride has joined #openstack-dns14:58
openstackgerritVinod Mangalpally proposed openstack/designate: Add some more settings to the sample conf file  https://review.openstack.org/18155715:01
*** richm has quit IRC15:05
*** richm has joined #openstack-dns15:08
*** nihilifer has joined #openstack-dns15:09
*** ericpeterson has joined #openstack-dns15:14
openstackgerritEric Larson proposed openstack/designate-specs: Add hook-point-api specification and liberty specs  https://review.openstack.org/17168915:17
*** ducttape_ has quit IRC15:18
*** nihilifer has quit IRC15:18
*** shakamunyi has joined #openstack-dns15:22
*** barra204 has joined #openstack-dns15:22
*** ducttape_ has joined #openstack-dns15:38
*** ericpeterson has quit IRC15:42
*** nihilifer has joined #openstack-dns15:46
*** nihilifer has quit IRC15:50
*** jhazen has joined #openstack-dns15:56
*** openstackgerrit_ has quit IRC16:11
openstackgerritEndre Karlson proposed openstack/designate: Add Akamai Management comamnds  https://review.openstack.org/18230916:13
*** chirag789 has joined #openstack-dns16:35
chirag789Hi, I am using designate and after following the documentation available online, I was able to use v1. Question is : v2 is available to use including recordset? do we have a documentation on v2 rest api. I am pretty sure the documentation available designate.readthedocs.org/en/latest/getting-started.html is outdated.16:37
timsimchirag789: The docs now live at http://docs.openstack.org/developer/designate/16:39
timsimThe API documentation is here: http://docs.openstack.org/developer/designate/rest.html including the v2 api.16:39
timsimI think it's on someones list to get the old docs to redirect to the new ones.16:40
Kialltimsim: Read the docs - 100% gone now!16:54
ekarlsoKiall: shall I delete them ?16:55
Kiallekarlso: I did16:55
timsimwoot!16:55
KiallAnother week or two and google will stop sending people there!16:55
timsimAre these pages just cached or something http://designate.readthedocs.org/en/latest/getting-started.html16:56
ekarlsook Kiall :D16:56
Kialltimsim: yea, I guess so16:56
timsimCool. Glad it's gone.16:57
Kiall"You don't have any projects yet, but you can star".. when I used to have designate listed on that page ;)16:57
timsimCool cool16:57
tg90norhi, i have configured designate according to http://docs.openstack.org/developer/designate/install/ubuntu-dev.html , but when i try to start designate-pool-manager, i get the error CRITICAL designate [-] NoPoolTargetsConfigured16:57
tg90noram i missing something?16:57
ekarlsotg90nor: ya, u need to configure a pool!16:58
tg90norhow?16:58
ekarlsotimsim: isn't there docs for that ?16:58
timsimtg90nor: It's in the sample config here: https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L27416:58
KiallAh, right. Did we not .. ehh.. update the config docs for Kilo? :/16:58
ekarlsotimsim: any api parts needed for that ?16:58
timsimBut I don't think it's made into the proper getting started guide yet.16:58
ekarlsoKiall: nope D16:59
tg90nortimsim: thx16:59
timsimYou bet16:59
openstackgerritEndre Karlson proposed openstack/designate: Add Akamai Management comamnds  https://review.openstack.org/18230917:01
*** ducttape_ has quit IRC17:02
*** stanzgy_ has quit IRC17:02
*** Guest25580 is now known as dan17:02
*** stanzgy_ has joined #openstack-dns17:02
*** untriaged-bot has joined #openstack-dns17:02
untriaged-botNo untriaged bugs so far! \o/17:02
*** untriaged-bot has quit IRC17:02
*** ducttape_ has joined #openstack-dns17:03
openstackgerritTim Simmons proposed openstack/designate: Asynchronous Zone Import  https://review.openstack.org/18152817:03
timsimKiall: ^ works great when there's only one import, but when there are concurrent ones, thread ownership seems to get confused and they can't release locks.17:03
mugsietimsim: thats not good enogh17:12
mugsie:P17:12
*** jordanP has quit IRC17:13
*** Timsimphone has joined #openstack-dns17:27
*** Timsimphone has quit IRC17:28
*** eandersson has quit IRC17:31
Kialltimsim: humm, not 100% sure I understand what you mean?17:37
chirag789wow thanks. Thank for the docs.17:37
chirag789Another thing. I was reading the blueprints and meeting logs. Seems like you are planning to add filtering api and planning to remove records and v1 api?17:38
mugsiechirag789: yes - v1 has been marked as depricated17:39
mugsiethere is some filtering on the v2 API currently17:39
chirag789Okay. I will move to v2 then. Lastly, I am new to OS and designate. Thinking to attend weekly meetings. On this page it shows March 11 https://wiki.openstack.org/wiki/Meetings/Designate .  Can you please provide me information on when there will be next meeting.17:41
mugsiechirag789: they are every wednesday at 5pm UTC17:45
mugsiebut next week, there won't be a meeting, as most of us will be in Vancouver at the summit17:45
*** chlong has quit IRC17:46
openstackgerritRon Rickard proposed openstack/designate-specs: WIP: Blueprint for Transaction Support  https://review.openstack.org/18078417:49
chirag789okay. Thanks. Also, I have a question in terms of how designate works. For example, we have an openstack with two tenants "xyz" and "abc". Openstack has keystone domain "default". This domain is not related to Designate domain at all i believe. Now, as per my understanding, if admin (openstack admin) or any one in admin tenant is creating domains on designate, lets say, "www.xyz.com"  for xyz tenant and "www.abc.com" for abc17:52
chirag789If users under xyz and abc tenants tries to create record, it will fail and will throw error that you don't have access to create the record (something like that). So, what can I do to allow users under tenants to create the record. I tried in v1 and it was giving the error.17:53
*** chlong has joined #openstack-dns17:59
timsimKiall: http://logs.openstack.org/28/181528/3/check/gate-designate-dsvm-bind9/2a6327b/logs/screen-designate-central.txt.gz#_2015-05-12_17_28_57_298 Down at the bottom there. Same error happens here: http://logs.openstack.org/28/181528/3/check/gate-designate-python27/50b35d7/testr_results.html.gz   I have no idea why all the tempest tests failed, they all passed for me locally.18:01
KiallAh, ehh... I've not seen that before18:02
Kiallhttps://bitbucket.org/eventlet/eventlet/pull-request/29/fix-use-of-semaphore-with-tpool-issue-137/diff18:02
Kialltimsim: based on my reading of that pull request, it's *probably* caused by calling self.update_zone_import(context, zone_import) inside the thread..18:04
timsimNot create_domain?18:04
KiallWell - that too I suppose18:04
KiallSo, Q - Where is the bulk of the time spent?18:05
KiallBetween L2409 and L2502, or elsewhere?18:05
timsimThe vast majority of the time is spent creating the recordsets/records in storage18:06
*** jmcbride has quit IRC18:06
timsimBut with a large file, there would be significant time spent between 2490 and 2502.18:07
KiallLet me rephrase, it case it changes it answer ;).. Where is the bulk of the time spent while central is locked up? I have a suspicion the lockup is caused by 2940 -> 2502, and not the call to storage (since eventlet is doing it's thing there)18:07
timsimYeah, that's true. I've seen, sometimes, the API return when it gets to create_domain18:08
timsimwhere it would otherwise timeout, even if everything runs smoothly.18:08
timsimBut I think central can get locked up doing that big domain create as well18:09
timsimYeah, I can't GET the imports/id while the domain is being created in central, if it's all in a regular greenthread18:14
Kiallsorry - checking the code for something related.. 1 sec18:14
Kiallre "Yeah, I can't GET the imports/id while the domain is being created in central, if it's all in a regular greenthread"18:16
Kiallthat's likely  because of the transaction decorator, the TX is being kept open for the whole duration of the import as is..18:17
KiallAnd the commit doesn't happen until right at the end18:17
timsimOh derp, thought I removed that.18:17
KiallCan you trove moving only 2940 -> 2502 into the tpool execute, workers = 1, and see if you get lockups during an import?18:20
Kialland no @transaction decorator - I suspct that'll end up doing what we need18:20
Kiallbrb18:20
Kialltimsim: BTW, re moving just the bit into the thead, tpool.execute() will return the return value of whatever you execute in the thread..18:27
Kiall(At least, the code looks like it does ;))18:27
timsimyep, just about there18:27
timsimI don't think you can pass workers=1 to execute though18:27
KiallOh, i mean 1 designate-central worker18:27
timsimAh ok. Makes sense18:28
timsimStill can't 'GET /v2/zones/tasks/imports/566f5e40-fe42-4612-8740-eb6ca3e969ec' until create_domain completes. http://paste.openstack.org/show/221074/18:30
* Kiall hates eventlet sometimes18:31
Kialltimsim: is it 404'ing, or stalling BTW? (just in case I'm mis-understanding!_)18:32
timsimStalling, until all of the ' policy check succeeded for rule alltenants' go by, lol18:33
timsimWith multiple workers, you can get the request (central processes - 1)/(central processes) % of the time18:33
KiallAnd, the create_zone_import API call is returning before that?18:34
timsimIt is, yes.18:35
timsimWhich is odd, why is it that if I launch the tpool.execute in the main greenthread, it blocks that thread from continuing, but if i put it in another greenthread, it doesn't block the api from returning?18:36
KiallQ - If you fire off an import, can you do a GET against say - /pools without it blocking? I'm kinda wondering if it's somehow related to you getting the import being processed somehow vs eventlet locking up? (Total guess, but worth a shot)18:39
timsimI wasn't able to get /v2/zones18:42
KiallOh well, was worth a try..18:42
KiallFiring up devstack with your patch + that pastebin ATM to give it a trey18:42
Kialltry18:42
timsimI appreciate it, especially since it's almost 8 pm :/18:43
KiallNo worries.. Just wish devstack-from-scratch was faster ;)18:50
timsimThis is the request I've been using. http://paste.openstack.org/show/221081/18:52
KiallSo, 600 records?18:53
timsimYeah, i was doing 200, but it was kind of hard to try things while the domain was being created, so I just pasted a bunch more on there.18:54
Kiallhappen to have the CURL command handy? ;)18:56
KiallcURL* ;)18:56
timsimcurl -X POST localhost:9001/v2/zones/tasks/imports "Content-type:text/dns" --data-binary "@zone3.txt" -H Content-Type:text/dns18:57
timsimwait, wat, theres an unnecessary header bit in there18:57
Kiallno worries :)18:58
*** jmcbride has joined #openstack-dns18:58
KiallOh wow - that's logging lots18:59
*** pglass has quit IRC19:00
Kiallhttps://github.com/openstack/designate/blob/master/designate/central/service.py#L37819:02
*** jmcbride has quit IRC19:02
Kiall^ that can be cleaned up to cache the list of subdomains, saving us all sorts of extra SQL queries during an import19:02
*** pfreund has quit IRC19:03
openstackgerritGraham Hayes proposed openstack/designate: Add Backend grading, and associated docs page.  https://review.openstack.org/18241419:03
timsimBeing able to bulk input those recordsets would be life changing19:03
mugsie++19:04
*** jmcbride has joined #openstack-dns19:04
KiallYea, replacing that method with "return True" cleaned the logs up plenty19:05
Kiallstill need a larger screen buffer tho, lol19:05
*** pglass has joined #openstack-dns19:07
*** SunnyRainbow has joined #openstack-dns19:08
Kialltimsim: .. so, the stuff offloaded to a read thread isn't actually taking mich time at all19:13
Kiallhttp://paste.openstack.org/show/221084/19:13
timsimYeah, I think the only time that would take a long time is if you had a huge zone file, I think I said before, the bulk of the time right now is being spent in create_domain.19:14
*** openstackgerrit_ has joined #openstack-dns19:16
Kialltimsim: Yea, there's like 4.5 million SQL queries happening while it's all locked up19:16
Kiallkinda looks like the same 3 or 4 queries over + over, hard to tell19:18
*** vinod has quit IRC19:18
timsimI think when you create domain w/ recordsets in it, it goes through and creates those recordsets 1 by 1, which in turn goes and creates the records 1 by 1. I'd assume that's what it is.19:18
KiallWell, Yep - It does that, but I think we're doing lots in _is_valid_recordset_placement and _is_valid_recordset_placement_subdomain and .. etc19:19
timsimAh yeah, makes sense19:20
*** vinod has joined #openstack-dns19:24
*** openstackgerrit_ has quit IRC19:25
Kialltimsim: so.. yea, the big issue is that we're doing lots of work in a single central call, where there's no yielding I/O points19:28
Kialladding time.sleep(0) (which causes a yield, without adding an actual delay) here https://github.com/openstack/designate/blob/master/designate/central/service.py#L86819:28
Kiallmakes it not lock up19:28
Kiallhttp://paste.openstack.org/show/221098/19:29
Kiallbut.. still managed to get the     waiter.switch()19:31
Kiallerror: cannot switch to a different thread19:31
Kiallif I made a second request quick enough19:32
*** shakamunyi has quit IRC19:35
*** barra204 has quit IRC19:36
timsimSorry, in a meeting. Any idea how to get around that threading business?19:43
KiallWell, the bones of it is.. We're doing CRAPLOADS of work over and over rather than taking 1 pass at at..19:44
Kiall(central, up until recently, has never needed to deal with more than "Do 1 thing and tell me when you're done"19:44
KiallSo... Batching up INSERTS, is an obvious one to get right.. But.. things like _is_valid_recordset_placement and _is_valid_recordset_placement_subdomain still need to happen, we should just do 1 pass over the lot, rather than looping and calling "find_domains" etc about 3 times per rrset and so on19:46
timsimYeah. I was hoping to be able to that work in the background in a way that didn't impact other central operations, while knowing that later if we optimize that, it'll just be better.19:48
KiallAnyway, for the purpose of bringing import back in.. I'd drop a feature flag on it (aka add a "enable_import_experimental" conf option ;)) and the time.sleep(0) into that loop .. then we can take a hammer to the create_domain() method to make it less stupid in the face of having to create some RRSets too19:48
KiallEven if we move those half million SQL queries (Ok, probbaly an exaggeration - But it looked like 10k or so at least) into a separate OS thead, it's still going to cause issues with the DB19:50
*** shakamunyi has joined #openstack-dns19:50
*** barra204 has joined #openstack-dns19:50
* Kiall checks how many SQL queries...19:52
timsimThat's a good point.19:52
*** jmcbride has quit IRC19:56
openstackgerritGraham Hayes proposed openstack/designate: Add Backend grading, and associated docs page  https://review.openstack.org/18241419:57
Kialltimsim: http://paste.openstack.org/show/221117/20:00
*** jmcbride has joined #openstack-dns20:00
timsimAlright, so as a temporary plan: bring in import with the sleep in create_domain w/ recordsets, as a next step, go hack on the create_domain process to make it better and then we can maybe remove that sleep(0). ?20:07
KiallYea, at the same time.. I'm trying to wrap my head around the ~100 SELECTs per 1 RRset happening there.20:08
KiallI just can't see how that could even be remotely possible20:09
timsimYeah that's odd20:10
harmwcliles: pign20:16
harmwping20:16
Kialltimsim: yea, we're doing a pile of extra work... This is a tomorrow problem for me, too late in the day to try really dig into this..20:24
timsimYeah for sure, thanks for your help Kiall. I suppose the waiter.switch() problem is still an issue.20:28
KiallOh, right.. forgot about that one :/20:28
*** logan2 has quit IRC20:33
*** openstackgerrit has quit IRC20:37
*** openstackgerrit has joined #openstack-dns20:37
*** ChanServ sets mode: +v openstackgerrit20:37
timsimBetter just write a new service ;)20:40
clilesharmw: what is up?20:44
*** vinod has quit IRC21:09
*** EricGonczer_ has quit IRC21:23
*** chlong has quit IRC21:24
*** SunnyRainbow has quit IRC21:30
*** jmcbride has quit IRC21:32
*** pglass has quit IRC21:35
*** andrewbogott is now known as andrewbogott_afk21:55
*** andrewbogott_afk is now known as andrewbogott22:11
*** logan2 has joined #openstack-dns22:18
*** chirag_ has quit IRC22:42
*** ducttape_ has quit IRC23:05
*** km has joined #openstack-dns23:06
*** SunnyRainbow has joined #openstack-dns23:12
*** chlong has joined #openstack-dns23:15
*** EricGonczer_ has joined #openstack-dns23:16
*** kei_yama has joined #openstack-dns23:23
*** SunnyRainbow has quit IRC23:38
*** EricGonc_ has joined #openstack-dns23:49
*** EricGonczer_ has quit IRC23:53

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