*** jmcbride has quit IRC | 00:17 | |
*** jmcbride has joined #openstack-dns | 00:18 | |
*** betsy has quit IRC | 00:19 | |
*** jmcbride has quit IRC | 00:21 | |
*** jmcbride has joined #openstack-dns | 00:23 | |
*** vinod has quit IRC | 00:25 | |
*** jmcbride has quit IRC | 00:26 | |
*** rossk has quit IRC | 00:26 | |
*** vipuls is now known as vipuls-away | 00:33 | |
*** vipuls-away is now known as vipuls | 00:33 | |
*** jmcbride has joined #openstack-dns | 00:38 | |
*** jmcbride has quit IRC | 00:41 | |
*** sballe has quit IRC | 00:43 | |
*** sballe has joined #openstack-dns | 00:43 | |
*** nosnos has joined #openstack-dns | 01:33 | |
*** msisk has quit IRC | 02:14 | |
*** sballe has quit IRC | 02:37 | |
*** sballe has joined #openstack-dns | 02:38 | |
*** msisk has joined #openstack-dns | 02:47 | |
*** CaptTofu has quit IRC | 03:23 | |
*** CaptTofu has joined #openstack-dns | 03:24 | |
*** CaptTofu has quit IRC | 03:28 | |
*** vinod has joined #openstack-dns | 03:46 | |
*** jmcbride has joined #openstack-dns | 03:50 | |
*** jmcbride has quit IRC | 03:53 | |
*** amrit has joined #openstack-dns | 03:53 | |
*** CaptTofu has joined #openstack-dns | 03:55 | |
*** CaptTofu has quit IRC | 03:58 | |
*** CaptTofu has joined #openstack-dns | 03:58 | |
*** msisk has quit IRC | 04:08 | |
*** vinod has quit IRC | 04:12 | |
*** msisk has joined #openstack-dns | 04:20 | |
*** CaptTofu has quit IRC | 04:47 | |
*** CaptTofu_ has joined #openstack-dns | 04:47 | |
*** jmcbride has joined #openstack-dns | 05:29 | |
*** jmcbride has quit IRC | 05:32 | |
*** HenryG has quit IRC | 06:22 | |
*** msisk has quit IRC | 06:32 | |
*** HenryG has joined #openstack-dns | 06:41 | |
openstackgerrit | Endre Karlson proposed a change to stackforge/designate: Part 1 of FloatingIP PTR record functionality https://review.openstack.org/58316 | 07:32 |
---|---|---|
*** CaptTofu_ has quit IRC | 08:48 | |
*** CaptTofu has joined #openstack-dns | 08:49 | |
*** cflmarques has joined #openstack-dns | 09:43 | |
*** nosnos has quit IRC | 09:49 | |
*** CaptTofu has quit IRC | 09:57 | |
*** artom has quit IRC | 10:23 | |
*** rjrjr has quit IRC | 11:36 | |
*** cflmarques_ has joined #openstack-dns | 12:33 | |
*** cflmarques has quit IRC | 12:35 | |
*** CaptTofu has joined #openstack-dns | 12:46 | |
*** cflmarques_ has quit IRC | 12:55 | |
*** vinod has joined #openstack-dns | 13:23 | |
*** jmcbride has joined #openstack-dns | 13:41 | |
*** CaptTofu has quit IRC | 13:44 | |
*** CaptTofu has joined #openstack-dns | 13:45 | |
*** msisk has joined #openstack-dns | 13:49 | |
*** vinod has quit IRC | 14:07 | |
*** betsy has joined #openstack-dns | 14:08 | |
*** eankutse has joined #openstack-dns | 14:14 | |
*** eankutse has quit IRC | 14:14 | |
*** eankutse has joined #openstack-dns | 14:14 | |
*** artom has joined #openstack-dns | 14:23 | |
*** CaptTofu has quit IRC | 14:59 | |
*** tsimmons has joined #openstack-dns | 15:18 | |
*** CaptTofu has joined #openstack-dns | 15:20 | |
openstackgerrit | Endre Karlson proposed a change to stackforge/designate: Part 1 of FloatingIP PTR record functionality https://review.openstack.org/58316 | 15:22 |
*** cflmarques_ has joined #openstack-dns | 15:48 | |
cflmarques_ | Kial: Hi Kiall. Does Designate have a limit of domains to be inserted? I am developing a script in python using Designate client code to make a benchmark test and wen I try to create more then 10 domains it raises an exception! | 15:52 |
kiall | There are quotas per-tenant, they default to 10 domains from memory. | 15:52 |
kiall | you can change the default quotas in the config file with .. let me checl | 15:52 |
kiall | check* | 15:52 |
cflmarques_ | :) | 15:53 |
kiall | quota-domains = 100 or w/e you want | 15:53 |
kiall | https://github.com/stackforge/designate/blob/master/designate/quota/__init__.py | 15:53 |
kiall | (those options changed recently, depending on the version your running they might be these: https://github.com/stackforge/designate/blob/2e65d271e92c75f59a4443268153db6a04482cca/designate/quota/__init__.py | 15:54 |
cflmarques_ | weel I am using the latest designate from .deb | 15:55 |
cflmarques_ | pretty stable | 15:55 |
kiall | Okay - Then it's the second link | 15:55 |
kiall | they can be put into the [DEFAULT] section (i.e neart the top) of the config file | 15:56 |
kiall | restart central after the change | 15:56 |
cflmarques_ | with config file kiall? designate conf ? | 15:59 |
kiall | Yes, designates config file | 15:59 |
cflmarques_ | should I put something like this >> quota-domains=500 | 16:01 |
cflmarques_ | and quota-domain-records= 1000 | 16:01 |
*** vinod has joined #openstack-dns | 16:10 | |
cflmarques_ | uIt works Kiall. I just aded like you said quota-domains = 100 to designate.conf file but with underScore | 16:15 |
cflmarques_ | *It | 16:15 |
*** vinod has quit IRC | 16:16 | |
cflmarques_ | Kiall: Thank's again for your Help | 16:16 |
kiall | no problem | 16:16 |
*** jmcbride has quit IRC | 16:17 | |
*** jmcbride has joined #openstack-dns | 16:28 | |
*** vinod has joined #openstack-dns | 16:31 | |
*** jmcbride1 has joined #openstack-dns | 16:33 | |
vinod | kiall: I am having 2 issues on adding v2 api tests for TLD | 16:35 |
vinod | The code that I have so far for the v2 api TLD tests is at http://pastebin.com/jsk296V8. It is based on the v2's test_zones.py | 16:36 |
vinod | The errors that I see are at http://pastebin.com/tvRuA4rD | 16:36 |
*** jmcbride has quit IRC | 16:37 | |
vinod | The 1st error is primarily that a TLD create fails with 403 forbidden because it does not run in the admin context. | 16:38 |
*** CaptTofu has quit IRC | 16:38 | |
vinod | With zones, there is no such issue - I am wondering if I need to do something else to get the tests to run in the admin context | 16:38 |
kiall | Some of the tests do run in an admin context, let me find one that does | 16:52 |
*** msisk_ has joined #openstack-dns | 16:53 | |
kiall | Humm - Maybe that was something I was working on but never submitted - Don't see any! | 16:54 |
*** jorgem has joined #openstack-dns | 16:55 | |
kiall | Oh - I'm thinking of something else | 16:55 |
artom | Since that's a 403 response, wouldn't that be something in api/central? | 16:55 |
kiall | https://github.com/stackforge/designate/blob/master/designate/api/middleware.py#L149 | 16:55 |
kiall | we should extend that to take in a X-Test-Roles header, which you can supply from the test to force the user to have the admin role | 16:56 |
vinod | ok i will try that. | 16:57 |
*** msisk_ has quit IRC | 16:57 | |
*** jorgem1 has joined #openstack-dns | 16:57 | |
vinod | The 2nd issue that I have is that the tests do not seem to run in a clean environment | 16:57 |
vinod | The specific error that I see is that some tests in test_zones.py fail with InvalidTLD | 16:58 |
*** jorgem has quit IRC | 16:59 | |
vinod | This error occurs only when I run the TLD tests which create some TLDs | 16:59 |
vinod | When there are no TLDs in the db, the default behavior now is to allow all TLDs | 16:59 |
vinod | But if the db has 1 or more entries then TLD checks are enforced | 17:01 |
vinod | What kind of cleanup is done between tests? Do I need to do some cleanup between tests? | 17:02 |
kiall | Everything should be totally reset between tests | 17:03 |
kiall | (should be!) | 17:03 |
kiall | Are you doing anything like caching the list of TLDs inside central? | 17:03 |
kiall | Because, something like that won't get reset.. Not unless you cleanup in central's stop() method | 17:03 |
kiall | (Well - I think that's a decent place for cleanup code if needed) | 17:04 |
vinod | http://pastebin.com/1vA5wyhC | 17:05 |
vinod | In central's init method I try to see if we need to check for TLDs by quering the db | 17:05 |
vinod | Additionally in centrals' create_tld I set self.check_for_tlds = True | 17:06 |
kiall | Ah .. Okay .. So, if we move that to.. start(), I think it should do the trick | 17:15 |
vinod | I will try that | 17:16 |
vinod | https://github.com/stackforge/designate/blob/master/designate/tests/test_api/test_v2/__init__.py#L40-42 | 17:16 |
vinod | Does that mean that all V2Tests are already running with the admin context? | 17:16 |
kiall | No, just with that user/tenant id.. the API call context is generate at the API by whatever context middleware is enabled | 17:20 |
kiall | (in this case, the TestContextMiddleware) | 17:20 |
kiall | But - sometimes, we need to pre-create stuff, like domains for the list_domains tests | 17:20 |
kiall | so there's another context used there.. and we do ^ to make sure the user/tenant id matches up | 17:21 |
kiall | It's a bit convoluted.. but work once the TestContextMiddleware is extended to support supplying a role | 17:21 |
kiall | Or.. Actually.. probably easier than that, you could do this at the top of your test | 17:21 |
kiall | self.policy({'create_tld': '@'}) (replace create_tld with the policy name) | 17:22 |
kiall | that overrides the policy, where @ means "allow for anyone" | 17:22 |
kiall | (That was inherited from oslo.. awful convention! | 17:23 |
vinod | Thank you kiall for all your help. I will try that now. | 17:23 |
kiall | vinod: no worries.. | 17:24 |
kiall | back in 30, meeting | 17:24 |
*** CaptTofu has joined #openstack-dns | 17:26 | |
*** vinod has quit IRC | 17:36 | |
*** rossk has joined #openstack-dns | 17:45 | |
*** artom has quit IRC | 17:47 | |
*** artom has joined #openstack-dns | 17:51 | |
*** tsimmons has quit IRC | 18:02 | |
*** eankutse has quit IRC | 18:03 | |
*** vinod has joined #openstack-dns | 18:10 | |
*** vipuls is now known as vipuls-away | 18:15 | |
*** vipuls-away is now known as vipuls | 18:15 | |
*** jmcbride1 has quit IRC | 18:23 | |
*** jmcbride has joined #openstack-dns | 18:24 | |
*** tsimmons has joined #openstack-dns | 18:24 | |
*** eankutse has joined #openstack-dns | 18:31 | |
*** cflmarques_ has quit IRC | 18:36 | |
*** jmcbride1 has joined #openstack-dns | 18:48 | |
*** jmcbride1 has quit IRC | 18:49 | |
*** jmcbride1 has joined #openstack-dns | 18:49 | |
*** jmcbride has quit IRC | 18:51 | |
*** jmcbride has joined #openstack-dns | 19:12 | |
*** jmcbride1 has quit IRC | 19:15 | |
openstackgerrit | Vinod Mangalpally proposed a change to stackforge/designate: Add APIs for managing TLDs https://review.openstack.org/65488 | 19:35 |
vinod | Joe let me know when you are free for the 1:1 | 19:37 |
vinod | wrong window please ignore | 19:37 |
*** vinod has quit IRC | 19:46 | |
*** vipuls is now known as vipuls-away | 20:00 | |
*** vipuls-away is now known as vipuls | 20:00 | |
*** jmcbride has quit IRC | 20:12 | |
*** vipuls is now known as vipuls-away | 20:15 | |
*** vinod has joined #openstack-dns | 20:17 | |
*** jmcbride has joined #openstack-dns | 20:19 | |
*** serjuk has joined #openstack-dns | 20:35 | |
openstackgerrit | Vinod Mangalpally proposed a change to stackforge/designate: Add APIs for managing TLDs https://review.openstack.org/65488 | 20:37 |
*** serjuk has quit IRC | 20:47 | |
*** vinod has quit IRC | 20:52 | |
*** vinod has joined #openstack-dns | 20:55 | |
*** vinod1 has joined #openstack-dns | 20:56 | |
*** vinod has quit IRC | 20:59 | |
*** jorgem1 has quit IRC | 21:03 | |
*** tsimmons has quit IRC | 21:04 | |
*** vinod1 has quit IRC | 21:05 | |
*** vipuls-away is now known as vipuls | 21:08 | |
*** tsimmons has joined #openstack-dns | 21:19 | |
*** CaptTofu has quit IRC | 21:24 | |
*** CaptTofu has joined #openstack-dns | 21:24 | |
*** vipuls is now known as vipuls-away | 21:36 | |
*** vipuls-away is now known as vipuls | 21:36 | |
*** vipuls is now known as vipuls-away | 21:51 | |
*** CaptTofu has quit IRC | 21:58 | |
*** CaptTofu has joined #openstack-dns | 21:58 | |
*** jmcbride has quit IRC | 22:02 | |
*** jorgem has joined #openstack-dns | 22:13 | |
*** jorgem1 has joined #openstack-dns | 22:16 | |
*** eankutse has quit IRC | 22:16 | |
*** jorgem has quit IRC | 22:18 | |
*** tsimmons has left #openstack-dns | 22:37 | |
openstackgerrit | Betsy Luzader proposed a change to stackforge/designate: Create API calls to Manage Blacklisted Domains https://review.openstack.org/65359 | 22:38 |
*** vipuls-away is now known as vipuls | 22:40 | |
*** CaptTofu has quit IRC | 23:01 | |
*** CaptTofu has joined #openstack-dns | 23:06 | |
*** CaptTofu has quit IRC | 23:34 | |
*** vipuls is now known as vipuls-away | 23:44 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!