Thursday, 2019-03-21

*** cdent has quit IRC00:36
*** mriedem has quit IRC01:26
openstackgerritMerged openstack/placement master: Update master for stable/stein  https://review.openstack.org/64500101:31
openstackgerritMerged openstack/placement stable/stein: Update .gitreview for stable/stein  https://review.openstack.org/64499901:31
openstackgerritMerged openstack/placement stable/stein: Update UPPER_CONSTRAINTS_FILE for stable/stein  https://review.openstack.org/64500001:31
openstackgerritMerged openstack/placement master: Revert "Centralize registration of logging options"  https://review.openstack.org/64501401:46
openstackgerritGhanshyam Mann proposed openstack/nova-specs master: Spec for API policy updates  https://review.openstack.org/54785003:29
openstackgerritGhanshyam Mann proposed openstack/nova-specs master: Spec for API policy updates  https://review.openstack.org/54785003:29
*** e0ne has joined #openstack-placement06:06
*** e0ne has quit IRC06:07
*** e0ne has joined #openstack-placement07:45
*** ttsiouts has joined #openstack-placement08:06
*** tssurya has quit IRC08:12
*** openstackgerrit has quit IRC08:17
*** tssurya has joined #openstack-placement08:24
*** helenafm has joined #openstack-placement08:35
*** e0ne has quit IRC08:48
*** e0ne has joined #openstack-placement08:51
*** cdent has joined #openstack-placement10:08
cdentmornin'10:08
cdentgibi: I put some thoughts on testing the fixture stuff on the nova-placement cross project etherpad for ptg, you might want to add your thinking there: https://etherpad.openstack.org/p/ptg-train-xproj-nova-placement10:09
gibicdent: thanks10:10
gibicdent: looking10:10
*** e0ne has quit IRC10:14
*** e0ne has joined #openstack-placement10:17
cdentefried, mriedem: I backported the PlacementFixture fix ( https://review.openstack.org/#/c/645105/ ). I assume that was the right thing to do since placement has already cut an rc1?10:36
*** e0ne has quit IRC10:58
*** e0ne has joined #openstack-placement10:59
*** ttsiouts has quit IRC11:37
*** ttsiouts has joined #openstack-placement11:37
*** ttsiouts has quit IRC11:42
*** cdent has quit IRC12:04
*** ttsiouts has joined #openstack-placement12:13
*** mriedem has joined #openstack-placement12:38
mriedem.12:39
*** e0ne has quit IRC12:51
*** edleafe_ has quit IRC12:51
*** irclogbot_3 has quit IRC13:07
*** irclogbot_3 has joined #openstack-placement13:09
*** cdent has joined #openstack-placement13:20
*** altlogbot_2 has quit IRC13:23
*** e0ne has joined #openstack-placement13:23
*** altlogbot_1 has joined #openstack-placement13:24
*** openstackgerrit has joined #openstack-placement13:27
openstackgerritChris Dent proposed openstack/placement stable/stein: Add register_opts param to PlacementFixture  https://review.openstack.org/64510513:27
*** takashin has joined #openstack-placement13:27
openstackgerritMatt Riedemann proposed openstack/nova-specs master: Re-propose cross-cell-resize spec for Train  https://review.openstack.org/64280713:31
*** e0ne has quit IRC13:37
*** altlogbot_1 has quit IRC13:39
*** altlogbot_0 has joined #openstack-placement13:41
*** irclogbot_3 has quit IRC13:45
*** e0ne has joined #openstack-placement13:45
openstackgerritDan Smith proposed openstack/nova-specs master: Add request-filter-image-types spec  https://review.openstack.org/64462513:46
*** jaypipes has quit IRC13:46
*** irclogbot_2 has joined #openstack-placement13:47
openstackgerritDan Smith proposed openstack/nova-specs master: Add request-filter-image-types spec  https://review.openstack.org/64462513:56
efriedcdent: you want to be in nova meeting?14:21
efriedare your ears burning?14:22
cdentoops, forgot about it14:22
openstackgerritChris Dent proposed openstack/placement master: Initial structure for in-tree specs  https://review.openstack.org/64519514:32
*** altlogbot_0 has quit IRC14:35
*** altlogbot_2 has joined #openstack-placement14:36
*** ttsiouts has quit IRC14:37
*** irclogbot_2 has quit IRC14:38
*** ttsiouts has joined #openstack-placement14:38
*** irclogbot_3 has joined #openstack-placement14:39
*** ttsiouts has quit IRC14:41
*** ttsiouts has joined #openstack-placement14:41
*** takashin has left #openstack-placement15:01
mriedemcdent: i know you've done some scale/performance type testing with placement and posted blogs about it, can you link me those so i can pass them on to some folks internally that are asking me about placement performance?15:17
mriedemi get random questions like, "but what issues are we going to have with locks on a centralized data store?!"15:17
mriedemi think probably most related is https://anticdent.org/placement-scale-fun.html15:19
cdentmriedem: yeah, that one is a bit old, but still fairly relevant15:22
cdentthere's also https://anticdent.org/profiling-wsgi-apps.html15:22
mriedemyup found that one as well15:22
mriedemmy answer so far has been placement scaling isn't the problem with nova scheduling, it's nova scheduling15:22
mriedemi.e. we still have lots of python filters and such,15:23
mriedemand the issues of not properly modeling data in placement so we have issues like where cern limts the number of allocation candidates and only gets back disabled computes15:23
mriedemand cern limits the number of candidates to deal with the huge number of hosts they have, and because they don't have 2-level scheduling anymore like with cells v115:24
cdentI've got on my to do list extending the perfload job to do many parallel GET /allocation_candidate requests to see how that looks15:26
cdentright not it does parallel writes, but then single GET15:26
cdentbut, yeah, in general most of the problems happen on the nova side when trying to work with too-much-data from palcement15:26
openstackgerritSurya Seetharaman proposed openstack/nova-specs master: Support server power state update through external event  https://review.openstack.org/63613215:33
cdentmriedem: and in case it's not obvious already, the best way to deal with placement scale issues (in placement) itself is to have more severs, and the easiest way I've found to do that is stick it in kubernetes with a horizontal load balancer. I've got a helm chart that does that, in placedock, if somebody wants a refernce15:34
mriedemi think these guys are more concerned about the db than the api15:36
mriedembut, they also pack the shit out of their computes rather than spread,15:36
mriedemso allocations are going to be hitting the same providers concurrently15:36
mriedembut i've tried to explain that nova-scheduler will at least be retrying that during scheduling now rather than the expensive reschedule loop with the compute as we had before when an RT claim failed15:37
mriedemso end to end server create time should be better15:37
mriedemeven if they are just focused on how long scheduling takes15:37
cdentyeah, lots of allocations on the same rp, has shown some issues, but I think rado provided a reasonable fix for that: a randomized backoff15:37
cdent(on retry). When it was not random, it would just keep colliding15:37
mriedemyeah https://review.openstack.org/#/c/567506/15:38
cdentbut again, that's nova-side. placement seems really happy to say 409 over and over again without sweat if that's what needs to happen15:38
mriedemheh yeah15:38
cdentI vaguely remember somebody was going to do some investigation (this was maybe 6 months or more ago) into lock contention potential in various places in openstack. I thought they were huawei people, but not sure?15:40
mriedemdoesn't ring a bell15:40
*** belmoreira has quit IRC15:58
openstackgerritChris Dent proposed openstack/placement master: Initial structure for in-tree specs  https://review.openstack.org/64519515:58
cdentedleafe: if you could do the honors on https://wiki.openstack.org/wiki/First_Contact_SIG that would teh ossum16:01
edleafecdent: will do16:01
cdentthanks16:01
edleafeupdating the liaison page to reference API-SIG16:02
bauzasfolks, how to ask devstack to use osc-placement ?16:02
bauzasjut pip it ?16:02
bauzaserrr, nvm16:02
bauzashttps://github.com/openstack-dev/devstack/blob/master/lib/placement#L14916:04
edleafecdent: done16:06
cdenthuzzah16:06
openstackgerritMerged openstack/placement stable/stein: Add register_opts param to PlacementFixture  https://review.openstack.org/64510516:09
*** e0ne has quit IRC16:10
*** ttsiouts has quit IRC16:30
*** ttsiouts has joined #openstack-placement16:31
*** tssurya has quit IRC16:34
*** ttsiouts has quit IRC16:35
efriedcdent: So yeah, no testing for that register_opts thing?16:45
efriedthat kinda got blown past16:45
cdentI was asleep16:45
cdentI think any unit test there would have just been confirm that python conditionals work16:46
efriedI would have thought there's a way to detect that conf has or hasn't been loaded.16:46
efriedsorry, I mean opts have or haven't been registered16:47
efriedlike 'debug' in CONF16:47
cdentone sec16:47
efriedI mean yeah, it's slightly trivial, but still seems like a good idea.16:47
cdenti'm not disputing that but it's done now, we can address it later if you like but I think that may as well be in concert with addressing the bigger issue of "it's hard to _really_ test the PlacementFixture"16:48
cdentI made it clear before I went to be last night that the patch should be tweaked however people needed before it was merged. and then it was merged...16:49
*** rubasov has quit IRC16:49
efriedcdent: Yeah, I was asleep when it was pushed, and my question wasn't answered by anyone. Let me dork with it a sec...16:50
cdentit's also the case that nova's use of the fix was the most robust was of testing the fix16:50
cdentI'm sure we can add a test but I really don't see why _now_ matters16:50
efriedheh, it doesn't matter any more than getting that real fix in _now_ mattered.16:50
cdentthat's entirely untrue16:50
cdentthe logging revert fixed one symptom of a larger problem16:51
cdentwhich was identified by the logging opts problem but not limited to it16:51
cdentthe larger fixed fixed it, and works and was tested by the thing that was broken16:52
cdenthaving an additional test simply buys a bit of insurance that we won't regress it, but even with that I'm not all that convinced of the value, as each time this happened it has been ... weird16:52
cdentso we can buy that insurance next week if we prefer16:53
cdentbut if you're feeling like you have nothing better to do, go for it16:53
openstackgerritChris Dent proposed openstack/placement master: Initial structure for in-tree specs  https://review.openstack.org/64519516:54
*** helenafm has quit IRC16:58
*** mriedem is now known as mriedem_grooming17:16
openstackgerritEric Fried proposed openstack/placement master: Start unit tests for PlacementFixture  https://review.openstack.org/64525517:22
*** rubasov has joined #openstack-placement17:43
*** e0ne has joined #openstack-placement18:05
openstackgerritEric Fried proposed openstack/placement master: Start unit tests for PlacementFixture  https://review.openstack.org/64525518:08
*** e0ne has quit IRC18:12
bauzasstupid question, but where uwsgi placement logs are in a devstack ?18:13
efriedbauzas: You don't mean journalctl -u devstack@placement-api.service do you?18:17
bauzasI'm fuck*** tired18:17
bauzasI was journalctl -f18:17
efriedglad you bleeped out the "ing" there bauzas18:18
bauzasdevstack returned a 503 when testing whether placement-api was starting18:18
cdentbauzas: likely you are seeing a problem where apache2 is looking in the wrong place for the running uwsgi process18:19
bauzasactually, I think it's my issue18:20
bauzasbecause it runs uwsgi now18:20
bauzasand no longer httpd18:20
bauzasbut I still have httpd placement files18:21
cdentyou need both18:21
cdenthttpd uses mod_proxy_uwsgi to talk to uwsgi processes managed by systemd18:21
bauzasoh you're right18:21
bauzasanyway, I think I found18:21
bauzasI yet have both nova-placement and placement ini files18:22
bauzasI guess I have to delete the nova-placement one18:22
bauzasfor some reason, devstack reinstalled it18:22
cdentit may not have been removed18:26
cdentcleaning is not very reliable18:27
bauzasyeah i know18:27
efriedcdent: hate to burn a whole email with basically a +1, but crickets-as-assent can be disquieting.18:30
cdentefried: which email? I seem to send so many18:31
efriedcdent: placement specs process18:31
cdentoh aye. cool. good.18:31
* cdent dines18:31
*** mriedem_grooming is now known as mriedem18:53
openstackgerritmelanie witt proposed openstack/nova-specs master: Re-propose count quota usage from placement  https://review.openstack.org/64530219:01
*** cdent has quit IRC19:13
*** cdent has joined #openstack-placement19:15
*** e0ne has joined #openstack-placement19:30
*** e0ne has quit IRC19:49
*** e0ne has joined #openstack-placement19:52
*** e0ne has quit IRC20:04
cdenti think I'm done for today20:23
cdent'night all20:24
*** cdent has quit IRC20:24
*** e0ne has joined #openstack-placement20:28
openstackgerritMerged openstack/nova-specs master: Re-propose count quota usage from placement  https://review.openstack.org/64530221:00
*** e0ne has quit IRC21:17
openstackgerritEric Fried proposed openstack/placement master: Start unit tests for PlacementFixture  https://review.openstack.org/64525521:36
*** irclogbot_3 has quit IRC22:05
*** mriedem is now known as mriedem_afk22:50

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