Friday, 2017-02-17

*** jovon has quit IRC00:12
jimbakerfarid, that's a bug - the client has partial support for pagination, and is emitting GET /v1/cells?region_id=2&sort_dir=asc00:46
jimbakerbut sort_dir is not valid, because we need to get https://review.openstack.org/#/c/434506/ completed00:47
jimbakerand allow sort_dir to be used by the client00:47
jimbakerFWIW, the client should not use sort_dir unless necessary, just to keep the requests simpler00:47
jimbakerin this past, this would all work because the schema validation would have quietly ignored args, but we are trying to make things more robust, with tighter errors. and breaking a few things here & there that used to work. unfortunately00:49
jimbakerhopefully we will have sigmavirus' change in soon; as well as getting the gate unblocked, and this bug will go away. thanks for asking!00:50
*** Syed__ has quit IRC01:25
*** VW has quit IRC02:58
*** VW has joined #craton02:58
*** VW has quit IRC02:59
*** VW has joined #craton03:00
*** tojuvone has quit IRC03:21
*** tojuvone has joined #craton03:28
*** david-lyle has quit IRC03:49
*** david-lyle has joined #craton03:50
*** VW has quit IRC04:08
*** VW has joined #craton04:10
*** VW has quit IRC04:11
*** VW has joined #craton04:12
*** deepbook5broo has joined #craton04:13
*** deepbook5broo has left #craton04:13
*** mdorman has quit IRC04:32
*** VW has quit IRC05:17
*** VW has joined #craton06:25
*** VW has quit IRC06:47
*** VW has joined #craton07:40
*** VW has quit IRC10:21
openstackgerritgit-harry proposed openstack/craton master: Add devices endpoint  https://review.openstack.org/43500511:15
openstackgerritMerged openstack/craton master: Removes left-over debugging logs  https://review.openstack.org/43493611:27
sigmavirusDoes the gate seem not fixed for others?13:03
*** VW has joined #craton13:16
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503813:37
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503813:43
openstackgerritMerged openstack/craton master: RBAC-Lite for generic resources implementation  https://review.openstack.org/43497613:51
*** VW has quit IRC13:54
thomasemsigmavirus: gate seemed to work fine there ^^. I'm assuming we disabled functional?13:56
sigmavirusyeah, seemed like it wasn't an immediate fix yesterday is all13:57
thomasemgootcha14:00
thomasemsigmavirus: your patch for sort_keys/sort_dir only allows them to be set, but does not attempt to implement the use of them. Is that correct?14:06
thomasemhttps://review.openstack.org/#/c/434506/314:06
sigmavirusthomasem: the pagination work already uses them =)14:07
thomasemExcellent.14:07
sigmaviruslook at the _paginate function in craton/db/sqlalchemy/api.py14:07
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:07
thomasemRight. So, then, we probably need some functional tests in that patch to exercise that.14:08
sigmavirus^ This might get our functional tests working14:08
thomasemOoooooo14:08
sigmavirusthomasem: roger wilco14:08
thomasem:wookieedance:14:10
sigmavirusnah14:11
sigmavirusmy trickery didn't seem to work14:11
thomasemAww man14:11
sigmavirusd'oh14:12
sigmavirusthat's maybe because I stopped the daemon instead of restarting it14:12
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:12
* sigmavirus crosses fingers on ^ patchset14:12
* thomasem crosses fingers as well14:13
sigmavirusluckily at this time of the openstack dev cycle, the check queue is *very* short14:14
sigmavirusstill didn't work14:14
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:19
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:24
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:29
faridmorning, and thanks for the explanation jimbaker14:29
*** VW has joined #craton14:30
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:33
sigmavirusokay, so docker+systemd is a pain but this hack might work14:34
sigmavirusit's fragile, but at this point I want working functional tests14:34
openstackgerritIan Cordasco proposed openstack/craton master: Fix up functional testing  https://review.openstack.org/43503814:59
sigmavirusthomasem: I'm more optimistic about https://review.openstack.org/#/c/435038/2015:05
sigmaviruslol15:05
sigmaviruscraton as an interface to osquery =P15:10
sigmavirusjimbaker: ^15:13
thomasemLol, osquery crawler15:13
sigmavirusthomasem: distributed osquery =P15:13
thomasemyeah!15:13
sigmavirushttps://review.openstack.org/#/c/435038/ works!15:14
sigmavirusjimbaker: ^ that will allow us to enable our functional gate15:14
jimbakerawesome news! and now we have collected a lot of data as well15:14
jimbakerwe just need to put the data in our cmdb...15:15
*** Syed__ has joined #craton15:52
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170515:57
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170515:59
*** jovon has joined #craton16:10
*** VW_ has joined #craton16:12
*** VW has quit IRC16:12
openstackgerritIan Cordasco proposed openstack/craton master: Configure OpenStack CI to run functional tests  https://review.openstack.org/43503816:16
openstackgerritIan Cordasco proposed openstack/craton master: Configure OpenStack CI to run functional tests  https://review.openstack.org/43503816:17
thomasemI have to run to two back-to-back appointments. I'll bbiab!16:18
jimbakerthomasem, ttyl16:23
sigmavirusanyone care to review https://review.openstack.org/#/c/435038/2216:34
sigmavirus*?16:34
*** valw has joined #craton16:46
jimbakersigmavirus, sounds good17:02
jimbakeri was just waiting for the go on that17:02
sigmavirusjimbaker: well it's all ready17:03
sigmavirusI can self-approve if you're more comfortable with that17:03
jimbakeroh sure, let's always do it that way17:03
jimbaker;)17:03
jimbakerapproved, gate is hopefully clear17:04
sigmavirusheh17:06
sigmaviruslet's leave that job experimental for a bit longer17:06
sigmavirusjust to make sure we have a good track record with it17:06
sigmavirusTo run that job, just comment "check experimental" on a review17:06
openstackgerritMerged openstack/craton master: Configure OpenStack CI to run functional tests  https://review.openstack.org/43503817:07
sigmavirusjimbaker: do you have the link to the priorities etherpad?17:17
jimbakerhttps://etherpad.openstack.org/p/cmdb_prototype_meeting_2017_02_0917:17
sigmavirusthanks!17:17
*** VW_ has quit IRC17:44
*** VW has joined #craton17:48
openstackgerritIan Cordasco proposed openstack/craton master: Add sort_dir and sort_keys to endpoint schemata  https://review.openstack.org/43450617:56
jimbakersigmavirus, that recent patch in https://review.openstack.org/#/c/434506/18:11
jimbakerother than test failures of course18:11
sigmavirusjimbaker: you said nothing just now18:11
sigmavirusbut I just figured out the failures18:11
sigmavirusI wanted to make sure it wasn't just local18:11
jimbakerbut at least list(craton.hosts.list(region_id=1) works18:11
jimbakerand the rel links work18:12
jimbakerhopefully i stated something...18:12
jimbakeranyway, it looks like i might be trying to review the patch too soon. but figured i would offer the feedback18:12
openstackgerritIan Cordasco proposed openstack/craton master: Add sort_dir and sort_keys to endpoint schemata  https://review.openstack.org/43450618:13
sigmavirus^ should be ready for review, but I'm running the functional tests locally and we'll know in 4-8 minutes18:14
sigmavirus(also kicked them off on the patch)18:15
openstackgerritIan Cordasco proposed openstack/craton master: Add sort_dir and sort_keys to endpoint schemata  https://review.openstack.org/43450618:17
sigmavirusokay18:18
sigmavirusI typod the tests but those are fixed now18:18
sigmavirusI'm going to take a quick lunch18:18
jimbakersigmavirus, cool, thanks for that update18:19
*** valw has quit IRC18:24
openstackgerritMerged openstack/craton master: Add sort_dir and sort_keys to endpoint schemata  https://review.openstack.org/43450618:32
*** VW_ has joined #craton18:57
*** VW_ has quit IRC18:57
*** VW_ has joined #craton18:58
*** VW has quit IRC19:00
*** VW has joined #craton19:00
*** VW has quit IRC19:01
*** VW has joined #craton19:01
-openstackstatus- NOTICE: Restarting gerrit due to performance problems19:02
*** VW_ has quit IRC19:03
*** VW has quit IRC19:07
*** VW has joined #craton19:07
openstackgerritIan Cordasco proposed openstack/craton master: Fixes device search by label  https://review.openstack.org/43228319:08
openstackgerritIan Cordasco proposed openstack/craton master: Fixes device search by label  https://review.openstack.org/43228319:16
openstackgerritIan Cordasco proposed openstack/craton master: Fixes device search by label  https://review.openstack.org/43228319:25
openstackgerritThomas Maddox proposed openstack/craton master: WIP: Add Cloud resource  https://review.openstack.org/43170519:44
Syed__Hmm ... Facing weird git problem20:13
thomasemSyed__: hmm?20:13
Syed__https://www.irccloud.com/pastebin/0d0jznPG/20:14
Syed__so i wanted my change to be child change of yours, Add variable support one20:14
sigmavirusSyed__: that is odd20:21
Syed__so i did rebase since my change is now in a merge conflict20:21
sigmavirusis 65492c4 the latest version of thomasem's patch?20:21
Syed__what i did was pull my change20:21
Syed__then git rebase --pull20:21
Syed__made changes and added those20:21
Syed__then git rebase --continue20:21
Syed__and when i try to review, it gives me this20:21
sigmavirusSyed__: want to hop on vidyo together?20:22
Syed__sounds good to me20:22
Syed__the same craton room ?20:22
sigmavirusWFM20:23
Syed__okie, joining20:23
sigmavirusdid vidyo die for everyone else?20:26
* sigmavirus rejoins20:26
sigmavirusSyed__: you dropped from vidyo again20:34
Syed__sorry guys, might need to restart pc since it says already in an connection20:34
thomasemSyed__: ouch, no worries20:36
sigmavirusSyed__:20:37
Syed__An error occurred while trying to log in (2002).20:38
Syed__sigmavirus: https://review.openstack.org/#/c/427777/20:43
openstackgerritIan Cordasco proposed openstack/craton master: Fixes device search by label  https://review.openstack.org/43228320:46
*** VW has quit IRC21:01
openstackgerritThomas Maddox proposed openstack/craton master: Ignore None param values when generating links  https://review.openstack.org/43559521:01
*** VW has joined #craton21:05
*** VW has quit IRC21:06
thomasemAlso found this issue with the generated links for pagination after addressing ^^ https://bugs.launchpad.net/craton/+bug/166578021:06
openstackLaunchpad bug 1665780 in craton "error using generated pagination links for Projects collection" [Undecided,New]21:06
*** VW has joined #craton21:06
thomasemSyed__: did you get it figured out?21:08
openstackgerritThomas Maddox proposed openstack/craton master: Use String for Project ID in schema  https://review.openstack.org/43559921:23
openstackgerritSyed Ahsan Shamim Zaidi proposed openstack/craton master: Update requests for Users and Projects  https://review.openstack.org/42546321:23
Syed__git thomasem yeap, thanks21:23
thomasemExcellent!21:23
Syed__sorry for git*21:23
thomasemhahaha no problem21:23
openstackgerritSyed Ahsan Shamim Zaidi proposed openstack/craton master: Update requests for Users and Projects  https://review.openstack.org/42546321:25
thomasemjimbaker: you cool w/ me adding https://bugs.launchpad.net/craton/+bug/1665779 and https://bugs.launchpad.net/craton/+bug/1665780 to our 0.1.0 milestone and setting to 'High' priority?21:27
openstackLaunchpad bug 1665779 in craton "error using generated link for collection with parameter defaulted to None" [Undecided,In progress] - Assigned to Thomas Maddox (thomas-maddox)21:27
openstackLaunchpad bug 1665780 in craton "error using generated pagination links for Projects collection" [Undecided,In progress] - Assigned to Thomas Maddox (thomas-maddox)21:27
thomasemI threw up a quick fix for them, just need to test a bit more and write functional tests to be sure it actually fixes them.21:27
thomasemFound them in the course of doing cloud work, so figured I'd get them captured now.21:28
openstackgerritThomas Maddox proposed openstack/craton master: Use String for Project ID in schema  https://review.openstack.org/43559921:29
*** VW has quit IRC21:46
*** VW has joined #craton21:51
*** VW has quit IRC21:56
*** VW has joined #craton22:15
*** VW has quit IRC22:19
jimbakerthomasem, sounds good to me22:39
jimbakerfarid, btw, with the last fix in master (https://github.com/openstack/craton/commit/462c501b13e0510c69a742141f809a21a141685a), craton cell-list -r1 now works. next step: remove the requirement to specify -r (which is in my WIP work on client var support)22:41
farido/22:43
*** VW has joined #craton22:48
jimbakerhope to get some good progress in this weekend with respect to CLI stuff. lots of possible spit & polish. but will also ski :)22:51
*** VW has quit IRC22:53
faridyep don't want to miss the ski :) hehe22:55
faridhave fun!22:55
jimbakerfarid, thanks. yeah, should have fresh snow through this weekend in the mountains. although much more forecast for next weekend. meanwhile it will stay in the 60s and 70s and sunny in the denver/boulder area. just the way i like it22:58
*** VW has joined #craton22:59
faridvery cool22:59
jimbaker"pick your adventure"22:59
*** VW has quit IRC23:03
*** VW has joined #craton23:12
jimbakerthomasem, re https://review.openstack.org/#/c/435599/ - maybe you should look at the verification of the uuid for the project btw; example: http://127.0.0.1:8080/v1/projects/i-am-not-an-actually-valid-uuid23:14
jimbakerbut there is a whole bunch of possible fuzzing possible on project uuid fwiw - most examples i tried fail properly, but not uniformly23:15
jimbakerin terms of reported error messages23:15
jimbakeranyway, not necessarily in scope for this change. just thought i would mention it as part of spit & polish work. the important thing is they fail, the next step is to just make sure they fail with correct errors23:17
*** jovon has quit IRC23:32

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