Monday, 2013-12-30

*** krow has quit IRC02:09
*** krow has joined #openstack-dns02:23
*** dguitarbite_ has joined #openstack-dns03:45
*** CaptTofu has quit IRC05:31
*** CaptTofu has joined #openstack-dns05:31
*** dguitarbite_ has quit IRC10:10
*** dguitarbite_ has joined #openstack-dns10:13
*** cflmarques has joined #openstack-dns11:40
*** HenryG_ has joined #openstack-dns12:00
*** spiffxp_ has joined #openstack-dns12:05
*** mugsie_ has joined #openstack-dns12:05
*** spiffxp has quit IRC12:06
*** HenryG has quit IRC12:06
*** dguitarbite_ has quit IRC12:07
*** mugsie has quit IRC12:07
*** dguitarbite__ has joined #openstack-dns12:08
*** dguitarbite__ has quit IRC12:14
*** dguitarbite_ has joined #openstack-dns12:17
*** cflmarques_ has joined #openstack-dns12:33
*** cflmarques has quit IRC12:33
*** CaptTofu has quit IRC13:12
*** CaptTofu has joined #openstack-dns13:12
*** ekarlso has quit IRC13:20
*** ekarlso has joined #openstack-dns13:20
*** cflmarques_ has quit IRC13:25
*** mugsie_ has quit IRC14:11
*** mugsie_ has joined #openstack-dns14:11
*** mugsie_ is now known as mugsie14:12
*** CaptTofu has quit IRC14:28
*** CaptTofu has joined #openstack-dns14:28
*** cflmarques has joined #openstack-dns14:29
*** krow has quit IRC14:46
*** krow has joined #openstack-dns14:56
*** krow has quit IRC14:57
*** CaptTofu has quit IRC15:16
*** CaptTofu has joined #openstack-dns15:16
*** CaptTofu has quit IRC15:17
*** CaptTofu has joined #openstack-dns15:18
*** krow has joined #openstack-dns15:19
*** CaptTofu has quit IRC15:27
*** CaptTofu has joined #openstack-dns15:27
*** msisk has joined #openstack-dns15:50
*** msisk has quit IRC15:50
*** msisk has joined #openstack-dns15:54
*** CaptTofu_ has joined #openstack-dns16:12
*** CaptTofu has quit IRC16:15
*** dguitarbite_ has quit IRC16:16
cflmarqueskiall: Hi kiall. I am making a small script to install designate HAVANA using your PPA in lauchpad on the link https://launchpad.net/~designate-ppa/+archive/havana16:35
kiallheya cflmarques16:36
cflmarqueswen I start the API afther 30 sec I got this error message16:36
cflmarquesERROR [designate.openstack.common.threadgroup] Could not bind to 0.0.0.0:9001 after trying for 30 seconds16:36
*** krow has quit IRC16:36
cflmarquesbut the api still responds to curl16:37
kiallChances are, you have another copy of the API running already.. So, it's bound to port 9001 and responding to requests16:37
cflmarquesI forgot to add the endpoints. could be that?16:37
kiallNo, designate-api is already running.. when you try and start a second copy on the same server, it fails to bind to the port16:38
*** jmcbride has joined #openstack-dns16:40
kiallAre you starting the API "by hand" in the scripts?16:40
kiallBecause, the .deb's install a proper service .. upstart is managing the service16:41
cflmarquesyes, it s is .deb16:50
*** CaptTofu_ has quit IRC16:50
*** CaptTofu has joined #openstack-dns16:51
cflmarquesI was fighting a lithe bit killing all designate proceceess, and then i notince that they all start again16:51
kiallYes, upstart will automatically restart the processes if they crash.16:53
kiallif you want to stop the services, you have to `service designate-api stop` or `/etc/init.d/designate-api stop`16:53
cflmarquesnice16:53
cflmarquesWeel done kiall :)16:54
cflmarquesthank youi kiall16:54
kiallno problem...16:54
jmcbridekiall: hey, I was combing through our backlog and have a few more blueprints to add.  But I wanted your feedback before hand.  Do you have some time in about 20 minutes?17:00
kialljmcbride: Sure.. that works17:01
kiallworking today? I figured I'd be the only one ;)17:01
jmcbrideI figured you would be working :)17:01
jmcbridekiall: you got some time now?17:23
kiallSure - Stuck a mental roadblock anyway ;)17:23
jmcbridecool, hopefully a little break from that will help17:24
jmcbrideso, as you may have noticed, I've been adding blueprints17:24
kiallWe'll see! .. So, Whats up?17:24
jmcbrideI have about 10 that I need your input on.  I'll start...17:24
jmcbrideSo, I think we have the abillity to manage zone and record limits for a tenant, is that accurate?17:25
kiallYea, the Quotas extension to the V1 API lets you adjust the per-tenant limits..17:25
jmcbridecool. Does it allow you to create "quota groups"?17:26
kiall(That'll eventually be ported to the V2 API .. As an admin-only API, I reckon that's pretty low priority)17:26
jmcbrideWe will need it to get to production.17:27
kiallNo - Our quotas have defaults for all tenants, then each quota can be overridden per tenant17:27
jmcbrideref quota groups: got it.  I might create a blueprint for the grouping capability (makes it easier to categorize a customer's usage level).17:28
kiallWell - as an admin only API, I expect we'll introduce "allowed access V1" and "allowed access V2" permissions, so it would be easy enough for internal tooling to speak to both APIs17:28
jmcbridecool.17:28
kiallBut.. That obv means re-tooling when V1 totally goes17:28
jmcbrideOK. Next question.17:28
kiallAnyway - It should actually be easy to port over, we just need to figure out how we want to do extensions in V2 :)17:29
kiallhttps://github.com/stackforge/designate/blob/master/designate/api/v1/extensions/quotas.py17:29
jmcbridePagination - I think you are adding that to v2, right?17:29
kiallYep, pagination and the dict format for record rdata is on my TODO list for the first week or two of January.17:29
kiallWe're (as in HP) aiming for getting the core concepts, and all public features ported to V2, then push it live and continue expanding..17:31
jmcbridecool.  Next question.17:31
kiallThings like pagination MUST be in, because we'll have a default value on the number of items per page.. deploying that after we go public would be an API break17:31
jmcbrideWe have a request to be able to create child domains (aka sub domains).17:32
kiallCross tenants?17:32
jmcbridesame tenant17:36
kiallAh, Well.. We do support that today, although there is a bug or two in how it works..17:37
kiallI think 1 of those bugs is in designate itself, while we have another in our Akamai EDNS extension.17:38
kiall2 in designate actually..17:39
kiall1st is - we provide no protection for creating a child zone that would "break" some existing records in the parent, and no protection for creating a record in the parent zone that actually belongs in the child.17:39
kialland the 2nd is - With bind, we don't write out the delegation NS/Glue entries into the parent zonefile17:40
jmcbridethose bugs are good to know about.  Are they documented in launchpad?17:40
jmcbride(although the first one doesn't sound necessarily like a bug)17:40
kiallbug #1259954 is the 1st17:41
kialllooks like we don't have one for the second17:41
kiallSomeone found it a while back, I asked them to file the bug.. Guess they didn't17:41
jmcbridegood thing your memory rocks!17:42
jmcbrideI can create it real quick you'd like.17:43
kiallalready filing it :)17:43
jmcbridecool, let me know the defect number when you have it. Also, that first bug sounds more like a feature request to me - might be worth making it a blueprint.17:44
kiall126503717:44
kiallOh - It's def a bug :) Pretty sure BIND will refuse to reload the zone when that happens17:45
jmcbrideSomething our current production API supports is the ability to see what domains have been "subdomained" into separate zone files.  Can Designate do that?17:48
jmcbridekind of like /domains/tenant-1234/subdomains17:48
kiallAt the moment, no.. But that would be trivial to add17:49
kiallWait - that URL isn't what I thought :)17:49
kiall`/domains/domain-id/subdomains` would be easy to implement - e.g. a list of the sub domains for that domain17:49
jmcbrideOK, we are on the fence on its usefulness17:49
jmcbridebut wanted to check.17:50
kiallFrom memory of your API.. You treat subdomains differently to ordinary domains and create/list etc them differently to ordinary domains17:50
jmcbrideyes17:50
kiallWe treat all domains the same, and internally figure out if it's a subdomain or not17:50
jmcbrideSeems like the use case for /domains/id/subdomain is about helping users with lots of domains better organize.17:51
kiallyea - /domains/id/subdomains would take about 10 minutes to implement, we have all the data necessary, and would just need to add a "get_domain_subdomains" (like get_domain_servers) call to central, and add the API method17:52
kiallbrb - gotta take this call17:52
kiall(will be 5 mins at most..)17:53
jmcbridek, I'll add my next question in the mean time...17:53
kiallback17:58
jmcbride1. Can a tenant see their current quotas?17:59
kiallWe have `/v1/absolute-limits` which gives them the quotas, but not usages.18:00
kiall(That's undocumented in HP Cloud DNS.. So we've not ported that to V2 yet)18:00
jmcbrideI didn't see that in the code (nor did a search turn up anything for 'absolute-limits'18:01
kiallOh .. Sorry, it's /limits18:02
kiallhttps://github.com/stackforge/designate/blob/master/designate/api/v1/limits.py18:02
jmcbridesweet, I see it now18:02
kiall(I hate how that API call "looks" .. It mimics the Nova/Cinder/etc limits API call)18:02
jmcbrideOK, the next one I'm pretty sure is supported today, but...18:04
jmcbrideStoring a comment with any zone or record created.18:05
jmcbrideI think it is saved as "description".18:06
kiallYea - tsimmons added that a little while back18:06
jmcbrideCool.18:07
jmcbrideNext up, SPF records.  Does designate support that record type (and I'm not referring to TXT).18:07
kiallWe do, and with my changes for dict style rdata in early jan, I expect we'll be at a point where record types are just another type of plugin.18:08
kiall(I may have to skip that part for early jan though, time constraints and all that!)18:09
jmcbrideOK, so spf will work in v2?18:10
kiallYea, It will..18:10
kiallAll these should work in V2:18:10
kiallRECORD_TYPES = ['A', 'AAAA', 'CNAME', 'MX', 'SRV', 'TXT', 'SPF', 'NS', 'PTR',18:10
kiall                'SSHFP']18:10
jmcbrideCool.18:11
jmcbrideOK, so I have quite a few requirements for "Bulk all the things"18:12
jmcbrideby bulk, I mean, allow a user to add/modify multiple zones/records with a single request.  I've been adding these without regard to implementation.18:12
jmcbrideregarding implementation, I had imagined most of the bulk activities would likely be wrapped into the command line tool.  If that is the case, is it OK to add under Designate blueprints?18:13
kiallBlueprints for the client would live under https://blueprints.launchpad.net/python-designateclient/18:14
kiall(what a long list there ;))18:15
kiallI'm personally starting to see bulk actions as more and more important, but haven't spent any time considering what an implementation might look like18:15
*** kotenka has joined #openstack-dns18:16
jmcbrideI'm thinking it will be OK to add the bulk request to the designate project, which will allow us to have a conversation about whether they should be implemented elsewhere.  Thoughts?18:16
kiallI think, if we go with my madness idea from the last meet, getting transactional batch changes support would be much easier..18:16
kiallWhich remins me.. I need to write out all the detail on that..18:17
kiallreminds*18:17
jmcbrideso many to dos ;)18:17
jmcbrideOK, I'll add the batch blueprints to the designate project.18:17
kiallYou have no idea! My non-designate list is longer than my designate list!18:18
jmcbrideWe need to get you some help!18:18
kiallWe do ;)18:18
jmcbrideNext item: export and import: I think artom started this, but I couldn't determine whether it is functional.18:18
jmcbride(^ I mean export/import *zone)18:18
kiallYea - It's functional for the examples it has test cases against .. Ideally we need to get some real world zones (anonimized) into the tests18:19
*** kotenka has quit IRC18:19
jmcbridecool.  do you have a link to the code?18:20
kiallThe sample zones it's tested against: https://github.com/stackforge/designate/tree/master/designate/tests/resources/zonefiles18:20
kiallIt's under https://github.com/stackforge/designate/blob/master/designate/api/v2/controllers/zones.py18:20
kiallhttps://github.com/stackforge/designate/blob/master/designate/api/v2/controllers/zones.py#L66 for "export"18:21
kialland18:21
kiallhttps://github.com/stackforge/designate/blob/master/designate/api/v2/controllers/zones.py#L158 for "import"18:21
kiallPlus a few private methods at the bottom of that file18:21
jmcbridecool.  Any documentation on how to invoke it via API?18:21
kiallPOST /domains with the zonefile in the body, and a "Content-Type: text/dns" header for import..18:22
kiallGET /domains/12345 with a "Accept: text/dns" header for export..18:22
kiallI think that API will run into some issues when we do pools etc (can't specify a pool during import)18:23
kiallSo - Once we do "extensions" in the V2 API, I think we'll probably need to move that to an extension so we can choose to make it public or not ;)18:24
jmcbrideOK, last one for now.18:25
jmcbrideAbility to have a zone inherit changes from another, predefined zone.18:26
jmcbrideBasically make it easier for a user that has many zones that all have duplicate records.18:26
*** jwilentz has joined #openstack-dns18:26
kiallWe talked about that on the last google hangout..  I like the idea of zone templates / mixins, but haven't thought about it yet18:27
*** jwilentz has quit IRC18:27
jmcbrideOK, I'll add a blueprint for it and we can discuss at a later point.18:27
kiallI think mugsie filed one for that - let me check18:28
kiallI guess not18:28
* kiall wants to kill Neutron right about now -_-18:29
jmcbridekiall: thanks, I'll add a blueprint then.18:32
jmcbrideWhat happen with neutron?18:32
kiallWe're porting the HP Cloud DNS service from our Diablo-ish cloud to our new Havana based stuff.. Updating our tooling to handle all the changes :(18:34
kiall(The big "non-designate" item on my todo ;))18:35
ekarlsoWhat's wrong with Neutron kiall ? :p18:35
kiallekarlso: it's API ;)18:35
ekarlsohaha :p18:36
kialland the python bindings are awful ;)18:36
*** msisk has quit IRC18:37
*** cflmarques has quit IRC18:38
ekarlsokiall: you doing salt stuff or?18:40
kiallThats just 1 small part of it ;)18:40
kiallOkay - I'm off18:49
kiallcyas18:49
*** CaptTofu has quit IRC19:02
*** CaptTofu_ has joined #openstack-dns19:02
*** CaptTofu_ has quit IRC19:38
*** CaptTofu has joined #openstack-dns19:39
*** timfreund has quit IRC21:06
*** dguitarbite_ has joined #openstack-dns21:33
*** krow has joined #openstack-dns21:35
*** dguitarbite_ has quit IRC21:44
*** timfreund has joined #openstack-dns22:19
*** jmcbride has quit IRC22:30
*** timfreund has quit IRC23:26
*** timfreund has joined #openstack-dns23:31

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