Friday, 2018-12-07

*** mriedem has quit IRC00:45
openstackgerritmelanie witt proposed openstack/nova-specs master: Propose counting quota usage from placement and API database  https://review.openstack.org/50904202:26
*** takashin has left #openstack-placement02:31
*** diga has joined #openstack-placement05:04
*** takashin has joined #openstack-placement05:25
*** diga has quit IRC06:04
*** takashin has left #openstack-placement06:30
*** yikun_ has joined #openstack-placement06:32
openstackgerritMerged openstack/placement master: Don't create placement.conf in perfload.yaml  https://review.openstack.org/62238906:37
*** lei-zh has joined #openstack-placement06:38
*** tetsuro has joined #openstack-placement06:55
*** tetsuro_ has joined #openstack-placement06:58
*** tetsuro has quit IRC07:01
*** tetsuro_ has quit IRC07:18
*** belmoreira has quit IRC07:21
*** tetsuro has joined #openstack-placement07:22
*** belmoreira has joined #openstack-placement07:24
*** tetsuro_ has joined #openstack-placement07:28
*** tetsuro has quit IRC07:29
*** tetsuro_ has quit IRC07:37
*** tetsuro has joined #openstack-placement07:40
*** dims has quit IRC07:44
*** dims has joined #openstack-placement07:47
*** mcgiggler has joined #openstack-placement08:35
*** tetsuro_ has joined #openstack-placement08:36
*** tetsuro has quit IRC08:38
*** tetsuro_ has quit IRC08:55
*** tetsuro has joined #openstack-placement08:58
*** tssurya has joined #openstack-placement09:10
*** tetsuro_ has joined #openstack-placement09:14
*** tetsuro has quit IRC09:18
*** tetsuro_ has quit IRC09:29
*** tetsuro has joined #openstack-placement09:30
*** alex_xu has quit IRC09:30
*** lei-zh has quit IRC09:33
*** alex_xu has joined #openstack-placement09:34
*** tetsuro has quit IRC09:42
*** cdent has joined #openstack-placement09:42
*** tetsuro has joined #openstack-placement09:43
*** tetsuro_ has joined #openstack-placement09:54
*** tetsuro has quit IRC09:55
*** e0ne has joined #openstack-placement09:59
*** tetsuro has joined #openstack-placement10:03
*** tetsuro_ has quit IRC10:04
*** ttsiouts has joined #openstack-placement10:16
*** alex_xu has quit IRC10:16
*** tetsuro_ has joined #openstack-placement10:24
*** tetsuro has quit IRC10:27
*** ttsiouts has quit IRC10:31
*** ttsiouts has joined #openstack-placement10:31
*** cdent has quit IRC11:01
*** tetsuro_ has quit IRC11:02
*** cdent has joined #openstack-placement11:28
*** dtantsur|afk is now known as dtantsur\11:54
*** dtantsur\ is now known as dtantsur11:54
*** mcgiggler has quit IRC12:27
*** e0ne has quit IRC12:27
*** e0ne has joined #openstack-placement13:13
*** cdent has quit IRC13:17
*** edleafe- has joined #openstack-placement13:42
*** edleafe has quit IRC13:43
*** edleafe- is now known as edleafe13:43
belmoreiraI'm writing a blog post about the increase of the number of placement requests that we hit when upgraded to Rocky. Let me know if it's faire for you or if you have any comment. It's not very technical. The audience are Ops. https://docs.google.com/document/d/1W1x1uDOr71fabArbKnlsqdyRJ05LvwjAcE0rZZ5NC4M/edit?usp=sharing13:54
*** tssurya has quit IRC13:59
edleafebelmoreira: I think that's a fair and accurate representation of what happened. Thanks for writing that up.14:00
*** ttsiouts has quit IRC14:01
*** ttsiouts has joined #openstack-placement14:01
*** ttsiouts has quit IRC14:06
*** ttsiouts has joined #openstack-placement14:12
*** cdent has joined #openstack-placement14:18
*** ttsiouts has quit IRC14:18
*** mriedem has joined #openstack-placement14:25
*** tssurya has joined #openstack-placement14:50
*** lei-zh has joined #openstack-placement15:10
*** ttsiouts has joined #openstack-placement15:12
*** N3l1x has joined #openstack-placement15:12
*** e0ne has quit IRC15:34
*** e0ne has joined #openstack-placement15:55
*** lei-zh has quit IRC16:03
*** ttsiouts has quit IRC16:06
*** ttsiouts has joined #openstack-placement16:13
*** ttsiouts has quit IRC16:18
*** e0ne has quit IRC16:23
jaypipesbelmoreira: for your info... I'm just finishing up a patch series that changes the performance of the scheduler for your use case (where CONF.filter_scheduler.track_instance_changes=False) from O(N) to O(1).16:29
jaypipesbelmoreira: I'm hoping you or tssurya can test it out in a cell maybe over the next couple weeks.16:29
* cdent swoons at o notation16:31
tssuryajaypipes: thanks! you mean track_instance_changes=True ?16:31
tssuryaor are you talking about all the host_state computation stuff for track_instance_changes=False ?16:32
jaypipestssurya: you guys have track_instance_changes set to False, right?16:35
tssuryajaypipes: yes and we don't wat to make it truw in fear or busting the MQ16:35
jaypipestssurya: and yes, I'm talking about the host state computation stuff :)16:35
tssuryawant*16:35
tssuryagreat!16:35
*** jaypipes is now known as leakypipes16:39
tssuryaleakypipes: we aim to work on the testing next week, meanwhile I had a doubt here: https://review.openstack.org/#/c/615677/14/nova/compute/resource_tracker.py@822 and probably because I am stupidly missing something,16:42
tssuryasince eric is out, whenever you have the time could you leave a comment ?16:42
leakypipestssurya: done16:47
leakypipestssurya: you're not missing anything at all. that's exactly the problem I brought up in an earlier rev.16:47
tssuryaleakypipes: thanks, :)16:47
cdentleakypipes: while your about, can you remind if/why if we're doing https://github.com/openstack/placement/blob/master/placement/resource_class_cache.py#L32 we need the context manager at line 25 above?16:50
leakypipescdent: well, without the context manager we'll end up with an uninit'd session and the query won't work. But, that said, I'm pretty sure that line could be simplified to just use ctx.session.execute() instead of doing the whole as conn: conn.execute() foo16:53
cdenti was wondering if the connection.using(ctx) implied init'ing the session16:54
cdentbecause of the traversal down the name16:55
cdenti guess I'll poke at it16:55
*** sean-k-mooney has quit IRC16:59
*** tssurya has quit IRC17:01
leakypipescdent: not sure... I think when I wrote that I didn't quite understand how to use ctx.session properly.17:01
cdentleakypipes: I'm gonna try to break it and see17:02
leakypipescdent: go for it :)17:03
*** sean-k-mooney has joined #openstack-placement17:05
*** mriedem is now known as mriedem_lunch17:19
melwittleakypipes: looking forward to seeing the perf improvement patches, well done17:19
*** dims has quit IRC17:21
*** dtantsur is now known as dtantsur|afk17:22
cdentleakypipes: so if I remove the decorator it all still works18:03
cdentso I reckon I'll change it to decorator + ctx.session.execute18:04
leakypipescdent: ++18:04
cdentwhich will give sean-k-mooney a sad: they'd like us to stop using the decorators entirely18:05
cdentbut while we have the idiom, may as well18:05
sean-k-mooneywell i dont mind the decorator it just cause issue if you replace or reconfigre the db18:06
sean-k-mooneyunless you were talking about the run_once decorator18:06
sean-k-mooneyi missed the start of the conversation18:06
cdentsean-k-mooney: we're talking about the context manager decorator. I think it's a problem source too18:07
leakypipescdent: why stop using the decorators? :(18:07
cdentglobals18:07
leakypipesah.18:07
cdentit's either globals, dns, or permissions, every single time18:08
sean-k-mooneyleakypipes: the decorator maintain a referce to the context manager from when the moduel is first imported18:08
sean-k-mooneyif you repace the global object the deocrator still points to the old value18:08
*** e0ne has joined #openstack-placement18:47
*** e0ne has quit IRC18:49
*** mriedem_lunch is now known as mriedem18:49
openstackgerritChris Dent proposed openstack/placement master: WIP: Use os-resource-classes in placement  https://review.openstack.org/62355618:49
*** dims has joined #openstack-placement18:50
openstackgerritChris Dent proposed openstack/placement master: WIP: Use os-resource-classes in placement  https://review.openstack.org/62355618:52
* cdent shuts down19:32
* cdent waves19:32
*** cdent has quit IRC19:32
*** sean-k-mooney has quit IRC20:20
*** mriedem has quit IRC20:25
*** sean-k-mooney has joined #openstack-placement20:28
*** mriedem has joined #openstack-placement20:28
*** N3l1x has quit IRC20:40
*** N3l1x has joined #openstack-placement20:58
*** mriedem is now known as mriedem_afk22:46
*** N3l1x has quit IRC23:06

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