*** ttsiouts has quit IRC | 00:12 | |
*** mriedem has quit IRC | 00:15 | |
*** artom has joined #openstack-placement | 00:30 | |
*** Sundar has quit IRC | 00:45 | |
*** cdent has quit IRC | 01:06 | |
*** sean-k-mooney has quit IRC | 01:42 | |
*** ttsiouts has joined #openstack-placement | 02:09 | |
*** ttsiouts has quit IRC | 02:42 | |
*** e0ne has joined #openstack-placement | 03:47 | |
*** ttsiouts has joined #openstack-placement | 04:39 | |
*** e0ne has quit IRC | 04:46 | |
*** ttsiouts has quit IRC | 05:12 | |
*** belmoreira has joined #openstack-placement | 06:06 | |
*** ttsiouts has joined #openstack-placement | 07:09 | |
*** helenafm has joined #openstack-placement | 07:41 | |
*** ttsiouts has quit IRC | 07:42 | |
*** ttsiouts has joined #openstack-placement | 07:46 | |
*** belmoreira has quit IRC | 07:55 | |
*** belmoreira has joined #openstack-placement | 07:58 | |
*** e0ne has joined #openstack-placement | 08:14 | |
*** e0ne has quit IRC | 08:17 | |
*** ttsiouts has quit IRC | 09:15 | |
*** tssurya has joined #openstack-placement | 09:18 | |
*** belmoreira has quit IRC | 09:33 | |
*** e0ne has joined #openstack-placement | 09:38 | |
*** e0ne has quit IRC | 09:40 | |
*** belmoreira has joined #openstack-placement | 09:48 | |
*** e0ne has joined #openstack-placement | 09:56 | |
*** tssurya has quit IRC | 09:57 | |
*** e0ne has quit IRC | 09:59 | |
*** helenafm has quit IRC | 10:10 | |
*** mugsie has quit IRC | 10:25 | |
*** ttsiouts has joined #openstack-placement | 10:31 | |
*** mugsie has joined #openstack-placement | 10:35 | |
*** mugsie has quit IRC | 10:35 | |
*** mugsie has joined #openstack-placement | 10:36 | |
*** ttsiouts has quit IRC | 10:36 | |
*** mugsie has quit IRC | 10:38 | |
*** mugsie has joined #openstack-placement | 10:39 | |
*** tssurya has joined #openstack-placement | 10:42 | |
*** belmoreira has quit IRC | 10:55 | |
*** belmoreira has joined #openstack-placement | 10:56 | |
*** belmoreira has quit IRC | 11:15 | |
*** helenafm has joined #openstack-placement | 11:38 | |
*** belmoreira has joined #openstack-placement | 11:48 | |
*** belmoreira has quit IRC | 12:03 | |
*** belmoreira has joined #openstack-placement | 12:49 | |
*** mriedem has joined #openstack-placement | 12:51 | |
*** artom has quit IRC | 13:04 | |
*** ttsiouts has joined #openstack-placement | 13:24 | |
*** altlogbot_0 has quit IRC | 13:43 | |
*** altlogbot_2 has joined #openstack-placement | 13:45 | |
*** ttsiouts has quit IRC | 14:08 | |
*** ttsiouts has joined #openstack-placement | 14:23 | |
*** ttsiouts has quit IRC | 14:28 | |
*** ttsiouts has joined #openstack-placement | 14:59 | |
*** ttsiouts has quit IRC | 15:04 | |
*** helenafm has quit IRC | 15:43 | |
*** belmoreira has quit IRC | 15:49 | |
*** cdent has joined #openstack-placement | 15:52 | |
* cdent waves from the enterprise | 15:53 | |
efried | o/ cdent | 15:56 |
---|---|---|
* edleafe sends cdent an enterprise-to-enterprise wave | 16:03 | |
cdent | we need to spend 5 years writing a standard that no one will follow before we can send that wave | 16:04 |
aspiers | X-D | 16:07 |
*** ttsiouts has joined #openstack-placement | 16:09 | |
*** stephenfin has quit IRC | 16:30 | |
*** tssurya has quit IRC | 16:38 | |
cdent | efried, edleafe, mriedem: the numbers on https://review.opendev.org/#/c/657423/ at http://logs.openstack.org/23/657423/9/check/placement-perfload/422d143/logs/placement-perf.txt are about what's expected. any thoughts? | 16:42 |
*** irclogbot_2 has quit IRC | 16:46 | |
*** irclogbot_3 has joined #openstack-placement | 16:47 | |
mriedem | umm, is it, idk | 16:52 |
mriedem | ~33 seconds for GET /a_c with 10K providers and no limit | 16:53 |
mriedem | if i'm reading that correctly, right? | 16:53 |
mriedem | GET /allocation_candidates?resources=VCPU:1,DISK_GB:10,MEMORY_MB:256&member_of=14a5c8a3-5a99-4e8f-88be-00d85fcb1c17&required=HW_CPU_X86_AVX2 | 16:53 |
mriedem | are all providers in that same aggregate and have that trait? | 16:53 |
*** cdent_ has joined #openstack-placement | 16:56 | |
cdent_ | sorry mriedem I'm on a corp network so it likes to fail | 16:56 |
cdent_ | by expected I mean that it seems to have scaled something other than exponentially | 16:57 |
mriedem | i guess the interesting thing to me would be if there is a linear graph of the time it takes to do the GET /a_c queries as the number of providers increases | 16:57 |
*** cdent has quit IRC | 16:57 | |
*** cdent_ is now known as cdent | 16:57 | |
mriedem | ok yeah if it's not exponential then great | 16:57 |
cdent | it's somewhere between linear and geometric | 16:58 |
edleafe | cdent: that's 32sec for 2 runs, right? | 16:58 |
cdent | each run was 32 seconds, separately | 16:59 |
cdent | mriedem: this would save some time: https://review.opendev.org/#/c/657716/ | 16:59 |
cdent | but tetsuro accurately pointed out that we're stuck with the protections for a while | 16:59 |
edleafe | cdent: ack | 16:59 |
cdent | In the absolute, 32 seconds is too slow | 17:00 |
cdent | the profiling i've done is very noisy so will need closer analysis than I've been able to do this week | 17:00 |
*** stephenfin has joined #openstack-placement | 17:01 | |
mriedem | on https://review.opendev.org/#/c/657716/ i'd think we could do a blocker migration of sorts in train placement such that you can't upgrade until you've done that online data migration in stein | 17:03 |
mriedem | seems like a simple "SELECT COUNT(id) FROM resource_providers WHERE root_provider_id IS NULL;" would do the trick yeah? | 17:04 |
mriedem | if that's more than 0 you didn't do your homework | 17:05 |
mriedem | we already have a placement-status upgrade check for it, we could change that to an error and drop the code in train | 17:06 |
mriedem | drop the compat code i mean | 17:07 |
cdent | on [t fYB9] | 17:07 |
purplerbot | <mriedem> are all providers in that same aggregate and have that trait? [2019-05-09 16:53:47.351364] [n fYB9] | 17:07 |
cdent | there are three aggregates each rp is in one, two or three aggs, but every one is in the one queries by member_of | 17:08 |
cdent | same situation for traits | 17:08 |
cdent | mriedem: can you leave a version of that "drop the compat code" comment on the review, responding to tetsuro please and thank you | 17:09 |
efried | cdent: gabbi response_json_paths boggle: I want to do GET /a_c calls knowing I'm going to get a bunch of results, but not knowing what order. Is there any way to describe that I expect a certain set of results in any order? | 17:22 |
cdent | if they are dicts/objects without lists it ought to do dict style comparisons | 17:23 |
cdent | if there are lists involved you can sort | 17:24 |
efried | cdent: It's list, but sorting would be a bear even in a language I was familiar with. | 17:25 |
cdent | efried: If you've got a concrete example, I'll likely be able to provide a more concrete response | 17:25 |
cdent | but generally: doing spot checks of pieces of the response, rather than the entire response is often easier | 17:26 |
efried | I'm writing tests for can_split, so I want to be able to show that I get results like | 17:26 |
efried | numa0: 0; numa1: 5 | 17:26 |
efried | numa0: 1; numa1: 4 | 17:26 |
efried | numa0: 2; numa1: 3 | 17:26 |
efried | ... | 17:26 |
efried | And yeah, I can write spot checks, like to make sure that sorted(...numa0) = [0, 1, 2, 3, 4, 5] and sorted(...numa1) = $same | 17:27 |
efried | but that doesn't really prove that the total is 5 for each entry in the list, ya know? | 17:27 |
cdent | a) again seeing a thing you've tried (in gabbi) that has failed to work will make it easier to talk about this, b) sometimes (rarely ;) gabbi is not going to be the right tool for the job. It sounds like you're trying to write a functional test for db calls, not test api resonses | 17:29 |
efried | well, I'm not going to be able to write a test that fails for reasons other than "we haven't implemented can_split yet", but I can throw you what I'm thinking... | 17:30 |
cdent | If I didn't have enterprisey brain dissolution | 17:30 |
cdent | and I've got a meeting now, back in about 30 min | 17:30 |
*** artom has joined #openstack-placement | 17:41 | |
*** mriedem has left #openstack-placement | 17:49 | |
*** mriedem has joined #openstack-placement | 17:49 | |
openstackgerrit | Matt Riedemann proposed openstack/placement master: Change "Missing Root Provider IDs" upgrade check to a failure https://review.opendev.org/658164 | 17:55 |
mriedem | so, it's not obvious to me how to best get a connection to the db from an alembic migration script to run queries, or if that's even something one should do | 18:09 |
mriedem | looks like the alembic operations stuff is all about writing, but i just want to query | 18:10 |
mriedem | maybe that's just the alembic.context? | 18:11 |
cdent | mriedem: doing a bit of a scan around: conn = op.get_bind() | 18:20 |
cdent | res = conn.execute("select secret, key, id from client") | 18:20 |
cdent | from https://stackoverflow.com/questions/18726527/fetch-table-values-using-alembic-and-update-to-another-table | 18:21 |
mriedem | yeah i got to the context.get_bind() but don't want to run straight sql | 18:21 |
mriedem | maybe a blocker migration is overboard - the online data migration is there, and the upgrade cehck | 18:23 |
mriedem | *check | 18:23 |
cdent | I _think_ once you've got a 'conn' you can do whatever you like with it | 18:24 |
*** ttsiouts has quit IRC | 18:25 | |
mriedem | yeah i think i see something in the sql docs | 18:25 |
*** jaypipes has quit IRC | 18:37 | |
mriedem | ok got it | 18:39 |
*** ttsiouts has joined #openstack-placement | 18:40 | |
mriedem | now how to write a test | 18:40 |
*** ttsiouts has quit IRC | 18:45 | |
openstackgerrit | Matt Riedemann proposed openstack/placement master: WIP: Add blocker alembic migration for null root_provider_ids https://review.opendev.org/658182 | 18:49 |
openstackgerrit | Matt Riedemann proposed openstack/placement master: WIP: Remove null root provider protections https://review.opendev.org/657716 | 18:54 |
cdent | thanks for stacking that mriedem. | 19:02 |
mriedem | yw | 19:03 |
cdent | If I were conscious, I'd better understand why it's okay, and tetsuro's concerns are moot. I'm going to take everyone's word for it and look more closely later | 19:04 |
cdent | for now, lunch | 19:04 |
*** ttsiouts has joined #openstack-placement | 19:11 | |
openstackgerrit | Eric Fried proposed openstack/placement master: Add NUMANetworkFixture for gabbits https://review.opendev.org/657463 | 19:18 |
openstackgerrit | Eric Fried proposed openstack/placement master: Gabbi test cases for can_split https://review.opendev.org/658192 | 19:18 |
efried | cdent: ^ | 19:18 |
*** e0ne has joined #openstack-placement | 20:09 | |
*** e0ne has quit IRC | 20:10 | |
*** ttsiouts has quit IRC | 20:14 | |
cdent | thanks efried, looking at that and trying to tease out some ideas | 20:22 |
*** ttsiouts has joined #openstack-placement | 20:29 | |
*** tssurya has joined #openstack-placement | 20:31 | |
*** ttsiouts has quit IRC | 20:32 | |
*** ttsiouts has joined #openstack-placement | 20:33 | |
*** ttsiouts has quit IRC | 20:47 | |
*** takashin has joined #openstack-placement | 20:52 | |
*** cdent has quit IRC | 21:11 | |
*** cdent has joined #openstack-placement | 21:26 | |
*** ttsiouts has joined #openstack-placement | 21:29 | |
*** ttsiouts has quit IRC | 21:34 | |
openstackgerrit | Chris Dent proposed openstack/placement master: Remove null root provider protections https://review.opendev.org/657716 | 21:45 |
openstackgerrit | Chris Dent proposed openstack/placement master: Remove null root provider protections https://review.opendev.org/657716 | 21:53 |
openstackgerrit | Chris Dent proposed openstack/placement master: DNM: See what happens with 10000 resource providers https://review.opendev.org/657423 | 21:53 |
openstackgerrit | Chris Dent proposed openstack/placement master: WIP: Optionally run a wsgi profiler when asked https://review.opendev.org/643269 | 21:53 |
openstackgerrit | Chris Dent proposed openstack/placement master: Remove null root provider protections https://review.opendev.org/657716 | 21:54 |
openstackgerrit | Chris Dent proposed openstack/placement master: DNM: See what happens with 10000 resource providers https://review.opendev.org/657423 | 21:54 |
openstackgerrit | Chris Dent proposed openstack/placement master: WIP: Optionally run a wsgi profiler when asked https://review.opendev.org/643269 | 21:54 |
cdent | I am unsafe at any speed. Probably best take away my keys to gerrit. | 21:55 |
*** ttsiouts has joined #openstack-placement | 22:46 | |
*** ttsiouts has quit IRC | 22:51 | |
*** ttsiouts has joined #openstack-placement | 23:17 | |
*** ttsiouts has quit IRC | 23:21 | |
mriedem | jesus think of the children | 23:51 |
* cdent starts works on a nested perfload | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!