Monday, 2014-06-23

*** ytwu has quit IRC00:05
*** ytwu1 has joined #openstack-dns00:05
*** matsuhashi has joined #openstack-dns00:31
*** puck has quit IRC01:02
*** puck has joined #openstack-dns01:03
*** seventy3 has quit IRC01:23
*** seventy3_away has joined #openstack-dns01:24
*** seventy3_away is now known as seventy301:24
*** puck has quit IRC01:32
*** puck has joined #openstack-dns01:34
*** puck has quit IRC01:38
*** nosnos has joined #openstack-dns01:39
*** puck has joined #openstack-dns01:40
*** puck has quit IRC01:46
*** puck has joined #openstack-dns01:48
*** puck has quit IRC01:52
*** puck has joined #openstack-dns01:53
*** puck has quit IRC01:57
*** puck has joined #openstack-dns01:59
*** puck has quit IRC02:07
*** puck has joined #openstack-dns02:07
*** ytwu1 has quit IRC02:19
*** ytwu has joined #openstack-dns02:24
*** ytwu has quit IRC03:04
*** matsuhashi has quit IRC03:39
*** nosnos has quit IRC03:54
*** shakamunyi has quit IRC04:30
*** shakamunyi has joined #openstack-dns04:31
*** matsuhashi has joined #openstack-dns04:39
*** shakamunyi has quit IRC04:41
*** nosnos has joined #openstack-dns04:41
*** shakamunyi has joined #openstack-dns04:42
*** nosnos has quit IRC04:46
*** shakamunyi has quit IRC04:47
*** nosnos has joined #openstack-dns04:47
*** ajc_ has joined #openstack-dns05:29
*** nosnos has quit IRC05:35
*** nosnos has joined #openstack-dns05:37
*** shakamunyi has joined #openstack-dns06:05
*** matsuhashi has quit IRC06:05
*** matsuhashi has joined #openstack-dns06:06
*** matsuhashi has quit IRC06:11
*** matsuhashi has joined #openstack-dns06:13
*** matsuhashi has quit IRC06:19
*** matsuhashi has joined #openstack-dns06:19
*** openstackstatus has quit IRC06:27
*** matsuhashi has quit IRC06:55
*** matsuhashi has joined #openstack-dns06:56
*** amarao has joined #openstack-dns07:48
*** cflmarques has joined #openstack-dns09:06
*** cflmarques has quit IRC09:46
*** eankutse has joined #openstack-dns12:01
*** eankutse has quit IRC12:02
*** eankutse has joined #openstack-dns12:02
*** matsuhashi has quit IRC12:23
*** matsuhashi has joined #openstack-dns12:23
*** matsuhashi has quit IRC12:28
*** matsuhashi has joined #openstack-dns12:28
*** matsuhashi has quit IRC12:35
*** matsuhashi has joined #openstack-dns12:35
*** matsuhas_ has joined #openstack-dns12:38
*** shakamunyi has quit IRC12:38
*** matsuhashi has quit IRC12:39
*** vinod1 has joined #openstack-dns12:40
*** ajc_ has quit IRC12:40
*** matsuhas_ has quit IRC13:03
*** matsuhashi has joined #openstack-dns13:03
*** matsuhashi has quit IRC13:08
*** matsuhashi has joined #openstack-dns13:08
*** mugsie has joined #openstack-dns13:12
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Unify Storage vs Rest of World fixture creation  https://review.openstack.org/10170013:12
*** nkinder_ has quit IRC13:13
*** matsuhashi has quit IRC13:13
openstackgerritA change was merged to stackforge/designate: Switch to oslo.db and fix cmd.manage  https://review.openstack.org/9812213:14
*** matsuhashi has joined #openstack-dns13:14
*** vinod1 has quit IRC13:17
*** matsuhashi has quit IRC13:18
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Unify Storage vs Rest of World fixture creation  https://review.openstack.org/10170013:25
*** richm has joined #openstack-dns13:26
*** nosnos has quit IRC13:29
*** vinod1 has joined #openstack-dns13:34
*** eankutse has quit IRC13:39
*** vinod1 has quit IRC13:43
*** vinod1 has joined #openstack-dns14:00
*** vinod1 has quit IRC14:00
*** vinod1 has joined #openstack-dns14:01
*** nkinder_ has joined #openstack-dns14:08
*** betsy has quit IRC14:08
*** tsimmons has joined #openstack-dns14:23
*** vinod1 has quit IRC14:30
openstackgerritA change was merged to stackforge/designate: Unify Storage vs Rest of World fixture creation  https://review.openstack.org/10170014:31
*** vinod1 has joined #openstack-dns14:32
*** msisk has joined #openstack-dns14:33
*** vinod1 has joined #openstack-dns14:34
*** jmcbride has joined #openstack-dns14:36
*** vinod1 has quit IRC14:38
openstackgerritJordan Cazamias proposed a change to stackforge/designate: Change log string format to '%' for consistency  https://review.openstack.org/10104714:40
*** vinod1 has joined #openstack-dns14:42
tsimmonsmugsie: You around?14:43
*** msisk has quit IRC14:45
*** vinod1 has joined #openstack-dns14:46
*** shakamunyi has joined #openstack-dns14:54
*** vinod1 has quit IRC14:56
*** vinod1 has joined #openstack-dns14:57
*** betsy has joined #openstack-dns14:58
mugsietsimmons, yup14:59
*** jmcbride has quit IRC15:05
*** eankutse has joined #openstack-dns15:13
openstackgerritGraham Hayes proposed a change to stackforge/designate: Fixes default content type on /v2/zones endpoint  https://review.openstack.org/10192915:14
*** shakamunyi has quit IRC15:14
tsimmonsmugsie: Regarding your comments here: https://review.openstack.org/#/c/100361/4/designate/api/v2/views/extensions/quotas.py15:17
mugsieyup15:17
tsimmonsYou want it so that the API user sees zones/zones_blah blah and can enter them that way as well right? So I'll just transform the names "zones"->"domains" on PATCHs as well as transform them on GETS?15:18
mugsieyup15:18
tsimmonsAlright cool.15:19
mugsiewe will at some point in the future have to do one massive refactor to get zones in the code base, but until then we just need to do the transforms in the views15:19
tsimmonsYep. Alright, thanks!15:19
mugsienp15:22
*** jorgem has joined #openstack-dns15:22
*** shakamunyi has joined #openstack-dns15:25
openstackgerritGraham Hayes proposed a change to stackforge/designate: Added all fields to limits endpoint, and corrected casing  https://review.openstack.org/10193515:26
*** msisk has joined #openstack-dns15:29
*** shakamunyi has quit IRC15:37
*** shakamunyi has joined #openstack-dns15:38
*** shakamunyi has quit IRC15:39
*** shakamunyi has joined #openstack-dns15:39
*** shakamunyi has quit IRC15:47
*** shakamunyi has joined #openstack-dns15:48
*** jmcbride has joined #openstack-dns15:53
*** jmcbride has quit IRC15:53
*** jmcbride has joined #openstack-dns15:53
*** shakamunyi has quit IRC15:55
*** shakamunyi has joined #openstack-dns15:55
*** shakamunyi has quit IRC15:56
*** shakamunyi has joined #openstack-dns15:57
*** shakamunyi has quit IRC16:00
*** jorgem has quit IRC16:01
*** shakamunyi has joined #openstack-dns16:01
*** jorgem has joined #openstack-dns16:03
*** amarao has quit IRC16:07
*** shakamunyi has quit IRC16:13
*** shakamunyi has joined #openstack-dns16:15
*** rmoe has quit IRC16:20
*** shakamunyi has quit IRC16:22
*** shakamunyi has joined #openstack-dns16:22
*** bandarji has joined #openstack-dns16:23
*** shakamunyi has quit IRC16:30
*** shakamunyi has joined #openstack-dns16:31
*** shakamunyi has quit IRC16:31
*** shakamunyi has joined #openstack-dns16:32
*** shakamunyi has quit IRC16:34
*** shakamunyi has joined #openstack-dns16:45
*** shakamunyi has quit IRC16:45
*** shakamunyi has joined #openstack-dns16:46
*** rmoe has joined #openstack-dns16:49
*** yidclare has joined #openstack-dns16:51
*** jmcbride has quit IRC16:55
*** shakamunyi has quit IRC16:57
openstackgerritGraham Hayes proposed a change to stackforge/designate: Ensure that 404's are returned as JSON  https://review.openstack.org/10195416:58
*** jmcbride has joined #openstack-dns17:06
*** jmcbride has quit IRC17:12
*** jorgem has quit IRC17:32
*** richm has quit IRC17:34
openstackgerritGraham Hayes proposed a change to stackforge/designate: Ensure that 404's are returned as JSON  https://review.openstack.org/10195417:35
*** jorgem has joined #openstack-dns17:36
tsimmonsJust a general question to anyone who has written unit tests. Do you have any idea how I might enable extensions in the unit tests? I'm trying to enable the extensions via the config option, but I get an error: "NoSuchOptError: no such option in group service:api: enabled_extensions_v2". Without importing it I just get a 404 at a route in the test that works fine for me.17:48
*** richm has joined #openstack-dns17:48
*** vinod1 has quit IRC17:59
openstackgerritTim Simmons proposed a change to stackforge/designate: Add Extensions to the v2 API  https://review.openstack.org/10036118:02
tsimmonsUnit test is broken^ but at least we'll be able to see it18:02
mugsietsimmons, looks good18:07
mugsiemight have a look how we did for the v1 api18:07
mugsiebut my gut feeling is we didnt18:07
tsimmonsYeah I didn't see any :/18:08
*** jmcbride has joined #openstack-dns18:09
*** jmcbride has quit IRC18:10
*** jmcbride has joined #openstack-dns18:11
mugsietsimmons, yup, my gut was right18:12
mugsiewe just didnt test them18:12
tsimmonsYeah, I mean we should. It's just a matter of getting it enabled in the testing framework. Surely it can be done...18:13
*** bandarji has quit IRC18:13
mugsieYeah, but ekarlso would have a better idea about the testing framework than me18:15
mugsieekarlso, any ideas?18:15
*** jmcbride has quit IRC18:16
*** jmcbride has joined #openstack-dns18:20
*** vinod1 has joined #openstack-dns18:25
*** vinod1 has quit IRC18:25
*** vinod1 has joined #openstack-dns18:25
*** yidclare has quit IRC18:59
*** jmcbride has quit IRC18:59
*** vinod1 has quit IRC19:00
*** crc32 has joined #openstack-dns19:08
*** vipul has quit IRC19:10
tsimmonsMaybe it's something to do with the way I'm registering the configuration value? When I try that line and similar other places I get that there is no such config option.19:12
*** tsimmons has quit IRC19:19
*** tsimmons has joined #openstack-dns19:20
*** vipul has joined #openstack-dns19:23
*** bandarji has joined #openstack-dns19:29
*** jorgem has left #openstack-dns19:31
Kialltsimmons: having a look now...19:36
tsimmonsKiall: I appreciate you taking the time.19:36
Kialland - yea - we didn't test the V1 extensions.19:36
KiallHence waning to get started on the right foot in V2 ;)19:37
Kiallsuper(ApiV2QuotasTest, self).setUp()2319:37
Kiall        self.config(enabled_extensions_v2='quotas', group='service:api')19:37
KiallI'm betting if you reverse the order of these two lines, it'll work19:37
Kiall(Which is something we should fix if it works, but I don't think the fix belongs in your review..)19:38
KiallAnd - If that complains about the option not existing, adding a cfg.CONF.import_opt('enabled_extensions_v2', 'designate.api.v2', group='service:api') after the imports at the top should get it19:39
tsimmonsIt did complain about a missing option (very omniscient of you) but that unfortunately did not fix it. Still get the same "No Such Opt" Error.19:42
tsimmonshttp://paste.openstack.org/show/84725/19:43
KiallWhere did you add the import_opt line? after the imports, but before the class started19:45
Kiall?19:45
tsimmonsYup http://paste.openstack.org/show/8472619:46
tsimmons(In that one I tried to change the option to a list, but I tried it both ways)19:47
KiallIt's definitely a list, but the error suggests it can't find it rather than your setting the wrong type :)19:47
tsimmonsYeah I'm just kind of throwing stuff at the wall :P19:47
Kiall^ paste should work :/19:47
KiallL7 should either succeed or blow up with an NoSuchOpt before the tests even run19:48
KiallOh - it is blowing up that early..19:48
tsimmonsWhen I run that test only it just get a giant blob that looks like "Non-zero exit code (2) from test listing. stdout='\xb3)\x01@M@Bdesignate.tests.test_agent.test_service.AgentServiceTest.test_stopz\x9"19:49
KiallAHH19:49
KiallI see19:49
Kiallyou're defining the config option in designate/api/v2/controllers/root.py rather than designate/api/v2/__init__.py19:49
Kiallif you move the definition to there, it should work19:49
tsimmonsYup. Alright then19:49
Kiall"designate/api/v2/__init__.py" would fit the pattern for where all our other services define their options19:50
Kiallbut.. if you wanted to it work with the current placement, you would need cfg.CONF.import_opt('enabled_extensions_v2', 'designate.api.v2.controllers.root', group='service:api')19:50
Kiallimport_opt('option-name', 'module-path-where-option-is-defined', group='group-name')19:51
tsimmonsSweet, now I just got a 403 Forbidden. I can work with that.19:52
KiallOut of curiosity - does it work with the self.config() line after the super() line?19:52
Kiall(If not, that's fine.. That's a separate thing to figure out + fix ;))19:53
tsimmonsNope, the extension doesn't get loaded.19:53
KiallOkay.. I thought as much19:54
Kiallsuper() triggers the API service to be started, which loads the ext's on startup, and the config option hasn't been set yet..19:54
tsimmonsThat makes sense.19:54
tsimmonsAwesome, well thanks man I really appreciate it!19:55
KiallI'm not sure there's much we can really do about that, but, maybe there is.. I'll poke at it tomorrow19:55
*** yidclare has joined #openstack-dns20:02
*** nkinder has joined #openstack-dns20:28
*** nkinder_ has quit IRC20:32
*** CaptTofu_ has quit IRC20:34
*** vinod1 has joined #openstack-dns20:36
*** vinod1 has quit IRC20:37
*** vinod1 has joined #openstack-dns20:37
openstackgerritGraham Hayes proposed a change to stackforge/designate: Fixes default content type on /v2/zones endpoint  https://review.openstack.org/10192921:01
openstackgerritGraham Hayes proposed a change to stackforge/designate: Ensure that 404's are returned as JSON  https://review.openstack.org/10195421:02
openstackgerritGraham Hayes proposed a change to stackforge/designate: Added all fields to limits endpoint, and corrected casing  https://review.openstack.org/10193521:09
*** eankutse has quit IRC21:12
*** tsimmons has quit IRC21:20
*** jaycaz has joined #openstack-dns21:28
*** msisk has quit IRC21:31
*** eankutse has joined #openstack-dns21:43
*** betsy has quit IRC21:43
*** nkinder has quit IRC21:45
*** eankutse has quit IRC21:49
*** CaptTofu_ has joined #openstack-dns22:01
*** CaptTofu_ has quit IRC22:06
*** CaptTofu_ has joined #openstack-dns22:09
*** seventy3 has quit IRC22:11
*** zane1 has joined #openstack-dns22:12
*** seventy3 has joined #openstack-dns22:14
*** jaycaz has left #openstack-dns22:21
*** vinod1 has quit IRC22:23
*** zane1 has quit IRC22:41
*** zane1 has joined #openstack-dns22:41
*** yidclare has quit IRC22:45
*** zane1 has quit IRC22:46
*** vinod1 has joined #openstack-dns22:55
*** bandarji has quit IRC23:07
*** eankutse has joined #openstack-dns23:43
*** eankutse has quit IRC23:44
*** msisk has joined #openstack-dns23:45
*** eankutse has joined #openstack-dns23:59
*** eankutse has quit IRC23:59
*** eankutse has joined #openstack-dns23:59

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