Tuesday, 2018-08-28

*** tetsuro has joined #openstack-placement00:08
openstackgerritJiaJunsu proposed openstack/nova master: Remove args(os=False) in monkey_patch  https://review.openstack.org/56899901:32
openstackgerritYikun Jiang (Kero) proposed openstack/nova master: Make monkey patch work in uWSGI mode  https://review.openstack.org/59228501:51
*** lei-zh has joined #openstack-placement02:24
*** lei-zh has quit IRC02:33
*** lei-zh has joined #openstack-placement02:33
*** lei-zh has quit IRC03:39
*** lei-zh has joined #openstack-placement03:39
openstackgerritTakashi NATSUME proposed openstack/nova master: Transform libvirt.error notification  https://review.openstack.org/48485103:58
openstackgerritTakashi NATSUME proposed openstack/nova master: Adds view builders for keypairs controller  https://review.openstack.org/34728903:58
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (3)  https://review.openstack.org/57410403:58
*** takashin has joined #openstack-placement03:59
*** lei-zh has quit IRC03:59
*** lei-zh1 has joined #openstack-placement03:59
*** lei-zh1 has quit IRC04:11
*** lei-zh1 has joined #openstack-placement04:11
*** lei-zh1 has quit IRC04:16
openstackgerritMerged openstack/nova master: Make instance_list perform per-cell batching  https://review.openstack.org/59313104:55
*** tetsuro has quit IRC05:24
*** lei-zh1 has joined #openstack-placement05:43
*** tetsuro has joined #openstack-placement06:08
*** tetsuro has quit IRC06:09
*** tetsuro has joined #openstack-placement06:57
*** tetsuro has quit IRC07:07
*** tssurya has joined #openstack-placement07:08
*** dims has quit IRC07:08
*** dims has joined #openstack-placement07:10
*** cdent has joined #openstack-placement07:39
openstackgerritTushar Patil proposed openstack/nova-specs master: Bi-directional enforcement of traits  https://review.openstack.org/59347508:05
*** tetsuro has joined #openstack-placement08:19
openstackgerritAlex Xu proposed openstack/nova-specs master: Resource retrieving: add change-before filter  https://review.openstack.org/59197608:21
*** ttsiouts has joined #openstack-placement08:29
*** takashin has left #openstack-placement08:32
*** e0ne has joined #openstack-placement08:43
*** ttsiouts has quit IRC09:05
openstackgerritStephen Finucane proposed openstack/nova master: conf: Use new-style choice values  https://review.openstack.org/53092409:21
openstackgerritMoshe Levi proposed openstack/nova master: libvirt: skip setting rx/tx queue sizes for not virto interfaces  https://review.openstack.org/59559209:24
*** ttsiouts has joined #openstack-placement09:30
*** lei-zh1 has quit IRC09:33
*** cdent has quit IRC09:45
*** ttsiouts has quit IRC10:01
*** tetsuro has quit IRC10:02
*** cdent has joined #openstack-placement10:20
*** nicolasbock has joined #openstack-placement10:20
*** stephenfin has quit IRC10:35
*** stephenfin has joined #openstack-placement10:36
*** ttsiouts has joined #openstack-placement10:52
cdentefried or edleafe either of you around yet?11:15
cdentnm, will check in later11:21
*** giblet_off is now known as gibi11:49
gibijaypipes: thanks for the feedback on the any traits spec, I will respin to include efried's additional explanation11:53
jaypipesgibi: cool :)11:56
gibiefried: regarding evacuation and reshape. I'm think we need to explicitly filter for the outsider RP (e.g. the other compute RP) before we pass the input to the virt driver. I feel it is easy for the resource tracker to do this filtering than let the virt driver do it12:05
cdentjaypipes: with regard to generation in allocation GETs it looks like you asked for them on patchset 2 of https://review.openstack.org/#/c/366789/12:32
jaypipescdent: bad on me, then.12:34
*** mriedem has joined #openstack-placement12:35
cdentjaypipes: it _may_ have been something to do with generation cache handling, but I don't recall the details12:35
openstackgerritKonstantinos Samaras-Tsakiris proposed openstack/os-traits master: Add CUDA versions 8 and 9  https://review.openstack.org/59711112:42
cdentgonna change locations and then gonna review specs12:45
*** cdent has quit IRC12:46
openstackgerritMerged openstack/nova master: Deprecate Core/Ram/DiskFilter  https://review.openstack.org/59650212:47
jaypipesefried: done reviewing reshaper series.12:48
efriedjaypipes: ack, thx12:53
efriedFYI, I have a doc appt in an hour. Shouldn't take long.12:54
efriedgibi, mriedem: top two reshaper patches just need one more approval.13:02
gibiefried: ack13:02
mriedemi'm reviewing them now13:04
efriedthanks y'all13:05
*** cdent has joined #openstack-placement13:29
*** efried is now known as efried_doc13:29
*** stephenfin has quit IRC13:33
*** stephenfin has joined #openstack-placement13:34
*** purplerbot has joined #openstack-placement13:34
cdentgibi: thanks for the quick responses on that email13:42
gibicdent: I hope I can help13:50
openstackgerritJay Pipes proposed openstack/os-traits master: Add CUDA versions 8 and 9  https://review.openstack.org/59711114:10
*** ttsiouts has quit IRC14:16
mriedemis a shared storage provider in an aggregate relationship with a compute node root provider considered part of the comptue node providers "tree"?14:22
cdentmriedem: efried_doc will have the details on that, but the short answer is yet14:23
cdentyes14:23
cdentit's one of the reasons that aggregate mgt got generations14:24
mriedemefried_doc: ok questions in https://review.openstack.org/#/c/585049/ and clearly i don't know how shared providers are modeled in the tree14:24
dansmithso, the shared provider isn't actually in the tree,14:26
dansmithbecause it doesn't have a parent node of the compute node, right?14:26
dansmithbut some other operations act like it _is_ under the compute node?14:26
cdentthere's the collection of the nested providers under the compute node. and then there's the content the ProviderTree (or trees) which is being managed by the nova-compute process. As I recall, these are not quite the same thing14:27
cdentI assumed mriedem was talking about the ProviderTree ?14:27
mriedemhttps://review.openstack.org/#/c/585049/19/nova/tests/functional/test_report_client.py@1334 for context14:29
mriedemthat code walks the tree and adds a new inventory resource class to all providers in the tree,14:30
mriedemi assumed that didn't include the shared storage provider since it's not a child of the root compute node, as dansmith said14:30
dansmithmriedem: right, I would assume the same14:31
mriedemlooking at _Provider.get_provider_uuids() it only returns children14:31
dansmithI would expect a client to have to follow the aggregate relationship to find the shared provider if it needs it14:31
mriedemyeah me too14:31
dansmiththat also makes me wonder what happens if you do an in_tree with the compute node, do you magically get things out of the tree because allocation_candidates thinks you probably wanted that?14:32
mriedemyou mean on GET /resource_providers?in_tree=<cn_rp_uuid>?14:35
mriedemwe don't have GET /allocation_candidates?in_tree yet14:35
dansmithmriedem: right, I'm just trying to think about what it would mean14:35
jaypipesmriedem: answered your question on the review.14:35
mriedemi've always wanted some examples that the "in_tree" param to GET /resource_providers could link to in the docs, for various scenarios14:36
mriedembecause today it just says, "A UUID of a resource provider. The returned resource providers will be in the same “provider tree” as the specified provider."14:36
dansmithmriedem: weren't you discussing in_tree for like resize to same host?14:36
dansmither, in-place resize whatever14:36
*** ttsiouts has joined #openstack-placement14:36
mriedemdansmith: for getting allocation candidates?14:36
dansmithmaybe we wouldn't need to query a_c for that14:36
mriedemi've talked about adding in_tree to GET /a_c for force_hosts14:36
dansmithah, that's it I guess14:37
jaypipesdansmith: calling GET /resource_providers?in_tree=X only returns the root and any children (and their children) of X. it does not return sharing providers.14:37
mriedemwe don't know if we're resizing to the same host until the scheduler gives us the same host as a selection14:37
mriedemjaypipes: ok good; would be nice to document that in the API reference :)14:37
dansmithmriedem: I meant in-place resize14:37
mriedem"sharing providers are in the same forest, but not the same tree"14:37
jaypipesdansmith, mriedem: however, that said, we *do* grab sharing providers as top-level root nodes in the ProviderTree object that is used in update_provdier_tree() and update_from_provider_tree(). See my comment on https://review.openstack.org/#/c/585049/19/nova/tests/functional/test_report_client.py@133414:38
mriedemdansmith: in-place resize = resize to same host yeah14:38
mriedem?14:38
jaypipesmriedem: you mean basically replace what's there now ("The returned resource providers will be in the same “provider tree” as the specified provider.") with what I just said above?14:39
dansmithmriedem: there's a distinction of whether or not we got the same host while looking for a candidate during a normal schedule (which would call a_c) and an actual future in-place resize operation where we're intending _not_ to move, but like I realized above, probably no reason to call a_c for that14:39
jaypipesmriedem: I can do that, but we don't really mention sharing providers in the placement api reference and since we don't yet officially support them, might want to hold off on that.14:40
mriedemjaypipes: yeah good point on not calling those out in docs14:40
*** efried_doc is now known as efried14:41
* efried is officially healthy for another year.14:41
jaypipesefried: good for you!14:41
efriedreading back...14:41
mriedemdansmith: is "an actual future in-place resize operation" something that's not in nova today? maybe you're referring to live resize?14:41
efriedmriedem: The sharing provider is not part of the tree qua tree as parent/root providers go, but it *is* loaded up and passed in the ProviderTree object as a separate root provider that the virt driver gets to see and play with.14:42
dansmithmriedem: yes. I'm talking about in-place live non-disruptive resize of a guest without moving it in the future when we have that someday14:42
dansmithmriedem: was just thinking out loud above, my apologies14:42
mriedemdansmith: ok, np, b/c i also have a todo to fix doubled up allocations on the same rp for same-host resize14:43
mriedemi wasn't sure if you were talking about the same thing14:43
efriedoh, look, jaypipes already said all of that.14:43
efriedmriedem: get_provider_uuids() on the ProviderTree object will return the UUIDs of all the providers in the object, which may include multiple roots and their children, depending how the ProviderTree was constructed.14:46
efriedmriedem: Don't read too much into the test case as representing something that you would actually do in real life. It was built to try to exercise the corners, which real life usually won't do.14:47
mriedemi was looking at get_provider_tree_and_ensure_root and trying to figure out where the aggregates are pulled in14:47
openstackgerritMerged openstack/os-traits master: Add CUDA versions 8 and 9  https://review.openstack.org/59711114:47
mriedemoh i guess _ensure_resource_provider14:47
mriedemwhich now does *way* more than the method name suggests14:48
mriedemthat calls _refresh_associations and that's what pulls in the shared aggregate providers14:48
efriedyes14:49
efriedthat was like Queens stuff.14:49
mriedemsorry14:50
mriedemi'm old and stuck in pike land14:50
mriedemgd millenial helper methods14:50
*** e0ne has quit IRC14:56
*** nicolasbock has quit IRC14:56
*** nicolasbock has joined #openstack-placement14:59
*** ttsiouts has quit IRC15:04
mriedemefried: i'll wait to vote on https://review.openstack.org/#/c/585049/ until you reply15:05
*** jroll has quit IRC15:05
efriedmriedem: ack, working on it now.15:06
*** jroll has joined #openstack-placement15:06
*** alex_xu has quit IRC15:10
openstackgerritMerged openstack/nova stable/ocata: Default embedded instance.flavor.disabled attribute  https://review.openstack.org/58052515:24
efriedmriedem: Responded15:34
openstackgerritMerged openstack/nova master: Make monkey patch work in uWSGI mode  https://review.openstack.org/59228515:38
openstackgerritJay Pipes proposed openstack/os-traits master: clean up CUDA traits  https://review.openstack.org/59717015:57
openstackgerritStephen Finucane proposed openstack/nova master: Don't use '_TransactionContextManager._async'  https://review.openstack.org/59717316:06
*** e0ne has joined #openstack-placement16:06
openstackgerritStephen Finucane proposed openstack/nova master: Don't use '_TransactionContextManager._async'  https://review.openstack.org/59717316:14
openstackgerritStephen Finucane proposed openstack/nova master: Revert "Don't use '_TransactionContextManager._async'"  https://review.openstack.org/59717416:18
openstackgerritStephen Finucane proposed openstack/nova master: Revert "Don't use '_TransactionContextManager._async'"  https://review.openstack.org/59717416:19
gibiefried, jaypipes: I replied in https://review.openstack.org/#/c/576236 I still think we have problems with killing the nova-compute service16:20
gibiefried, jaypipes, cdent the rest of the reshaper series looks good to me16:22
mriedemyeah we're +2 up through to the end16:26
gibithere are places with 3 +2s :)16:27
gibiI'm call it a day. See you tomorrow.16:28
efriedgibi: Thanks.16:29
openstackgerritMerged openstack/nova master: Make scheduler.utils.setup_instance_group query all cells  https://review.openstack.org/54025816:32
efriedjaypipes, mriedem: I may need a bit of help to resolve what gibi pointed out on https://review.openstack.org/#/c/576236/16:34
efriedDo we try to change something to actually make it blow up the compute service, or do we amend the commit message, comments, and spec to say that we don't actually blow up on periodic?16:34
openstackgerritStephen Finucane proposed openstack/nova master: tests: Further simplification of test_numa_servers  https://review.openstack.org/59683216:39
openstackgerritStephen Finucane proposed openstack/nova master: tests: Validate huge pages  https://review.openstack.org/39965316:39
mriedemi haven't gotten into the bowels of that change yet, but i'm assuming the issue is the periodic runs at the same time we startup and are reshaping? i don't think that's actually possible.16:40
mriedemComputeManager.pre_start_hook is where we would initiate the reshape16:42
mriedemby calling update_available_resource16:42
mriedemthen we join the service group,16:42
mriedemand then we start the periodic thread16:42
mriedemso i guess i don't understand gibi's concern - i thought we agreed in the spec that we wouldn't allow reshape during a periodic, and only on startup, which is why the startup param is passed through16:45
mriedemso if we can't get ReshapeNeeded during a periodic, it's a non-concern isn't it?16:45
efriedmriedem: I think the contention is simply that, if we attempt a reshape during the periodic (we're not supposed to) then it should raise one of the Reshape* exceptions and we *said* in the spec, and I'm asserting in the commit message and code comments, that we should react by blowing up the compute service.16:45
efriedWell, the point is "can't".16:46
openstackgerritMerged openstack/nova master: Record cell success/failure/timeout in CrossCellLister  https://review.openstack.org/59426516:46
efriedThe virt driver has the reins at this point.16:46
efriedIt can raise ReshapeNeeded due to a bug or whatever.16:46
efriedwhich was why we wanted to handle that condition, and handle it severely.16:46
mriedema failure in the periodic like that won't actually kill the service16:47
cdentby stating "this compute node is irredeemable until you come look at it"16:47
efriedYeah, what cdent said.16:47
mriedemperiodics are run off on their own thread16:47
efriedBut mriedem right, that's what gibi is pointing out.16:47
efriedso do we reword or recode?16:48
efriedsounds like recode would be a pretty serious thing.16:48
mriedemi don't think we kill the service16:48
mriedemyes16:48
mriedemthe libvirt driver has known races during server delete while update_available_resource runs, blows up the periodic, but it's ok on the next run16:48
efriedSo how do we make clear that "this compute node is irredeemable until you come look at it"?16:49
efriedOr do we not worry about that, and just let the next periodic happen, and hope *that* guy doesn't raise Reshape*16:49
mriedemthe latter16:49
mriedemthis shouldn't happen16:49
mriedemif it does, well, it shouldn't, it's a bug, so report a bug and we'll figure out wtf happened16:49
mriedemwe can't predict what would incorrectly introduce a bug16:49
mriedemunless you're in that tom cruise movie16:49
efriedright, which is why we wanted to make it fail hard and fast, so you'll pay attention right away and the bug won't go undiscovered.16:50
efriedCause as it is, the symptom will be that we don't effect any changes to the provider tree. Which may not cause anything to come crashing down.16:51
efriedSo you might not notice a problem for... a while.16:51
efriedOnce you do, the logs will have the failure in 'em.16:51
efriedBut until then, things might appear normal.16:51
mriedemi just replied,16:52
mriedempresumably if inventory is f'ed on this host, we'll fail builds and the scheduler will weigh it lower b/c of our failed_builds stats stuff that dansmith added16:52
efriedwe might not fail builds.16:52
mriedemi just don't really think it's worth getting too fussy over something that shouldn't happen16:52
jaypipesefried: unfortunately today from now for the next four hours I have sprint planning meetings :(16:52
jaypipesefried: might be a while until I can get to it.16:52
mriedemjaypipes: i think i've answered16:53
efriedjaypipes: ack, I think mriedem is covering it.16:53
efriedmriedem: Disable the compute service, maybe?16:53
mriedemauto-disable?16:53
mriedemthat's an option if this ever actually becomes a problem16:53
mriedemi don't think we need to conflate *this* change with *that* possibility though16:53
efriedRight, so I'm trying to prevent it becoming a problem that nobody notices.16:53
efried...until much later, kind of thing.16:54
efriedI guess I can do the reword now and we can talk about that bit later on.16:54
mriedemi need to reshape some food into my gut16:55
cdentremind me efried : this is only an issue if the virt driver raises the specific ReshapeRequired exception at the wrong time? Or: several different exceptions can be a problem?16:55
cdent(i've not been following closely, sorry)16:55
efriedcdent: ReshapeRequired at the wrong time is the more likely. We should also trap ReshapeFailed, but that one should "never" happen.16:56
cdentso in order for the problem case to happen, it would have be a pretty egregious bug in the code, not an accidental oversight?16:57
cdent(not trying to value the bug, rather the odds of it happening)16:57
efriedcdent: update_provider_tree, as implemented by the virt driver, would have to think it needs to do a reshape despite not being allowed to.17:00
efriedBut upt has no way to know it's running on startup vs periodic or whatever.17:00
efriedso yeah, totally plausible bug.17:00
cdentI wish we, as devs who build this stuff, had more experience with runs thousands of compute nodes. What I'm wondering is if someone is more interested in discovering the breakage by direct monitoring of the service, or log-based processing/alarming17:03
mriedemi also wish, as a dev that builds this stuff, had infinite time to play around with things but i don't and i feel like my list of things to do is ever expanding beyond my ability to complete them; so gotta pick what needs to be worried about at the time.17:21
efriedcdent: UUID sentinel in oslo_utils has merged FYI. Course we'll need a release etc, but in case you're following along :)17:32
efriedhttps://review.openstack.org/#/c/594179/ (I guess you're on the review so you probably knew that happened)17:32
cdentefried: yeah, been getting the emails, but thanks for the heads17:32
cdentmriedem: you phrased that like you're wanting to disagree with me or disabuse me of some idealism, but I think at root we're in violent agreement with one another17:33
cdentefried: I'm glad that it resolved in the way it did. having a different behavior would have been a buzzkill17:34
* cdent really like uuidsentinel17:35
mriedemcdent: yes the latter "I think at root we're in violent agreement with one another"17:37
melwittcdent: fwiw, second best is being able to ask operators. you could ask on the openstack-operators@ list, ask people like mnaser, penick, belmiro, mgagne_, OVH people, RDO cloud people, etc17:38
cdentmelwitt: yes, I know, but in this particular case I'm trying to keep myself focussed because it is clear the efried, jaypipes, mriedem and others have this particular incident mostly in hand. My questions we trying to clarify eric's position, as it wasn't clear. And my final comment was exactly what it said: wishful thinking, exactly in line with matt's thing: "ain't nobody got time for that"17:40
mriedemi suspect most people aren't monitoring based on log levels, because if you just look at the gate logs across nova/cinder/neutron etc there is a shitload of red17:41
cdentI suspect you are right, I was thinking in terms of specifc things being watched, not just redness. In the world of infinite time: kill all the red would be a nice thing to do17:43
melwittit's been awhile, but when I was at yahoo, what I recall were aggregated logs and dashboards showing certain flagged/important errors as a way to discover problems. I don't know if they're still doing it that way17:43
jrollpretty much17:43
mriedemsdague, mtrienish and i used to (years ago) go around the logs and open bugs for random "lots of red" errors, but it's hard to keep whacking those moles17:45
jrollin general, if something is hard-breaking a service, I'd prefer it just go down so we can alert on it17:45
jrollas long as it's fixable17:45
mriedemwhich reminds me, we should downgrade the "unexpected network-vif-(un)plugged" warnings in the n-cpu logs17:47
melwitt++17:47
mriedemb/c they are most always expected, we just don't care to listen17:47
cdentjroll: if something is hard-breaking a service, but not fixable, what do you want?17:53
jrollcdent: to uninstall nova?17:54
cdentwoot!17:54
jrollcdent: when I say fixable, I mean manually too17:54
jrolllike, if I have to go take manual action, and that service isn't going to do anything right, just kill it17:54
jaypipesjroll: if that service has 100s of VMs actively running on it, I don't think you want to do that.18:09
jaypipesjroll: however, I *would* think you'd want to run an external script to correct behaviour (without killing the service itself)18:09
jrolljaypipes: if the nova-compute service is 100% broken, why not kill it?18:10
cdentjroll: you specifically mean kill that process, not the host, right? So vms (at least in a kvm host) are still happy (but stuck)18:11
jrollcdent: yes, the process18:12
jrolland alert via process monitoring18:12
jrollthe data plane is sacred :P18:12
* cdent nods18:12
* cdent hears a song18:12
jaypipesjroll: it isn't broken, though. the VMs are still up and running and humming along. it's just that the desired action of remodeling the resource consumption on that nova-compute service ran into snags. That doesn't and shouldn't affect the data plane though I guess.18:17
jaypipesjroll: which is kinda the reason I brought up some gripes in the review in question about "why are we even going through the bother of adding a crap-load of messy, one-time use code into the virt drivers to do this remodeling instead of just writing some external thing that calls reshape() once and is done with it"18:18
jaypipesjroll: this is the equivalent of a database migration being embedded in the virt driver, FWIW.18:19
jaypipesdata migration. not just schema migration18:19
jaypipesbut whatevs, like you and I said, as long as the data plane is unaffected, meh18:20
dansmithjaypipes: it's a data migration embedded in the virt drivers because only they can do the translation18:20
jaypipesdansmith: I think we'll find that isn't the case when we start reviewing the actual implementation of update_provider_tree() in the virt drivers.18:21
dansmithjaypipes: how many numa nodes do I have?18:21
jaypipesdansmith: you personally have 42.18:21
dansmithjaypipes: wrong.18:21
jaypipesdansmith: and I love them all.18:21
dansmithwrong.18:21
jaypipes:P18:21
openstackgerritMerged openstack/nova master: Optimize global marker re-lookup in multi_cell_list  https://review.openstack.org/59457718:23
jrolljaypipes: right, I don't have full context, which is why I'm talking in generalizations, not about this specific problem. I don't know how unusable the nova-compute service is in this case, but it sounded to me like it was completely unusable in control plane terms18:25
jrollor rather s/don't have full context/don't fully understand the situation/18:26
mriedemsee -dev for some fun18:26
jrollcopyright fun or extraction fun or understanding this specific problem fun?18:26
cdentSo: we're waiting to resolve the questions on https://review.openstack.org/#/c/576236/ before efried takes his -2 off the bottom of the reshaper stack? Or is there more?18:27
mriedemunrelated fun18:27
* jroll sees very little fun there18:27
efriedcdent: IIUC, I'm just needing to update the commit message and comments on the top patch and we'll be good to go; the rest can be done in a fup. mriedem jaypipes agree?18:28
jaypipesefried: yes from me.18:29
mriedemefried: i only looked at that small slice18:29
mriedemso feel free to reve18:29
mriedem*rev18:29
efriedight18:29
cdentefried: cool. was looking forward to having the 1.30 microversion settled (acknowledging that it could well need a 31 after real life intrudes)18:30
efriedjaypipes: mriedem, cdent, melwitt: I +A'd the bottom patch (I still get to do that, I think, since it's cdent's code). Working on the top one and fups now...18:36
cdenthuzzah18:36
edleafecdent: efried: I ran a directory diff on nova and the result of the history filtering process: http://paste.openstack.org/show/728996/18:37
edleafeThose are the deleted files. Can you see any that we should keep?18:38
mriedemefried: you were very much a co-author on https://review.openstack.org/#/c/576927/18:38
efriedum18:38
efriednova?18:38
edleafeFYI - it just lists the nova director18:38
mriedemso approving isn't really appropriate imo18:38
edleafeI can change that temporarily18:39
mriedemunless it's just all rebases18:39
efriedmriedem: I think it was rebases or such minor things as to be of negligible effect.18:39
efriedmriedem: But I can remove my vote and let you do it :)18:39
cdentedleafe: looking18:40
mriedemefried: it's on its way to the gate at this point18:40
efriedmriedem: Done. (Though I guess it's probably already in the gate?)18:40
efriedmriedem: Okay, but for the sake of form, you wanna add your +W?18:40
mriedemi just haven't gone through https://review.openstack.org/#/c/576236/18:40
efriedIt already had two +2s.18:40
efriedoh18:40
mriedemi commented on the very specific thing from gibi18:41
mriedemthat was it18:41
edleafeefried: cdent: Try this one instead: http://paste.openstack.org/show/728998/18:41
* cdent starts over18:42
efriededleafe: Looks truncated.18:43
edleafeefried: ugh - -you're right18:43
efriedbut what is the goal of this exercise?18:43
efriedThere's no way I'm going to be able to tell by looking at it whether you've missed deleting something.18:44
edleafeefried: 2 fold: to minimize the number of files accidentally removed that have to be added back, and to show what's removed, since gerrit can't18:44
efriedmm18:45
cdentefried, edleafe : I've done this enough times that I've got a memory that I can compare this list against for things that are "odd"18:45
edleafeefried: cdent: Here is what was cut off: http://paste.openstack.org/show/729000/18:45
cdentnot accurately, but potentially usefully while tweaking and dry-running18:45
edleafecdent: yeah, I was gonna scan your PR to find any others that I missed18:46
efriedWith the working side repo:18:47
efriedfor f in `find . -type f`; do mv $f /tmp/f; if ! tox; then echo "$f needs to stay!"; mv /tmp/f $f; fi; done18:47
efriedThere, that was easy.18:47
efried(or it means we have a hole in test coverage :)18:47
efried(or it's going to remove files that aren't supposed to get hit in test)18:48
efried(I'm not serious, of course)18:48
cdentif only it was so easy18:48
cdentedleafe: tools/flak8.sh or whatever it is called18:48
edleafeah, good catch18:49
cdentas in, we want that (as far as I recall the only thing from tools/)18:49
cdentnothing obvious I could find in the other hotspots, the remaining conf files don't include the ones I'm aware of needing to keep18:49
cdentedleafe: the release notes I kind have to take your word for it, especially from just a list of files. I didn't inspect of them during my experments. As a topic "docs" and "doc like things" are a blind spot for me18:52
cdent(not for lack of interest, but lack of time)18:52
edleafecdent: I reviewed them to see if there was anything placement-related, and if so, added them to my filter arguments.18:54
edleafeFor reference, here is my current filter script: http://paste.openstack.org/show/729002/18:54
openstackgerritEric Fried proposed openstack/nova master: Compute: Handle reshaped provider trees  https://review.openstack.org/57623619:05
efriedmriedem, jaypipes, cdent, gibi: ^19:05
*** e0ne has quit IRC19:08
mriedemefried: ok looking19:11
*** e0ne has joined #openstack-placement19:23
cdentefried: acking you've had a busy day, if you could review the steps in the 1.x list in http://lists.openstack.org/pipermail/openstack-dev/2018-August/133902.html when you get a chance (if you haven't already) that would be groovus19:25
efriedcdent: I did, and had no disagreement with them.19:25
cdentkeen19:26
efriedcdent: But please have only the appropriate amount of faith in the depth of my understanding of all of that.19:26
cdentnoted.19:26
cdentas long as nothing in makes you scream, is good19:26
efriedcdent: Also, I'm avoiding getting too involved in the pre-work. Partly out of laziness but partly to keep myself "clean" for the "real" reviews.19:27
efried(s/laziness/full plate-ness etc./)19:27
cdentefried: i hear that, just trying to make sure we don't have a false start so getting input from as many possible before diving back in19:28
efriedyup, good things.19:28
efriedkutgw19:28
* cdent does the dishes19:32
openstackgerritEric Fried proposed openstack/nova master: Do test_reshape with an actual startup  https://review.openstack.org/59721819:33
openstackgerritEric Fried proposed openstack/nova master: reshaper gabbit: Nix comments re doubled max_unit  https://review.openstack.org/59722019:49
*** tssurya has quit IRC20:16
openstackgerritEric Fried proposed openstack/nova master: Fail heal_allocations if placement is borked  https://review.openstack.org/59723720:55
*** e0ne has quit IRC20:58
openstackgerritEric Fried proposed openstack/nova master: Name arguments to _get_provider_ids_matching  https://review.openstack.org/59729121:45
efriedmriedem: In case you need an easy one, that you can do while your kid is crawling on you ^21:45
*** takashin has joined #openstack-placement21:51
mriedemshe just went up the street so i'm kid free for an hour, so it's MY time21:54
cdentgood night all22:16
*** cdent has quit IRC22:16
mriedemand of course 1 leaves and 3 come back22:19
mriedemfml22:19
openstackgerritEric Fried proposed openstack/nova master: Other host allocs may appear in gafpt during evac  https://review.openstack.org/59730122:24
mriedemefried: your green screen proclivity is shining through in your comments and commit messages now22:24
mriedemdo i need qsecofr to gafpt22:25
efriedJust trying to follow length restrictions22:25
efriedYou can blame jaypipes for loving long method names. Hard to fit those into commit headers.22:26
efriedmriedem: Whassa conclusion of https://review.openstack.org/#/c/585034/20/nova/scheduler/client/report.py@1437 ?  I'm not following how the doc is wrong, or how it should be fixed?22:30
mriedem"allocations": {22:31
mriedem                      $RP_UUID: {22:31
mriedem                          "resources": { $RC: $AMOUNT, ... }22:31
mriedemtechnically has a 'generation' key in the rp sub-dict22:31
mriedembut,22:31
mriedemwe don't use it, so probably don't care22:31
efriedSo the delta would be to add a row to the table indicating 'generation': ... ignored ...22:32
efriedand perhaps adding it to the samples22:32
mriedemwell, we don't take it in the API i guess? http://logs.openstack.org/27/576927/35/check/build-placement-api-ref/24b1ab2/html/#id8622:32
mriedemit's not in the same, not sure about the schema,22:33
mriedembut this is modeled after PUT / POST allocations right? and as noted in there, the POST allocations api-ref is missing that 'generation' field22:33
mriedembut it's unused someh22:33
mriedemit is called out for PUT allocations http://logs.openstack.org/27/576927/35/check/build-placement-api-ref/24b1ab2/html/#update-allocations22:33
mriedemas optional and not used22:33
mriedembtw, mocking around RetryDecorator blows22:34
openstackgerritEric Fried proposed openstack/nova master: Mention (unused) RP generation in POST /allocs/{c}  https://review.openstack.org/59730422:37
efriedmriedem, jaypipes: cdent: ^22:38
efriedmriedem: Yes, mocking RetryDecorator threading bs is why I wound up going with retrying.22:39
mriedemquestion inline in that one22:43
efriedmriedem: Responded. You're correct. It's good as is.22:49
efriedō/ See y'all tomorrow22:50
openstackgerritmelanie witt proposed openstack/nova-specs master: Propose configurable maximum number of volumes to attach  https://review.openstack.org/59730622:54
openstackgerritMerged openstack/nova master: Don't use '_TransactionContextManager._async'  https://review.openstack.org/59717323:34
openstackgerritMerged openstack/nova master: Revert "Don't use '_TransactionContextManager._async'"  https://review.openstack.org/59717423:34
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (4)  https://review.openstack.org/57410623:40
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (5)  https://review.openstack.org/57411023:40
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (6)  https://review.openstack.org/57411323:40
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (7)  https://review.openstack.org/57497423:41
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (8)  https://review.openstack.org/57531123:41
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (9)  https://review.openstack.org/57558123:41
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (10)  https://review.openstack.org/57601723:43
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (11)  https://review.openstack.org/57601823:44
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (12)  https://review.openstack.org/57601923:44
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (13)  https://review.openstack.org/57602023:44
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (14)  https://review.openstack.org/57602723:45
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (15)  https://review.openstack.org/57603123:45
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (16)  https://review.openstack.org/57629923:45
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (17)  https://review.openstack.org/57634423:46
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (18)  https://review.openstack.org/57667323:46
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (19)  https://review.openstack.org/57667623:46
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (20)  https://review.openstack.org/57668923:47
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (21)  https://review.openstack.org/57670923:47
openstackgerritTakashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (22)  https://review.openstack.org/57671223:48

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