Monday, 2017-02-20

*** IRCFrEAK has joined #craton01:31
*** IRCFrEAK has left #craton01:31
*** VW has joined #craton01:48
*** madgoat has joined #craton04:38
*** madgoat has left #craton04:38
*** VW_ has joined #craton04:49
*** VW_ has quit IRC04:49
*** VW has quit IRC04:49
*** VW has joined #craton04:50
*** VW has quit IRC04:54
*** VW has joined #craton05:03
*** VW has quit IRC05:04
*** VW has joined #craton05:04
*** VW has quit IRC07:43
thomasemjimbaker: Are you mentioning that as additional validation to add to that schema definition? :)13:46
*** VW has joined #craton14:13
*** VW has quit IRC14:35
jimbakerthomasem, i don't think the schema definition can do this - it can only say i take a string or int or object of ...14:53
jimbakerright now, such calls fail when we attempt to construct a UUID from the input14:53
thomasemYou said "such calls". Which calls are you referring to?14:53
jimbakerjust need to make sure we do this in a uniform fashion, that's all. much like we already do if we attempt to look up an object by a non-existent id and we get 40414:53
jimbakerthomasem, sure, nothing like a conversation spread out over a few days :)14:54
thomasemlol, yes14:54
thomasemI'm pretty sure I could add a regex filter to that definition?14:54
jimbakerso context here: http://127.0.0.1:8080/v1/projects/i-am-not-an-actually-valid-uuid14:54
thomasemRight, that's supposed to have a validation error, or 404?14:54
jimbakerthomasem, yeah, but that is of diminishing return14:54
jimbakera 404 sounds reasonable to me14:55
thomasemMe too14:55
jimbakerjust not a 50014:55
thomasem404 sounds most reasonable, even.14:55
thomasemBut, instead, it's giving a validation error14:55
thomasemThe patch you linked had to do with uuid's in URL params.14:56
thomasemnot part of the path14:56
thomasemSo, 404 wouldn't make sense there.14:56
thomasemMaybe empty list, then?14:57
thomasemSince it'd essentially return nothing from the DB. Or a validation error, so the user doesn't keep trying to do the wrong thing?14:57
thomasemOr at least we try to inform them. :P14:57
jimbakerthomasem, yeah, something like that14:57
jimbakerto be honest, i'm suffering a bit from ENOCONTEXT14:58
thomasemBasically, I was getting errors when trying to use the generated links for /projects14:58
jimbakerbut when i was looking at that patch, i found myself playing with various futzing on the project uuid to see what would happen14:58
thomasemBecause those links included params that weren't being handled as expected.14:59
thomasemOr params that weren't supposed to be there14:59
jimbakeryeah, something like that14:59
jimbakerbtw, meeting now15:00
thomasemyeah15:00
*** VW has joined #craton15:10
*** david-lyle has joined #craton15:53
*** david-lyle has quit IRC16:18
*** VW has quit IRC16:30
*** VW has joined #craton16:31
*** acabot has quit IRC16:57
*** VW has quit IRC17:03
*** VW has joined #craton17:03
*** VW has quit IRC17:11
*** VW has joined #craton17:15
* thomasem needs food17:16
*** VW has quit IRC17:21
*** tojuvone has quit IRC17:32
*** VW has joined #craton17:36
openstackgerritgit-harry proposed openstack/craton master: Add devices endpoint  https://review.openstack.org/43500517:37
openstackgerritJim Baker proposed openstack/python-cratonclient master: WIP: CLI and client support for get/set/delete of resource vars  https://review.openstack.org/42703217:49
openstackgerritJim Baker proposed openstack/python-cratonclient master: WIP: CLI and client support for get/set/delete of resource vars  https://review.openstack.org/42703217:53
*** david-lyle has joined #craton18:47
*** david-lyle has quit IRC19:15
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170519:26
*** david-lyle has joined #craton19:27
*** david-lyle has quit IRC19:50
*** david-lyle_ has joined #craton19:50
*** david-lyle_ has quit IRC19:59
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170520:15
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170520:34
thomasem:\ going to be a big patch20:35
thomasemAlready at almost 900 lines to wire up Clouds20:36
thomasemStill needs API controllers and functional tests, afaict.20:36
thomasemAnd any changes to controllers for other resources that are now dependent on a cloud_id20:36
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170520:39
*** david-lyle has joined #craton20:43
*** david-lyle has quit IRC20:50
*** david-lyle has joined #craton21:04
jimbakerthomasem, sure, but it's a straightforward patch, since it follows region so closely. i assume this expectation holds, right? i just quickly scanned through the WIP and it seems to be true21:19
thomasemjimbaker: yep21:19
jimbakerunlike say the project vars work, which intersected with mini-RBAC21:19
thomasem+121:20
*** david-lyle has quit IRC21:55
thomasemSo, how about that tornado that came right through central Texas?21:59
thomasemor was it tornados?21:59
thomasemPretty sure the surrounding storms kept me up a lot of the night with what felt like a pressure washer on my window.21:59
jimbakerthomasem, crazy weather impacting you in san antonio22:34
thomasemI'm in Austin, but, yerp.22:34
thomasemApparently knocked out power for a bunch of folks close by.22:35
thomasemMakes me think I probably should have checked the weather more carefully before going to bed, lol.22:38
*** VW has quit IRC22:55
*** VW has joined #craton22:57
*** VW has quit IRC22:59
*** VW has joined #craton22:59
thomasemAlright. I've had plenty of fun for the day. Have a wonderful evening/day folks!23:01
jimbakerthomasem, thanks. take care, and hopefully no adverse weather for you!23:15

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