Wednesday, 2014-03-12

*** vinod has joined #openstack-dns00:01
*** jorgem1 has quit IRC00:15
*** rossk has quit IRC00:23
*** nkinder_ has joined #openstack-dns00:24
*** matsuhashi has joined #openstack-dns00:26
*** HenryG_ has quit IRC00:32
*** richm has quit IRC00:41
*** CaptTofu has joined #openstack-dns00:51
*** rmoe has quit IRC00:52
*** ytwu has quit IRC00:56
*** puck has quit IRC00:56
*** mugsie has quit IRC00:57
*** rektide has quit IRC00:57
*** kiall has quit IRC00:57
*** zigo has quit IRC00:58
*** ytwu1 has joined #openstack-dns00:58
*** puck` has joined #openstack-dns00:58
*** mugsie_ has joined #openstack-dns00:58
*** CaptTofu has quit IRC00:58
*** vinod has quit IRC00:58
*** openstack has joined #openstack-dns01:04
*** ChanServ sets mode: +v openstack01:04
*** rmoe has joined #openstack-dns01:07
*** zigo has quit IRC01:27
*** zigo has joined #openstack-dns01:33
*** nosnos has joined #openstack-dns01:39
*** matsuhashi has quit IRC01:58
*** HenryG has joined #openstack-dns02:12
*** matsuhashi has joined #openstack-dns02:17
*** zigo has quit IRC02:19
*** zigo has joined #openstack-dns02:23
*** vinod has joined #openstack-dns02:30
*** ctracey has quit IRC02:51
*** ctracey has joined #openstack-dns02:51
*** CaptTofu has joined #openstack-dns02:52
*** eankutse has joined #openstack-dns02:54
*** CaptTofu has quit IRC02:57
*** eankutse has quit IRC03:03
*** CaptTofu has joined #openstack-dns03:23
*** matsuhashi has quit IRC03:23
*** vinod has quit IRC03:36
*** CaptTofu has quit IRC04:24
*** matsuhashi has joined #openstack-dns04:25
*** timfreund has quit IRC04:52
*** eankutse has joined #openstack-dns05:06
*** timfreund has joined #openstack-dns05:21
*** pravka has joined #openstack-dns05:26
*** eankutse has quit IRC05:28
*** eankutse has joined #openstack-dns05:28
*** eankutse has quit IRC05:34
*** CaptTofu has joined #openstack-dns06:00
*** pravka has quit IRC06:07
*** zoresvit1 has joined #openstack-dns06:17
*** CaptTofu has quit IRC07:35
*** zoresvit1 has quit IRC07:53
*** matsuhashi has quit IRC08:21
*** ekarlso has quit IRC08:47
*** ekarlso has joined #openstack-dns08:47
*** puck` is now known as puck09:19
*** CaptTofu has joined #openstack-dns09:32
*** CaptTofu has quit IRC09:37
*** vinod has joined #openstack-dns10:20
*** mugsie_ has quit IRC10:36
*** JensOfSweden has joined #openstack-dns10:53
*** mugsie has joined #openstack-dns11:07
*** vinod has quit IRC11:15
*** CaptTofu has joined #openstack-dns11:24
*** ChanServ changes topic to "test/gate jobs are queuing now in preparation for gerrit maintenance at 12:00 utc (eta to resume is 12:30 utc)"11:27
*** CaptTofu has quit IRC11:28
*** CaptTofu has joined #openstack-dns11:38
*** mwagner_lap has quit IRC11:59
openstackstatusNOTICE: gerrit on review.openstack.org is down for maintenance (eta to resume is 12:30 utc)12:06
openstackstatusNOTICE: gerrit on review.openstack.org is down for maintenance (revised eta to resume is 13:00 utc)12:24
*** ChanServ changes topic to "gerrit on review.openstack.org is down for maintenance (revised eta to resume is 13:00 utc)"12:24
*** artom has joined #openstack-dns12:45
*** ChanServ changes topic to "Openstack DNS / Designate - https://wiki.openstack.org/wiki/Designate/Blueprints/Meetings/12-2013 | Weekly meet on Wednesdays @ 1700 UTC https://launchpad.net/designate - https://github.com/stackforge/designate - https://designate.readthedocs.org/ - This room is logged (http://eavesdrop.openstack.org/irclogs/)"12:45
openstackgerritA change was merged to stackforge/designate: Support more record types  https://review.openstack.org/7958812:47
*** CaptTofu has quit IRC12:47
*** CaptTofu has joined #openstack-dns12:47
*** CaptTofu has quit IRC12:52
*** openstackgerrit has quit IRC12:54
*** openstackgerrit has joined #openstack-dns12:54
*** ChanServ sets mode: +v openstackgerrit12:54
*** openstackgerrit has quit IRC13:08
*** openstackgerrit has joined #openstack-dns13:08
*** ChanServ sets mode: +v openstackgerrit13:08
*** eankutse has joined #openstack-dns13:32
*** eankutse has quit IRC13:33
*** eankutse has joined #openstack-dns13:33
*** CaptTofu has joined #openstack-dns13:34
*** nosnos has quit IRC13:43
openstackgerritA change was merged to stackforge/designate: create_server fails if server is not unique  https://review.openstack.org/7945513:46
*** matsuhashi has joined #openstack-dns13:50
*** matsuhashi has quit IRC13:56
*** fungi has joined #openstack-dns13:59
*** fungi has left #openstack-dns13:59
*** matsuhashi has joined #openstack-dns14:00
*** mwagner_lap has joined #openstack-dns14:01
*** openstack has joined #openstack-dns14:04
*** ChanServ sets mode: +v openstack14:04
*** ttrumm has joined #openstack-dns14:12
*** jmcbride has joined #openstack-dns14:21
*** matsuhashi has quit IRC14:23
*** matsuhashi has joined #openstack-dns14:30
*** jmcbride has quit IRC14:32
*** tsimmons has joined #openstack-dns14:32
*** msisk has joined #openstack-dns14:33
*** jmcbride has joined #openstack-dns14:39
*** jmcbride has joined #openstack-dns14:39
*** richm has joined #openstack-dns15:08
richmquestion about backends - is create_tsigkey/update_tsigkey supposed to do anything other than create/update a TSIG RR?15:09
*** jmcbride has quit IRC15:15
*** jmcbride has joined #openstack-dns15:18
*** matsuhashi has quit IRC15:18
*** jmcbride has quit IRC15:30
*** jmcbride has joined #openstack-dns15:35
*** eankutse has quit IRC15:37
*** vinod has joined #openstack-dns15:55
tsimmonsIs it cool if I blow away last meetings agenda and start a new one for today?15:56
richmdoes the wiki keep track of page history?15:59
*** jmcbride has quit IRC15:59
*** CaptTofu has quit IRC16:00
*** CaptTofu has joined #openstack-dns16:01
mugsierichm: yup16:02
mugsietsimmons: go for it16:02
tsimmonsmugsie: cool16:03
*** rmoe has quit IRC16:04
*** CaptTofu has quit IRC16:05
*** betsy has joined #openstack-dns16:06
*** pravka has joined #openstack-dns16:09
*** ttrumm has quit IRC16:10
*** vinod has quit IRC16:20
*** rossk has joined #openstack-dns16:26
*** vinod has joined #openstack-dns16:27
*** rmoe has joined #openstack-dns16:29
*** CaptTofu has joined #openstack-dns16:30
*** eankutse has joined #openstack-dns16:41
*** eankutse has quit IRC16:42
*** eankutse has joined #openstack-dns16:42
*** rjrjr__ has joined #openstack-dns16:57
*** sballe has joined #openstack-dns17:03
*** msisk has quit IRC17:05
*** sballe has quit IRC17:10
*** artom has quit IRC17:13
*** jmcbride has joined #openstack-dns17:16
*** artom has joined #openstack-dns17:24
*** msisk has joined #openstack-dns17:24
*** pravka has quit IRC17:30
*** openstackstatus has quit IRC17:38
*** openstackstatus has joined #openstack-dns17:38
*** rmoe_ has joined #openstack-dns17:50
*** rmoe has quit IRC17:51
*** crc32 has joined #openstack-dns18:04
vinodkiall: Let me know when you have some time to talk about bug 129151818:06
vinodFor v2, at least, I think the issue is in the load function where we allow id in the list of fields18:06
kiallvinod: graham is verifying it right now, seems to exist in pre-v2 too18:06
vinodYes it is present in v1 too as I mentioned in the bug18:07
kiallI mean, it was present in v1 since before any of the v2 stuff was merged18:08
vinodok18:08
kiallvinod: for V2, I think you're correct. Removing those items from load looks like it will do what we need18:09
kiallI'm just looking into how that will affect V2 updates18:10
kiallWe currently:18:11
kiall1) Fetch the existing zone18:11
kiall2) Convert it to the V2 structure18:11
kiall3) Merge the supplied body and converted structure18:11
kiall4) Convert back to Central's format (i.e. V1)18:12
kiall5) Issue the update18:12
kiall#4 is where load get's called18:13
kiallI believe all that will continue to work when load discards the fields we don't want people editing18:13
vinodso we need not specify id at step 4?18:14
kiallNo, I think if 4 discards the id/created/updated fields.. We're still good. Those aren't necessary as part of the update call to central18:15
kiallin V1, We'll need to add something similar - since it doesn't discard anything today.18:16
kiallI'm going to tackle V1 in the next hour or so, if you want to fixup V2? We need to push a fix for this pretty quick ;)18:17
kiall(even if it doesn't look like it can be abused, now that it's known, people better at breaking things than I will aim at us)18:18
vinodsure i will fix v218:19
vinodi am also planning to raise a BadRequest if you specify fields like id, created_at etc fields in the POST body18:20
kiallActually - Thinking about how to fix this in v1.. lol. snap18:21
kiallWe've always had these kinda things in the schemas - But they've always just been informative hints rather than anything enforced:18:22
kiallhttps://github.com/stackforge/designate/blob/master/designate/resources/schemas/v2/recordset.json18:22
kiallL23 and L2918:22
kiallI'm wondering if we can/should find a way to use that data to handle the enforcement18:22
vinodyou mean if the json field is readOnly then do not allow create/modify in v1 api18:23
kiallYea, so.. If it's readOnly and present in a create - 400. If it's readOnly or immutable and present in an update, 400 if the supplied value differs from it's current value18:25
kiall(That conversation we had amount model objects to represent domains etc would be the ideal place for this kinda logic ;))18:25
vinodyeah - agreed what you suggest currently looks like the cleanest way to validate the fields18:27
*** msisk has quit IRC18:29
kiallhttps://github.com/stackforge/designate/blob/master/designate/schema/__init__.py#L5918:29
kiallThat could be extended to take an existing object, for the immutable / readOnly on update change thing18:30
kiallAnd if no existing object is supplied, then the presence of a readOnly field would be a failure18:30
kiallAnd - They possibly could be implement as (kinda) part of the jsonschema lib itself.. e.g. heres what happens with "minimum": 100 in a schema;18:32
kiallhttps://github.com/Julian/jsonschema/blob/v2.3.0/jsonschema/_validators.py#L9318:32
*** jmcbride1 has joined #openstack-dns18:32
*** eankutse has quit IRC18:32
kiallwe already implement some custom (well - backported) ones in Designate: https://github.com/stackforge/designate/blob/master/designate/schema/_validators.py18:32
kiallThe trick would be figuring out how to pass some context (to existing object) in there18:34
*** jmcbride has quit IRC18:34
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Remove JSONSchema 1.3 compatibility code  https://review.openstack.org/8004818:42
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Remove JSONSchema 1.3 compatibility code  https://review.openstack.org/8004818:42
*** eankutse has joined #openstack-dns18:44
kiallOkay - Scratch that, we can't pass the necessary context through jsonschema.18:58
kiallI might see if I can set ekarlso on working with upstream jsonshema to get that added in a future version...18:58
*** jorgem has joined #openstack-dns19:21
*** artom has joined #openstack-dns19:23
*** jmcbride1 has quit IRC19:43
*** tsimmons has left #openstack-dns19:43
*** vinod has quit IRC20:00
*** vinod has joined #openstack-dns20:20
*** bauruine has quit IRC20:23
*** bauruine has joined #openstack-dns20:23
*** nkinder_ has quit IRC20:41
openstackgerritVinod Mangalpally proposed a change to stackforge/designate: Ensure that request body contains valid fields  https://review.openstack.org/8007620:44
vinodI separated out v1 and v2 issues to separate bugs to handle them differently.  This is for v220:44
openstackgerritVinod Mangalpally proposed a change to stackforge/designate: Ensure that request body in v2 contains valid fields  https://review.openstack.org/8007620:45
*** jmcbride has joined #openstack-dns20:54
*** nkinder has joined #openstack-dns21:01
*** vinod has quit IRC21:06
*** jmcbride has quit IRC21:16
*** eankutse has quit IRC21:17
*** jmcbride has joined #openstack-dns21:18
*** vinod has joined #openstack-dns21:24
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Remove JSONSchema 1.3 compatibility code  https://review.openstack.org/8004821:30
*** eankutse has joined #openstack-dns21:36
*** eankutse has quit IRC21:36
*** eankutse has joined #openstack-dns21:37
*** CaptTofu has quit IRC21:44
*** pravka has joined #openstack-dns21:45
vinodkiall: Is code change https://review.openstack.org/#/c/80048/ still helpful?21:45
*** jmcbride has quit IRC21:50
*** mwagner_lap has quit IRC22:04
*** timfreund has quit IRC22:08
openstackgerritVinod Mangalpally proposed a change to stackforge/designate: Ensure that request body in v2 contains valid fields  https://review.openstack.org/8007622:12
ekarlsokiall: what's up ?22:14
*** artom has quit IRC22:19
*** eankutse has quit IRC22:23
*** vinod has quit IRC22:23
*** eankutse has joined #openstack-dns22:31
*** crc32 has quit IRC22:36
*** nkinder has quit IRC22:40
*** timfreund has joined #openstack-dns22:42
*** nkinder has joined #openstack-dns22:47
*** crc32 has joined #openstack-dns22:50
*** jorgem has quit IRC23:13
*** nkinder has quit IRC23:13
*** nkinder has joined #openstack-dns23:28
*** betsy has quit IRC23:35
*** CaptTofu has joined #openstack-dns23:46
*** eankutse has quit IRC23:46
*** CaptTofu has quit IRC23:50

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