Wednesday, 2019-08-07

*** tetsuro has joined #openstack-placement00:32
*** tetsuro has quit IRC00:57
*** tetsuro has joined #openstack-placement01:02
*** tetsuro has quit IRC01:28
*** ykarel|away has joined #openstack-placement02:44
*** ykarel|away has quit IRC02:56
*** tetsuro has joined #openstack-placement02:58
*** ykarel|away has joined #openstack-placement03:02
*** ykarel|away has quit IRC03:16
*** tetsuro has quit IRC03:29
*** ykarel|away has joined #openstack-placement03:35
*** ykarel|away has quit IRC03:42
*** ykarel|away has joined #openstack-placement03:50
*** tetsuro has joined #openstack-placement04:03
*** ykarel|away has quit IRC04:32
*** ykarel|away has joined #openstack-placement05:02
*** ykarel|away is now known as ykarel05:05
*** tetsuro has quit IRC05:30
*** takashin has quit IRC05:47
*** ykarel_ has joined #openstack-placement06:18
*** ykarel has quit IRC06:21
*** tetsuro has joined #openstack-placement06:24
*** ykarel_ is now known as ykarel|meeting07:00
*** tssurya has joined #openstack-placement07:08
*** takashin has joined #openstack-placement07:18
*** helenafm has joined #openstack-placement07:48
gibiThank you for submitting a speaking proposal for the Open Infrastructure Summit in Shanghai.07:49
gibibah, wrong windos07:50
gibibut, yeah, I got a reason to get approval to travell to Shanghai07:51
*** ykarel has joined #openstack-placement08:02
*** ykarel|meeting has quit IRC08:04
*** ykarel is now known as ykarel|lunch08:06
*** e0ne has joined #openstack-placement08:18
*** cdent has joined #openstack-placement08:23
*** takashin has left #openstack-placement08:30
cdentgibi or stephenfin : could one of you kick this in because I made it so tetsuro can't: https://review.opendev.org/673505 . please and thank you.08:34
*** tetsuro has quit IRC08:35
*** tetsuro has joined #openstack-placement08:36
gibicdent: on it08:41
cdentthanks08:41
openstackgerritTetsuro Nakamura proposed openstack/placement master: Trivial: Remove duplicate usage of db context  https://review.opendev.org/67506008:49
*** ykarel|lunch is now known as ykarel09:02
*** tetsuro has quit IRC09:19
openstackgerritMerged openstack/placement master: Add RequestWideSearchContext.summaries_by_id  https://review.opendev.org/67425409:45
openstackgerritMerged openstack/placement master: Further optimize _build_provider_summaries  https://review.opendev.org/67434909:45
openstackgerritChris Dent proposed openstack/placement master: Clean up the extend_usages_by_provider_tree method  https://review.opendev.org/67507409:55
openstackgerritChris Dent proposed openstack/placement master: Remove double join in provider_ids_from_rp_ids  https://review.opendev.org/67401710:26
openstackgerritChris Dent proposed openstack/placement master: Improve docs and comments for provider_ids_from_rp_ids  https://review.opendev.org/67508210:26
*** spatel has joined #openstack-placement10:27
*** helenafm has quit IRC10:29
*** spatel has quit IRC10:31
openstackgerritChris Dent proposed openstack/placement master: Move provider_ids_from_rp_ids to allocation_candidate  https://review.opendev.org/67508410:34
cdentefried: that ^ is an additional followup to the remove double join, not sure if it is the right thing or not, but it struck me while writing the doc followup you asked for10:34
*** sean-k-mooney has quit IRC10:52
*** sean-k-mooney has joined #openstack-placement11:09
*** helenafm has joined #openstack-placement12:45
gibicdent: I have a quick question in https://review.opendev.org/#/c/675082/1/placement/objects/allocation_candidate.py@51913:00
* cdent looks13:00
gibicdent: I guess I found my answer13:01
gibicdent: in the commit message of https://review.opendev.org/#/c/674017/513:01
cdentyeah, the comment around line 472 is supposed to convey that. Perahps it not doing a good enough job?13:02
cdent(I responded anyway)13:03
gibiOK, I think I got it now. Maybe referring to the _get_usages_by_provider_tree as the source of all providers would help a bit13:05
cdentgibi: yeah, can do13:06
*** mriedem has joined #openstack-placement13:10
openstackgerritChris Dent proposed openstack/placement master: Improve docs and comments for provider_ids_from_rp_ids  https://review.opendev.org/67508213:10
openstackgerritChris Dent proposed openstack/placement master: Move provider_ids_from_rp_ids to allocation_candidate  https://review.opendev.org/67508413:10
cdentgibi: I went ahead and added a few more words there ^13:10
cdentso if you could drop your two +2 back on that would be lovely13:10
gibicdent: sure. thanks13:12
gibidone13:13
*** ykarel is now known as ykarel|afk13:15
*** ykarel_ has joined #openstack-placement13:19
*** ykarel_ has quit IRC13:21
*** ykarel|afk has quit IRC13:21
gibicdent: I think I see a bug in ps://review.opendev.org/#/c/67355513:23
* cdent looks13:24
cdentgood catch, I'll fix13:25
gibicool13:25
stephenfincdent: Is a 'traitN:MY_TRAIT' extra spec a valid thing?13:32
stephenfini.e. the trait would be assigned to the numbered resource group13:32
gibicdent: do I understand correclty tetsuro's -1 in https://review.opendev.org/#/c/674581 only for the doc update you already FUPped?13:32
cdentstephenfin: I don't speak extra spec well. I know there is a way to give it group but I don't remember it off the top of my head without looking somewhere. it is somewhat different from how things are spoken in placement land13:33
cdentgibi: you probably know the answer to stephenfin's query?13:33
cdentgibi: yes, that's right. he had some other questions, but they were for later work13:33
gibistephenfin: let me look it up13:33
gibicdent: OK, then I will go and review that series too13:34
cdentalso gibi: the bug you've identified looks like it was already there13:34
cdentcool thanks13:34
cdentand I think it may be covered, me tests something13:34
gibistephenfin: this is how we parse the extra_spec for request groups from_extra_specs13:41
gibihttps://github.com/openstack/nova/blob/35e36b0a854c824dfa3789eca8ead4c83f62eb4c/nova/scheduler/utils.py#L14413:41
gibistephenfin: so based on the doc in that function it accepts "trait$N:$TRAIT_NAME": "required"13:42
stephenfingibi: I'm looking at that and it suggests I can use numbered groups for traits, but I couldn't find anything documenting this13:42
stephenfinwait, I glossed over the docstring13:43
stephenfin:)13:43
stephenfingibi++13:43
openstackgerritChris Dent proposed openstack/placement master: Optimize trait creation to check existence first  https://review.opendev.org/67355514:04
cdentgibi, efried : that fixes it, with confirming test14:05
cdent(take out the added code, test fails)14:05
gibicdent: we are still lying a bit in that create_at but I guess you don't want the cost of quering trait from the DB again14:16
cdentgibi: the value won't be any different14:16
cdentthe only way it can happen is if it is in the same second (I say as much in the commit message)14:16
gibicdent: OK cool14:16
*** altlogbot_1 has quit IRC14:46
*** altlogbot_3 has joined #openstack-placement14:47
openstackgerritMerged openstack/placement master: Remove double join in provider_ids_from_rp_ids  https://review.opendev.org/67401715:15
openstackgerritChris Dent proposed openstack/placement master: Optimize trait creation to check existence first  https://review.opendev.org/67355515:42
cdentefried, gibi : pep8 fix on that ^. added a too long line when adding to the tests15:42
gibicdent: ack15:43
*** helenafm has quit IRC15:45
*** tssurya has quit IRC16:10
openstackgerritMerged openstack/placement master: Run nested-perfload parallel correctly  https://review.opendev.org/67350516:11
openstackgerritMerged openstack/placement master: Track usage info on RequestWideSearchContext  https://review.opendev.org/67458116:11
openstackgerritMerged openstack/placement master: Make _get_trees_with_traits return a set  https://review.opendev.org/67463016:11
openstackgerritMerged openstack/placement master: Use expanding bindparam in extend_usages_by_provider_tree  https://review.opendev.org/67464716:11
*** efried is now known as efried_rollin16:12
* cdent will check back in later to see if all that stuff merging broke a bunch of stuff or really made it faster16:22
cdentotherwise I'm going outside16:22
* cdent waves16:22
gibio/16:22
*** cdent has quit IRC16:22
*** e0ne has quit IRC17:06
*** artom has quit IRC17:13
*** altlogbot_3 has quit IRC17:17
*** altlogbot_0 has joined #openstack-placement17:23
*** altlogbot_0 has quit IRC17:31
*** altlogbot_1 has joined #openstack-placement17:35
openstackgerritMerged openstack/placement master: Trivial: Remove duplicate usage of db context  https://review.opendev.org/67506017:41
*** artom has joined #openstack-placement18:17
*** e0ne has joined #openstack-placement18:49
*** e0ne has quit IRC19:46
*** efried_rollin is now known as efried19:59
openstackgerritMerged openstack/placement master: Implement a more complex nested-perfload topology  https://review.opendev.org/67351320:39
openstackgerritMerged openstack/placement master: Clean up the extend_usages_by_provider_tree method  https://review.opendev.org/67507421:46
openstackgerritMerged openstack/placement master: Improve docs and comments for provider_ids_from_rp_ids  https://review.opendev.org/67508222:10
*** mriedem has quit IRC22:24
openstackgerritEric Fried proposed openstack/placement master: Move provider_ids_from_rp_ids to allocation_candidate  https://review.opendev.org/67508422:53
*** takashin has joined #openstack-placement23:32

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