Friday, 2014-01-10

*** jmcbride has quit IRC00:17
*** jmcbride has joined #openstack-dns00:18
*** betsy has quit IRC00:19
*** jmcbride has quit IRC00:21
*** jmcbride has joined #openstack-dns00:23
*** vinod has quit IRC00:25
*** jmcbride has quit IRC00:26
*** rossk has quit IRC00:26
*** vipuls is now known as vipuls-away00:33
*** vipuls-away is now known as vipuls00:33
*** jmcbride has joined #openstack-dns00:38
*** jmcbride has quit IRC00:41
*** sballe has quit IRC00:43
*** sballe has joined #openstack-dns00:43
*** nosnos has joined #openstack-dns01:33
*** msisk has quit IRC02:14
*** sballe has quit IRC02:37
*** sballe has joined #openstack-dns02:38
*** msisk has joined #openstack-dns02:47
*** CaptTofu has quit IRC03:23
*** CaptTofu has joined #openstack-dns03:24
*** CaptTofu has quit IRC03:28
*** vinod has joined #openstack-dns03:46
*** jmcbride has joined #openstack-dns03:50
*** jmcbride has quit IRC03:53
*** amrit has joined #openstack-dns03:53
*** CaptTofu has joined #openstack-dns03:55
*** CaptTofu has quit IRC03:58
*** CaptTofu has joined #openstack-dns03:58
*** msisk has quit IRC04:08
*** vinod has quit IRC04:12
*** msisk has joined #openstack-dns04:20
*** CaptTofu has quit IRC04:47
*** CaptTofu_ has joined #openstack-dns04:47
*** jmcbride has joined #openstack-dns05:29
*** jmcbride has quit IRC05:32
*** HenryG has quit IRC06:22
*** msisk has quit IRC06:32
*** HenryG has joined #openstack-dns06:41
openstackgerritEndre Karlson proposed a change to stackforge/designate: Part 1 of FloatingIP PTR record functionality  https://review.openstack.org/5831607:32
*** CaptTofu_ has quit IRC08:48
*** CaptTofu has joined #openstack-dns08:49
*** cflmarques has joined #openstack-dns09:43
*** nosnos has quit IRC09:49
*** CaptTofu has quit IRC09:57
*** artom has quit IRC10:23
*** rjrjr has quit IRC11:36
*** cflmarques_ has joined #openstack-dns12:33
*** cflmarques has quit IRC12:35
*** CaptTofu has joined #openstack-dns12:46
*** cflmarques_ has quit IRC12:55
*** vinod has joined #openstack-dns13:23
*** jmcbride has joined #openstack-dns13:41
*** CaptTofu has quit IRC13:44
*** CaptTofu has joined #openstack-dns13:45
*** msisk has joined #openstack-dns13:49
*** vinod has quit IRC14:07
*** betsy has joined #openstack-dns14:08
*** eankutse has joined #openstack-dns14:14
*** eankutse has quit IRC14:14
*** eankutse has joined #openstack-dns14:14
*** artom has joined #openstack-dns14:23
*** CaptTofu has quit IRC14:59
*** tsimmons has joined #openstack-dns15:18
*** CaptTofu has joined #openstack-dns15:20
openstackgerritEndre Karlson proposed a change to stackforge/designate: Part 1 of FloatingIP PTR record functionality  https://review.openstack.org/5831615:22
*** cflmarques_ has joined #openstack-dns15: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
kiallThere are quotas per-tenant, they default to 10 domains from memory.15:52
kiallyou can change the default quotas in the config file with .. let me checl15:52
kiallcheck*15:52
cflmarques_:)15:53
kiallquota-domains = 100 or w/e you want15:53
kiallhttps://github.com/stackforge/designate/blob/master/designate/quota/__init__.py15: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__.py15:54
cflmarques_weel I am using the latest designate from .deb15:55
cflmarques_pretty stable15:55
kiallOkay - Then it's the second link15:55
kiallthey can be put into the [DEFAULT] section (i.e neart the top) of the config file15:56
kiallrestart central after the change15:56
cflmarques_with config file kiall? designate conf ?15:59
kiallYes, designates config file15:59
cflmarques_should I put something like this   >>  quota-domains=50016:01
cflmarques_and quota-domain-records= 100016:01
*** vinod has joined #openstack-dns16:10
cflmarques_uIt works Kiall. I just aded like you said quota-domains = 100 to designate.conf file  but with underScore16:15
cflmarques_*It16:15
*** vinod has quit IRC16:16
cflmarques_Kiall: Thank's again for your Help16:16
kiallno problem16:16
*** jmcbride has quit IRC16:17
*** jmcbride has joined #openstack-dns16:28
*** vinod has joined #openstack-dns16:31
*** jmcbride1 has joined #openstack-dns16:33
vinodkiall: I am having 2 issues on adding v2 api tests for TLD16:35
vinodThe 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.py16:36
vinodThe errors that I see are at http://pastebin.com/tvRuA4rD16:36
*** jmcbride has quit IRC16:37
vinodThe 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 IRC16:38
vinodWith 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 context16:38
kiallSome of the tests do run in an admin context, let me find one that does16:52
*** msisk_ has joined #openstack-dns16:53
kiallHumm - Maybe that was something I was working on but never submitted - Don't see any!16:54
*** jorgem has joined #openstack-dns16:55
kiallOh - I'm thinking of something else16:55
artomSince that's a 403 response, wouldn't that be something in api/central?16:55
kiallhttps://github.com/stackforge/designate/blob/master/designate/api/middleware.py#L14916:55
kiallwe 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 role16:56
vinodok i will try that.16:57
*** msisk_ has quit IRC16:57
*** jorgem1 has joined #openstack-dns16:57
vinodThe 2nd issue that I have is that the tests do not seem to run in a clean environment16:57
vinodThe specific error that I see is that some tests in test_zones.py fail with InvalidTLD16:58
*** jorgem has quit IRC16:59
vinodThis error occurs only when I run the TLD tests which create some TLDs16:59
vinodWhen there are no TLDs in the db, the default behavior now is to allow all TLDs16:59
vinodBut if the db has 1 or more entries then TLD checks are enforced17:01
vinodWhat kind of cleanup is done between tests?  Do I need to do some cleanup between tests?17:02
kiallEverything should be totally reset between tests17:03
kiall(should be!)17:03
kiallAre you doing anything like caching the list of TLDs inside central?17:03
kiallBecause, something like that won't get reset.. Not unless you cleanup in central's stop() method17:03
kiall(Well - I think that's a decent place for cleanup code if needed)17:04
vinodhttp://pastebin.com/1vA5wyhC17:05
vinodIn central's init method I try to see if we need to check for TLDs by quering the db17:05
vinodAdditionally in centrals' create_tld I set self.check_for_tlds = True17:06
kiallAh .. Okay .. So, if we move that to.. start(), I think it should do the trick17:15
vinodI will try that17:16
vinodhttps://github.com/stackforge/designate/blob/master/designate/tests/test_api/test_v2/__init__.py#L40-4217:16
vinodDoes that mean that all V2Tests are already running with the admin context?17:16
kiallNo, just with that user/tenant id.. the API call context is generate at the API by whatever context middleware is enabled17:20
kiall(in this case, the TestContextMiddleware)17:20
kiallBut - sometimes, we need to pre-create stuff, like domains for the list_domains tests17:20
kiallso there's another context used there.. and we do ^ to make sure the user/tenant id matches up17:21
kiallIt's a bit convoluted.. but work once the TestContextMiddleware is extended to support supplying a role17:21
kiallOr.. Actually.. probably easier than that, you could do this at the top of your test17:21
kiallself.policy({'create_tld': '@'}) (replace create_tld with the policy name)17:22
kiallthat overrides the policy, where @ means "allow for anyone"17:22
kiall(That was inherited from oslo.. awful convention!17:23
vinodThank you kiall for all your help.  I will try that now.17:23
kiallvinod: no worries..17:24
kiallback in 30, meeting17:24
*** CaptTofu has joined #openstack-dns17:26
*** vinod has quit IRC17:36
*** rossk has joined #openstack-dns17:45
*** artom has quit IRC17:47
*** artom has joined #openstack-dns17:51
*** tsimmons has quit IRC18:02
*** eankutse has quit IRC18:03
*** vinod has joined #openstack-dns18:10
*** vipuls is now known as vipuls-away18:15
*** vipuls-away is now known as vipuls18:15
*** jmcbride1 has quit IRC18:23
*** jmcbride has joined #openstack-dns18:24
*** tsimmons has joined #openstack-dns18:24
*** eankutse has joined #openstack-dns18:31
*** cflmarques_ has quit IRC18:36
*** jmcbride1 has joined #openstack-dns18:48
*** jmcbride1 has quit IRC18:49
*** jmcbride1 has joined #openstack-dns18:49
*** jmcbride has quit IRC18:51
*** jmcbride has joined #openstack-dns19:12
*** jmcbride1 has quit IRC19:15
openstackgerritVinod Mangalpally proposed a change to stackforge/designate: Add APIs for managing TLDs  https://review.openstack.org/6548819:35
vinodJoe let me know when you are free for the 1:119:37
vinodwrong window please ignore19:37
*** vinod has quit IRC19:46
*** vipuls is now known as vipuls-away20:00
*** vipuls-away is now known as vipuls20:00
*** jmcbride has quit IRC20:12
*** vipuls is now known as vipuls-away20:15
*** vinod has joined #openstack-dns20:17
*** jmcbride has joined #openstack-dns20:19
*** serjuk has joined #openstack-dns20:35
openstackgerritVinod Mangalpally proposed a change to stackforge/designate: Add APIs for managing TLDs  https://review.openstack.org/6548820:37
*** serjuk has quit IRC20:47
*** vinod has quit IRC20:52
*** vinod has joined #openstack-dns20:55
*** vinod1 has joined #openstack-dns20:56
*** vinod has quit IRC20:59
*** jorgem1 has quit IRC21:03
*** tsimmons has quit IRC21:04
*** vinod1 has quit IRC21:05
*** vipuls-away is now known as vipuls21:08
*** tsimmons has joined #openstack-dns21:19
*** CaptTofu has quit IRC21:24
*** CaptTofu has joined #openstack-dns21:24
*** vipuls is now known as vipuls-away21:36
*** vipuls-away is now known as vipuls21:36
*** vipuls is now known as vipuls-away21:51
*** CaptTofu has quit IRC21:58
*** CaptTofu has joined #openstack-dns21:58
*** jmcbride has quit IRC22:02
*** jorgem has joined #openstack-dns22:13
*** jorgem1 has joined #openstack-dns22:16
*** eankutse has quit IRC22:16
*** jorgem has quit IRC22:18
*** tsimmons has left #openstack-dns22:37
openstackgerritBetsy Luzader proposed a change to stackforge/designate: Create API calls to Manage Blacklisted Domains  https://review.openstack.org/6535922:38
*** vipuls-away is now known as vipuls22:40
*** CaptTofu has quit IRC23:01
*** CaptTofu has joined #openstack-dns23:06
*** CaptTofu has quit IRC23:34
*** vipuls is now known as vipuls-away23:44

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