Friday, 2019-12-13

*** avolkov has quit IRC00:03
*** zhanglong has joined #openstack-nova00:04
*** igordc has quit IRC00:12
*** Sundar has quit IRC00:17
*** brinzhang has joined #openstack-nova00:21
*** brinzhang has quit IRC00:22
*** brinzhang has joined #openstack-nova00:23
*** brinzhang_ has quit IRC00:23
*** dosaboy has joined #openstack-nova00:23
openstackgerritMerged openstack/nova stable/queens: Fix listing deleted servers with a marker  https://review.opendev.org/69072500:25
openstackgerritMerged openstack/nova master: trivial: Remove dead code  https://review.opendev.org/69870300:25
openstackgerritMerged openstack/nova master: support pci numa affinity policies in flavor and image  https://review.opendev.org/67407200:25
*** brinzhang has quit IRC00:25
*** brinzhang has joined #openstack-nova00:26
openstackgerritjichenjc proposed openstack/nova master: libvirt: avoid cpu check at s390x arch  https://review.opendev.org/69622800:26
brinzhangefried: Thanks, I send this to the ML :)00:26
*** mriedem has quit IRC00:32
*** tbachman has joined #openstack-nova00:32
*** brinzhang_ has joined #openstack-nova00:35
*** tobberydberg has quit IRC00:35
*** awalende has joined #openstack-nova00:36
*** johanssone has quit IRC00:36
*** tobberydberg has joined #openstack-nova00:37
*** brinzhang has quit IRC00:37
*** johanssone has joined #openstack-nova00:39
*** awalende has quit IRC00:41
*** rcernin has joined #openstack-nova00:48
*** zhanglong has quit IRC00:49
*** gyee has quit IRC00:52
*** zhanglong has joined #openstack-nova00:56
*** Liang__ has joined #openstack-nova00:59
*** ozzzo has joined #openstack-nova01:00
*** tbachman has quit IRC01:11
*** mlavalle has quit IRC01:31
*** zhanglong has quit IRC01:34
*** zhanglong has joined #openstack-nova01:37
*** larainema has joined #openstack-nova01:43
melwittjroll: thanks, I've started a ML thread to better organize my questions and get people's thoughts in one place http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011558.html cc TheJulia01:56
*** brinzhang has joined #openstack-nova01:59
*** brinzhang_ has quit IRC02:02
*** yikun has joined #openstack-nova02:15
*** lvbin02 has joined #openstack-nova02:16
luyaomriedem, efried : we don't patch anything on Intel OpenStack CI, it should be zuul problem02:16
*** lvbin01 has quit IRC02:19
*** lvbin02 is now known as lvbin0102:19
*** lvbin01 has quit IRC02:47
*** lvbin01 has joined #openstack-nova02:47
*** ociuhandu has joined #openstack-nova02:52
*** ociuhandu has quit IRC02:58
*** mkrai has joined #openstack-nova03:00
*** jbernard has left #openstack-nova03:04
*** mkrai has quit IRC03:13
*** mkrai_ has joined #openstack-nova03:13
*** psachin has joined #openstack-nova03:32
*** brinzhang_ has joined #openstack-nova03:35
*** brinzhang has quit IRC03:38
*** tbachman has joined #openstack-nova03:39
openstackgerritMykola Yakovliev proposed openstack/nova master: Validate aggregate IDs before querying database  https://review.opendev.org/69809403:53
*** bhagyashris has joined #openstack-nova03:54
*** zhanglong has quit IRC03:55
*** brinzhang has joined #openstack-nova04:09
*** zhanglong has joined #openstack-nova04:12
*** brinzhang_ has quit IRC04:12
openstackgerritMerged openstack/nova stable/rocky: Add functional recreate test for bug 1829479 and bug 1817833  https://review.opendev.org/69810604:13
openstackbug 1829479 in OpenStack Compute (nova) "The allocation table has residual records when instance is evacuated and the source physical node is removed" [Medium,In progress] https://launchpad.net/bugs/1829479 - Assigned to Matt Riedemann (mriedem)04:13
openstackbug 1817833 in OpenStack Compute (nova) "Check compute_id existence when nova-compute reports info to placement" [Medium,In progress] https://launchpad.net/bugs/1817833 - Assigned to Matt Riedemann (mriedem)04:13
*** zhanglong has quit IRC04:22
*** zhanglong has joined #openstack-nova04:24
*** udesale has joined #openstack-nova04:29
*** brinzhang_ has joined #openstack-nova04:32
*** brinzhang_ has quit IRC04:33
*** brinzhang_ has joined #openstack-nova04:34
*** zhanglong has quit IRC04:34
*** brinzhang has quit IRC04:35
*** brinzhang_ has quit IRC04:35
*** brinzhang_ has joined #openstack-nova04:36
*** zhanglong has joined #openstack-nova04:36
*** awalende has joined #openstack-nova04:36
*** brinzhang_ has quit IRC04:37
*** brinzhang_ has joined #openstack-nova04:38
*** awalende has quit IRC04:41
*** psachin has quit IRC04:48
*** zainub_wahid has joined #openstack-nova05:11
*** links has joined #openstack-nova05:44
*** yikun has quit IRC05:45
*** shilpasd has quit IRC05:59
*** pcaruana has joined #openstack-nova06:02
*** udesale has quit IRC06:25
*** zhanglong has quit IRC07:06
*** zhanglong has joined #openstack-nova07:08
*** logan- has quit IRC07:09
*** logan_ has joined #openstack-nova07:10
*** logan_ is now known as logan-07:10
*** lpetrut has joined #openstack-nova07:24
*** brinzhang_ has quit IRC07:26
*** damien_r has quit IRC07:28
*** mkrai_ has quit IRC07:37
*** rcernin has quit IRC07:41
*** tesseract has joined #openstack-nova07:43
*** mkrai has joined #openstack-nova07:53
*** zhanglong has quit IRC07:56
*** zhanglong has joined #openstack-nova07:58
*** andrewbogott has joined #openstack-nova08:00
*** zhanglong has quit IRC08:02
*** zhanglong has joined #openstack-nova08:04
*** zhanglong has quit IRC08:16
*** awalende has joined #openstack-nova08:19
*** slaweq has quit IRC08:21
*** tetsuro has quit IRC08:25
openstackgerritjichenjc proposed openstack/nova master: libvirt: avoid cpu check at s390x arch  https://review.opendev.org/69622808:30
openstackgerritMerged openstack/nova master: Follow up to I5b9d41ef34385689d8da9b3962a1eac759eddf6a  https://review.opendev.org/69802808:32
*** jangutter has joined #openstack-nova08:33
*** iurygregory has joined #openstack-nova08:33
*** tosky has joined #openstack-nova08:40
*** damien_r has joined #openstack-nova08:41
*** slaweq has joined #openstack-nova08:42
*** FlorianFa has quit IRC08:49
*** ralonsoh has joined #openstack-nova08:49
*** spatel has joined #openstack-nova08:50
*** spatel has quit IRC08:54
openstackgerritGuo Jingyu proposed openstack/nova master: Define and catch InstanceAgentNotRunning for set-password failure  https://review.opendev.org/66146608:56
*** FlorianFa has joined #openstack-nova09:01
*** maciejjozefczyk has joined #openstack-nova09:03
*** FlorianFa has quit IRC09:09
*** rcernin has joined #openstack-nova09:14
*** martinkennelly has joined #openstack-nova09:17
*** tkajinam has quit IRC09:19
*** FlorianFa has joined #openstack-nova09:22
*** mdbooth has joined #openstack-nova09:24
*** Liang__ has quit IRC09:28
*** derekh has joined #openstack-nova09:30
*** jmlowe has quit IRC09:35
*** jmlowe has joined #openstack-nova09:38
*** yoctozepto has joined #openstack-nova09:40
yoctozeptomorning09:42
yoctozeptoI assigned https://bugs.launchpad.net/nova/+bug/1856296 to nova, mostly to let you know, not sure if you can do too much about it, other than letting users know they might be impacted on upgrades09:42
openstackLaunchpad bug 1856296 in kolla-ansible "upgrade to Train might fail due to mariadb row format" [Critical,Triaged]09:42
*** rcernin has quit IRC09:53
openstackgerritGuo Jingyu proposed openstack/nova master: Make scheduling more debuggable  https://review.opendev.org/69842109:54
*** salmankhan has joined #openstack-nova10:06
*** salmankhan1 has joined #openstack-nova10:22
*** salmankhan has quit IRC10:25
*** salmankhan1 is now known as salmankhan10:25
*** chenhaw has quit IRC10:35
*** dpawlik has joined #openstack-nova10:51
*** dpawlik has quit IRC10:57
*** dpawlik has joined #openstack-nova10:58
*** ociuhandu has joined #openstack-nova11:14
*** mkrai has quit IRC11:14
openstackgerritStephen Finucane proposed openstack/nova master: db: Drop tables for removed services, features  https://review.opendev.org/69870611:25
openstackgerritStephen Finucane proposed openstack/nova master: WIP: db: Remove placement tables  https://review.opendev.org/69870711:25
openstackgerritStephen Finucane proposed openstack/nova master: db: Remove unused ec2 DB APIs  https://review.opendev.org/69888011:25
openstackgerritStephen Finucane proposed openstack/nova master: db: Remove unused models  https://review.opendev.org/69888111:25
*** ociuhandu has quit IRC11:26
*** ociuhandu has joined #openstack-nova11:27
*** mkrai has joined #openstack-nova11:30
*** ociuhandu has quit IRC11:31
*** tbachman has quit IRC11:45
*** jangutter has quit IRC11:47
*** jangutter_ has joined #openstack-nova11:47
*** zainub_wahid has quit IRC11:51
*** ociuhandu has joined #openstack-nova11:51
*** bhagyashris has quit IRC11:52
*** ociuhandu has quit IRC11:53
*** ociuhandu has joined #openstack-nova11:53
gibistephenfin: hi! what do you think about https://review.opendev.org/#/c/696574/10/nova/objects/instance.py@1239 ? shall I move this whole thing back to utils?11:58
stephenfingibi: I guess if there's nowhere better, you've no choice :)11:59
stephenfinnova/compute/utils.py though, rather than nova/utils.py11:59
*** dtantsur|afk is now known as dtantsur12:02
*** nicolasbock has joined #openstack-nova12:04
gibistephenfin: ack. moving12:07
* gibi is sad to redo things but that is life12:07
*** kozhukalov has joined #openstack-nova12:22
*** mgoddard has quit IRC12:30
*** ociuhandu has quit IRC12:33
*** ociuhandu has joined #openstack-nova12:34
*** ociuhandu has quit IRC12:38
*** mgariepy has joined #openstack-nova12:40
openstackgerritStephen Finucane proposed openstack/nova master: Revert "(Temporarily) readd bare support for py27"  https://review.opendev.org/69889012:42
stephenfintosky: we're good to merge that now, right? ^12:42
sean-k-mooneythat drops support again since m1 was yesterday?12:43
stephenfinofficially, yeah12:43
stephenfinit prevents you installing nova under python 2.712:43
stephenfinpip will spit the dummy out12:43
sean-k-mooneyoh i know what the patch does12:43
sean-k-mooneyi was just checking m1 was yesterday12:44
sean-k-mooneyi was 99% sure it was12:44
sean-k-mooneyalso that is such an irish saying12:44
*** ociuhandu has joined #openstack-nova12:46
*** kozhukalov has quit IRC12:48
*** ociuhandu has quit IRC12:48
*** kozhukalov has joined #openstack-nova12:48
*** spatel has joined #openstack-nova12:48
openstackgerritStephen Finucane proposed openstack/nova master: Revert "(Temporarily) readd bare support for py27"  https://review.opendev.org/69889012:49
openstackgerritStephen Finucane proposed openstack/nova master: Remove remaining Python 2.7-only dependencies  https://review.opendev.org/69889512:49
*** ociuhandu has joined #openstack-nova12:49
sean-k-mooneystephenfin: abandoned by typeing module fixes you flake 8 changes already cover that right12:49
stephenfinyup12:49
sean-k-mooneyactully i really dont like the if False12:50
sean-k-mooneycan you just convert the comments in the native form and import them normally12:50
sean-k-mooneyor import them normally and add the #noqa12:50
sean-k-mooneyto silence the unused import thing12:51
stephenfinOnce we merge https://review.opendev.org/698890. yup12:51
stephenfinFeel free to -1 to remind me :)12:51
sean-k-mooneyoh your right py2712:51
sean-k-mooneyya we should merge that :)12:51
stephenfinand now, I'm nearly an hour late for lunch, but at least X-cell resize is reviewed finally. bbiab12:52
*** ociuhandu has quit IRC12:52
*** ociuhandu has joined #openstack-nova12:52
*** ociuhandu has quit IRC12:52
*** lbragstad_ has quit IRC12:53
*** ociuhandu has joined #openstack-nova12:54
openstackgerritjichenjc proposed openstack/nova master: libvirt: avoid cpu check at s390x arch  https://review.opendev.org/69622812:54
*** spatel has quit IRC12:55
*** ociuhandu has quit IRC12:59
toskystephenfin: uhm, maybe13:06
* tosky try to imagine possible unexpected side effects at this point13:06
*** tbachman has joined #openstack-nova13:06
*** tobiash has joined #openstack-nova13:18
*** nweinber has joined #openstack-nova13:18
*** Sundar has joined #openstack-nova13:19
*** gshippey has quit IRC13:20
*** mgoddard has joined #openstack-nova13:21
tobiashhi, I'd like to revive discussion on this nova-spec which was proposed for rocky and abandoned: https://review.opendev.org/572805. What is the preferred way of doing this? Shall I create a new change or ask a nova-core to hit the restore button?13:21
*** larainema has quit IRC13:21
gibitobiash: restored the spec. Please update it (e.g. move it to the ussuri dir at least)13:23
tobiashgibi: thank you very much!13:23
sean-k-mooneytobiash: you will need to add the new feature liason field at a minium to get it to pass the gate checks13:24
sean-k-mooneythere is a description of that in the readme13:24
tobiashsean-k-mooney: thanks for the hint13:24
sean-k-mooneythere may be some other template changes too but i think that is the main one since rocky13:24
openstackgerritEric Xie proposed openstack/nova master: Fix error when live-migrating instance cause of gic version  https://review.opendev.org/69890513:26
*** jangutter_ is now known as jangutter13:30
openstackgerritTobias Henkel proposed openstack/nova-specs master: Add spec for downloading images via RBD  https://review.opendev.org/57280513:38
*** awalende has quit IRC13:42
*** awalende has joined #openstack-nova13:42
*** maciejjozefczyk has quit IRC13:43
*** maciejjozefczyk has joined #openstack-nova13:45
*** awalende has quit IRC13:46
*** awalende has joined #openstack-nova13:47
*** lbragstad has joined #openstack-nova13:48
*** awalende_ has joined #openstack-nova13:48
*** awalende_ has quit IRC13:51
*** nweinber has quit IRC13:51
*** awalende has quit IRC13:52
openstackgerritMatthew Booth proposed openstack/nova master: Don't retry database connections from command line applications  https://review.opendev.org/66689213:54
*** mriedem has joined #openstack-nova14:00
mriedemefried: have you seen this? https://bugs.launchpad.net/nova/+bug/185631114:01
openstackLaunchpad bug 1856311 in OpenStack Compute (nova) "server_external_events response status is always 'completed' instead of event status which requested as failed" [Undecided,New]14:01
*** mlavalle has joined #openstack-nova14:02
efriedmriedem: nope, /me clicks14:03
efriedwhat, now that I'm a server-external-events expert?14:04
mriedemyes you own it now14:04
mriedembut it looks like it's not what i thought they were complaining about14:04
efriedI haven't looked at the novaclient shim at all yet14:04
sean-k-mooneyis that valid? i would have assuemd that status faild for network-vif-plugged ment the pluggin failed14:05
sean-k-mooneyand code 200 ment the event was sucessfully recieved?14:05
sean-k-mooneyi dont actully know if that is how it works14:06
sean-k-mooneyoh sorry read that wrong14:06
mriedemhttps://github.com/openstack/nova/blob/e6f742544432d6066f1fba4666580919eb7859bd/nova/api/openstack/compute/server_external_events.py#L13314:09
mriedemit's working as designed14:09
mriedemcompleted == we got the event and we're sending it on for processing, thanks for calling14:09
sean-k-mooneyya i think so too was just readin the api ref14:09
mriedemdansmith: correct ^?14:09
mriedemlaura did rub cbd oil all over my lower back this morning though so i might just be like super duper high14:09
*** lpetrut has quit IRC14:11
sean-k-mooneymellow maybe cbd does not have the more interesing sideeffects14:11
mriedemheh, i know, but it's a ruse i like to play on my wife like i have no idea and i'm 8514:12
*** mmethot has joined #openstack-nova14:13
*** awalende has joined #openstack-nova14:13
*** awalende has quit IRC14:17
efriedgibi, stephenfin: Will y'all have a chance to look at the vTPM spec today?14:18
efriedhttps://review.opendev.org/#/c/686804/14:18
efriedI'm supposed to be vacationing starting next week...14:18
*** ociuhandu has joined #openstack-nova14:19
gibiefried: sorry. I will not have the chance today14:19
gibiefried: or at least I cannot promise14:20
efriedokay.14:20
stephenfinAfraid I'm in the same boat. Stuck with internal stuff :(14:22
efriedOkay.14:22
*** ociuhandu has quit IRC14:24
sean-k-mooneyif i get this backport done soon ill try to look at it again that said i think its going to be pretty close jsut reading your comments14:24
efriedthanks sean-k-mooney14:26
*** ociuhandu has joined #openstack-nova14:27
dansmithmriedem: completed in the return from the api means "got it dude" yes.. but status in the actual event body is the external service telling nova (i.e. compute) if something worked or not14:31
mriedemright14:32
mriedemhey nova, this event failed; ok, ack14:32
*** links has quit IRC14:32
dansmithyup14:32
*** ociuhandu has quit IRC14:33
*** nweinber has joined #openstack-nova14:34
*** maciejjozefczyk_ has joined #openstack-nova14:36
mriedemstephenfin: thanks for hitting all of those cross-cell resize changes14:37
*** lpetrut has joined #openstack-nova14:38
*** tbachman has quit IRC14:38
*** maciejjozefczyk has quit IRC14:39
*** igordc has joined #openstack-nova14:40
*** tbachman has joined #openstack-nova14:42
stephenfinmriedem: np14:45
stephenfinIt was pretty much just functional tests once I got past the remaining conductor tasks. Need to go find someone else now :)14:45
*** dviroel has joined #openstack-nova14:47
*** derekh has quit IRC14:48
*** artom has joined #openstack-nova14:50
*** gshippey has joined #openstack-nova14:52
*** iurygregory has quit IRC14:52
*** tbachman has quit IRC14:55
*** kozhukalov has quit IRC14:56
*** links has joined #openstack-nova14:58
openstackgerritEric Fried proposed openstack/nova master: DRY: Build ImageMetaPropsPayload from ImageMetaProps  https://review.opendev.org/69880315:02
KeithMnemonicdansmith: Thanks for pushing that patch through. Do you think you could please also do that last cherry pick in that set? https://review.opendev.org/#/c/690735/215:10
dansmithare we still doing stuff for pike?15:11
dansmithmriedem:15:11
*** tbachman has joined #openstack-nova15:11
mriedemit's in EM (as is queens) so we can if people have a need,15:13
mriedemi know suse cares about it and so does ericsson since they have products based on pike15:13
mriedemand as you know rhosp cares about queens (or at least the internal CI/CD stuff at RHOSP cares about queens)15:13
dansmithyeah, already did the queens one15:13
dansmithEM means "we can throw anything in there anyone cares about without inspecting it or worrying about breakage" right?15:14
mriedemheh, not really15:14
mriedemit just means it's there if people want a common place to backport, we can merge things, but we don't have to15:15
dansmithKeithMnemonic: can you please +1 those patches with "I stake my reputation on the fitness of this patch as I have tested it fully" ?15:15
mriedemhttps://docs.openstack.org/project-team-guide/stable-branches.html#extended-maintenance15:15
dansmithmriedem: right, I thought we said EM would be like a dumping ground, where we wouldn't try to keep tests working, etc15:15
mriedem"There is no statement about the level of testing and upgrades from Extended Maintenance are not supported within the Community."15:16
mriedemi wouldn't say we don't try,15:16
mriedembut we don't bend over backwards15:16
mriedemif tests are failing for some reason and there is a trivial way to fix, sure, but if things are chronically busted and no one is working on it or it's a lot of work then it's fine to EOL15:16
*** links has quit IRC15:17
mriedemiow, EM == best minimal effort, buyer beware15:17
Sundarefried: Re. https://review.opendev.org/#/c/631244/51/nova/conductor/manager.py@1578, when you say: "FWIW, I still don't like this.", what is 'this'?15:17
mriedemdansmith: i've also told KeithMnemonic that suse can just cherry-pick those for their internal pike series and not be blocked on us15:18
dansmithmriedem: yeah, it'd be nice if he'd at least +1 that he wants them and that they've confirmed they're good or something15:18
KeithMnemonicdansmith let me test in on a pike cloud i have and will update the bug.15:18
KeithMnemonicmriedem: we have that cherry pick ready locally if needed15:19
dansmithKeithMnemonic: you haven't actually tested these?15:19
KeithMnemonicbut since the patch is still there and not pulled i figured it would be best to see if it can go in upstream15:19
KeithMnemonici did15:19
KeithMnemonicon rocky15:19
KeithMnemoniclet me go back and do pike as well15:20
KeithMnemonicit wont take me long15:20
dansmithyeah, that's not the same15:20
mriedemnote that in at least one case i'm aware of, we had merged a backport to rocky and someone from canonical came back to me later saying it didn't actually fix the bug and they were right and we needed to follow up with a rocky only fix15:20
KeithMnemonicok fair enough15:20
mriedemso, it happens15:20
KeithMnemonicso that is funny, sort of i just got merged a cheey pick for a missing "prev" button on the horzion instance panel, that is actually broken in master15:21
efriedSundar: I don't like "Hey, also send a required trait asserting that the compute is capable of accelerator stuff, because the fact that it's exposing inventory isn't sufficient"15:22
dansmithefried: it's not exposing inventory, cyborg is exposing the inventory, right?15:23
KeithMnemonicand mriedem they are telling me it is due to nova api behavior ;-)15:23
efrieddansmith, Sundar: If a rogue external agent (whether it's cyborg, neutron, random $service, an admin) goes around adding shit to the provider tree, all bets are off as far as I'm concerned.15:23
Sundarefried: The trait can be used by Cyborg to not publish inventory.15:23
efriedYes, that ^ is cyborg not being rogue, and it is sufficient IMO.15:23
efrieddansmith wants to not trust cyborg et al that far.15:24
dansmithefried: then we should do a service version check15:24
*** iurygregory has joined #openstack-nova15:24
Sundarefried: does that not apply to any trait?15:24
efriedI'm not going to block on this. I appreciate the reasoning. I just don't like it. So you can ignore that part and focus on the "if you're going to do it, you need to do it this way" part of the comment.15:24
dansmithefried: we have gone a long way with not breaking our internal RPC APIs, please give that the credit due, and let's use the tools (any of them) that we have to keep those guarantees strong15:24
Sundardansmith: We discussed 2 changes: A. Per-ARQ events B. Handling old compute nodes, one option being trait usage. I can do Part A now. Are you ok with that partial update?15:27
SundarPart B perhaps requires more discussion, and Ill do that later15:28
dansmithSundar: there are multiple parts of B that need to be done, the trait so that at least cyborg can tell, and then the second part is what we do on the nova side.. exposing the trait is not contentious, so you should do that15:28
*** spatel has joined #openstack-nova15:29
openstackgerritMatt Riedemann proposed openstack/nova master: Fix accumulated non-docs nits for cross-cell-resize series  https://review.opendev.org/69893515:29
dansmithif you want to wait until january I will be glad to write the hard service version check15:29
mriedemthis kind of hard service version check when the trait isn't available? https://review.opendev.org/#/c/695220/4/nova/compute/api.py@393815:31
Sundardansmith: OK. Just to be clear, you don't see the point in reviewing A alone now?15:32
stephenfinsmcginnis: Didn't you have a patch for the requirements tooling to allow me to do this? https://review.opendev.org/#/c/698895/1/doc/requirements.txt15:33
stephenfinI was sure you did but I can't find it15:33
dansmithSundar: you can just do A and -W it if you want15:33
dansmithSundar: today is my last day in the office so it won't likely get done until Jan anyway15:33
openstackgerritMerged openstack/nova master: Move _get_request_group_mapping() to RequestSpec  https://review.opendev.org/69654115:34
dansmithmriedem: yes, that's the sort of thing I'm trying to convince efried is important15:34
dansmithmriedem: the assertion is that cyborg should not add inventory for accels until the computes are upgraded, and that's enough  to not break nova's internal and external APIs, and I'd rather us do our own internal check15:34
dansmithsince we have the tools and it's trivial to do15:35
smcginnisstephenfin: Yes, that merged, but I think unfortunately you still need to keep the python_version marker.15:35
dansmiththe cyborg logic could easily be wrong, removed, altered, etc15:35
stephenfinsmcginnis: Ah, I thought it was fixed because [1] passed. Turned out that didn't run the requirements job /o\ [1] https://review.opendev.org/#/c/697004/15:36
smcginnisHere's the requirements change: https://review.opendev.org/#/c/693631/15:36
efrieddansmith: in mriedem's example, he's going to remove the RPC version check once we can count on the compute exposing the trait.15:37
stephenfinsmcginnis: Thanks. Would a change to make the 'python_version' things optional if 'python_version' > 3.x make sense?15:37
stephenfinThinking out loud15:37
efrieddansmith: But he only needs that because the thing he's checking was still possible in a previous version; it just wasn't advertised via the trait.15:38
smcginnisYeah, I think so. That will give us a transition path away from py2 completely.15:38
efrieddansmith: so in this case we actually only need the trait check there.15:38
stephenfinKewl. I'll tackle that Monday15:38
stephenfinCheers :)15:38
smcginnisstephenfin: +115:38
dansmithefried: as I said, I'm happy to check the trait15:39
efriedMy point is, if we do it that way, we don't need to muck with RPC at all. (For that reason -- we may still want to muck with it to pass the arqs across the wire.)15:39
dansmithefried: I think maybe there is some confusion going on15:40
dansmithefried: there are three things we could do here to provide an internal-to-nova check:15:40
efriedThe thing I was objecting to earlier was having to tack that same trait onto every GET /a_c. But meh, as long as you do it with root_required I'm content.15:40
dansmith1. Check the trait, or just put that in the request to placement15:40
dansmith2. Check the service version15:41
dansmith3. Put it into the RPC request and depend on the RPC layer to not send if not allowed15:41
*** spatel has quit IRC15:41
dansmithI think #3 is the right answer, but I've already said that I won't block on it, but I think we should do either 1a, 1b, or 215:41
dansmithall of which are trivially easy because we have infrastructure to make it so15:41
dansmithif 1b (ask placement for the trait) is bad for some reason, then fine, although it seems like the least amount of overhead to me15:42
efriedYes, I agree with you.15:42
efriedAre you also agreeing that 1b makes 1a/2/3 unnecessary?15:42
efriedIf we can agree on that, then I'll get fully behind 1b.15:43
dansmithI'm asking for one of those four options15:43
efriedcool15:43
dansmithI thought you didn't want 1b?15:43
efriedSundar: I retract my objection to 1b.15:43
efriedI didn't, but now I do.15:43
dansmithman I'm glad we're not local15:43
efriedWhat, you gonna put clorox in my coffee?15:43
dansmithI'd smack you, you'd punch me, our lawyers would get boats15:43
openstackgerritMatt Riedemann proposed openstack/nova master: Use COMPUTE_SAME_HOST_COLD_MIGRATE trait during migrate  https://review.opendev.org/69522015:44
efriedI don't punch.15:44
efriedI thought you were asking for multiple redundant checks.15:44
dansmithkarate chop15:44
efriednow you're deliberately goading me15:44
dansmithmriedem can cue up a youtube of the final scene of karate kid15:44
dansmithefried: the only duplicity (which I don't consider duplicity) is us backing up the proper behavior of cyborg with a check, tht's all15:45
mriedemhttps://www.youtube.com/watch?v=oomCIXGzsR015:45
*** kozhukalov has joined #openstack-nova15:46
dansmithmriedem: right, thanks15:46
Sundardansmith: efried: So, we are all agreed on 1b: Nova compute publishes a trait, Nova scheduler uses that in Placement query, we all party. Right?15:47
dansmithI'm not partying with either of you, but yes, I'm fine with that15:47
*** lbragstad has quit IRC15:47
mriedemit occurs to me that daniel's secret is the same as defeating bald bull in punch out15:48
Sundardansmith: efried: Re. the idea that Cyborg should not publish inventory till n-c15:48
Sundarunrequited? ;)15:48
*** lpetrut has quit IRC15:48
efriedSundar: ...till n-c advertises the trait. And yes, 1b.15:50
Sundarefried: From an operator's POV, if the inventory gets published, she'd know at least that the devices are good and Cyborg is functioning, and they should look elsewhere to get the system functional.15:51
efriedI can live with that.15:53
Sundarefried: dansmith: Ok I'll put in the trait definition. The changes for 1b presumably go in my current patch series.15:55
efriedyes15:55
dansmithonce the trait is there, it should be one line I'd think15:55
efriedso you'll need the os-traits chain15:55
efrieddansmith: I'm not actually sure where that line will go. But he also needs to bump the GET /a_c microversion.15:55
efried...which is like 12 lines.15:55
efried(including test)15:56
dansmithefried: why does he need a bump?15:56
*** kozhukalov has quit IRC15:56
efriedBecause the trait needs to go into root_required. I'm not going to accept new code that hacks it into the unnumbered request group anymore.15:56
dansmithoh, okay.. we have traits requested now of course, but I guess the point is this is a complicated request15:57
dansmithwell, service version check is pretty small and no external dependencies, but.. :)15:57
*** eharney has joined #openstack-nova15:57
efriedthe traits cyborg is requesting today are going into the device profile request groups, which isn't where this capability trait is.15:57
efriedAnd the place those request groups are being built from is kinda far from where the root_required will need to be put in.15:58
efriedwhich is why I said "not sure where that will go".15:58
dansmithaight15:58
efriedbut this is all very solvable, and moves the ball forward wrt using placement features for what we made them for.15:58
dansmithack15:58
efriedviz. string suffixes and rg/rp mappings15:59
dansmithefried: could we do the microversion bump early in the series and get that merged so we don't add a piece to Sundar's puzzle?15:59
efriedfor sure15:59
efriedI can probably work on that.15:59
efriedSundar: ^15:59
dansmiththat would be good, and would be moving the ball a little instead of increasing the weight of the ball15:59
efriedI'll try to hack it up this afternoon.15:59
Sundarefried: dansmith: Thanks16:00
efriedsean-k-mooney: Are you about today? If not, I can fix up that func test on the image props sync patch and get that moving forward.16:00
sean-k-mooneyim around for about an hour but i wont get to it before i head to a team dinner16:01
efriedokay. It'll be trivial 1c changes to half a dozen test cases, so I'll still feel good about +2ing.16:01
sean-k-mooneyoh i forgot to update the notification samples16:03
sean-k-mooneythe notifiction really are a pain16:04
*** bnemec is now known as beekneemech16:06
efriedyeah, I'm sure they're not worth the trouble.16:07
openstackgerritEric Fried proposed openstack/nova master: Sync ImageMetaPropsPayload fields  https://review.opendev.org/69861316:08
efriedsean-k-mooney: ^16:08
sean-k-mooney:) i was just trying to run them locally to reporduce but ill go back to backporting. thanks16:08
*** ociuhandu has joined #openstack-nova16:09
openstackgerritEric Fried proposed openstack/nova master: DRY: Build ImageMetaPropsPayload from ImageMetaProps  https://review.opendev.org/69880316:11
efriedsean-k-mooney: and ^16:11
dansmithmriedem: are you about to push a change to this? https://review.opendev.org/#/c/638046/56/nova/conductor/tasks/cross_cell_migrate.py16:11
efriedgibi, dansmith: That should be an easy win if you could take a quick look16:11
efriedhttps://review.opendev.org/69880316:11
mriedemdansmith: no those are fup'ed already https://review.opendev.org/#/c/698935/16:11
dansmithah okay16:11
*** efried is now known as efried_afk16:12
mriedemstephenfin: this is probably in your wheelhouse https://bugs.launchpad.net/oslo.config/+bug/185631216:14
openstackLaunchpad bug 1856312 in oslo.config "RuntimeError during calling log_opts_values" [Undecided,New]16:14
*** igordc has quit IRC16:15
*** dpawlik has quit IRC16:20
*** nweinber has quit IRC16:24
stephenfinmriedem: 185631216:24
stephenfinwhoops. https://review.opendev.org/69895416:24
stephenfinoh yeah16:25
*** stephenfin is now known as finucannot16:25
dansmithmriedem: check my comment here: https://review.opendev.org/#/c/638046/5616:26
*** gyee has joined #openstack-nova16:26
*** damien_r has quit IRC16:32
*** tbachman has quit IRC16:32
mriedemdansmith: replied16:33
*** ociuhandu has quit IRC16:36
dansmithmriedem: ack16:36
*** ociuhandu has joined #openstack-nova16:36
*** mkrai has quit IRC16:40
*** ociuhandu has quit IRC16:40
*** kozhukalov has joined #openstack-nova16:41
openstackgerritSundar Nadathur proposed openstack/os-traits master: Add a trait that compute manager can handle accelerator requests.  https://review.opendev.org/69896116:49
finucannotdansmith: I'm heading off, but can you make sure you're happy with https://review.opendev.org/698890 before you leave for the year?16:49
finucannotgmann should probably look at it too, but I think the main concern about us breaking the DevStack default has been resolved now16:50
dansmithfinucannot: I skimmed it earlier, it's just reverting the stuff now that the devstack default is py3 yeah/16:50
finucannot'zactly16:50
dansmithack fine with me16:51
finucannotta16:51
dansmithbut yeah, gmann16:51
*** nweinber has joined #openstack-nova16:51
mriedemwe might want to consider taking the boot_index part of this spec and doing it on its own https://specs.openstack.org/openstack/nova-specs/specs/train/approved/detach-boot-volume.html#proposed-change since there is some confusion going on in -sdks about knowing when a server is volume-backed or not16:51
finucannotagreed16:51
mriedemand twould be helpful if we exposed the boot_index of the attached volumes16:51
finucannotdansmith: have a good one 🎄16:51
dansmitho/16:51
* finucannot -> đŸ»16:51
*** finucannot is now known as stephenfin16:51
gmanndansmith: stephenfin +116:52
gmannits m-1 also so is anyone is break its time foe them to merge the py2 drop patch.16:53
*** mlavalle has quit IRC16:53
*** tesseract has quit IRC16:53
mriedemdansmith: is there a standard way to check the type on a field?16:53
dansmithmriedem: isinstance16:53
mriedemheh yeah i was doing if isinstance(field, fields.ObjectField) but that didn't work16:53
mriedemso i did value = getattr(target_obj, field) and if isinstance(value, fields.ObjectField): but that doens't work either16:54
dansmithshould work16:54
dansmithmriedem: https://github.com/openstack/nova/blob/master/nova/objects/instance.py#L77316:54
mriedemok i'll tinker, got a call with HR in 5 minutes16:54
dansmithoh I see what you're doing16:54
*** mlavalle has joined #openstack-nova16:54
dansmiththe actual data isn't in the field, the field is in obj_fields16:55
mriedemyeah http://paste.openstack.org/show/787566/16:55
mriedemoh nvm16:55
mriedemi see16:55
mriedemobj_fields yields the field name16:56
dansmithobj_fields is a dict,16:56
dansmithso you need to either get the field by name or iterate over the values()16:56
mriedem@property16:57
mriedem    def obj_fields(self):16:57
mriedem        return list(self.fields.keys()) + self.obj_extra_fields16:57
mriedemfields is the dict16:57
mriedemso yeah i've got you16:57
*** ociuhandu has joined #openstack-nova16:59
*** mkrai has joined #openstack-nova17:06
*** ociuhandu has quit IRC17:17
*** jangutter has quit IRC17:25
mriedemhuh, i was trying to use the test_objects.MyObj for my test and that was failing the 'field in target_obj' checks but changed to Instance with a nested Flavor and it's working now, so go figure17:25
openstackgerritMatt Riedemann proposed openstack/nova master: Fix accumulated non-docs nits for cross-cell-resize series  https://review.opendev.org/69893517:26
*** dklyle has quit IRC17:26
*** david-lyle has joined #openstack-nova17:26
*** openstackgerrit has quit IRC17:29
*** dviroel has quit IRC17:30
*** mvkr has quit IRC17:34
*** sapd1 has quit IRC17:34
*** kozhukalov has quit IRC17:35
*** openstackgerrit has joined #openstack-nova17:37
openstackgerritMatt Riedemann proposed openstack/nova master: api-ref: avoid mushy wording around server.image description  https://review.opendev.org/69897617:37
openstackgerritSundar Nadathur proposed openstack/os-traits master: Add a trait that compute manager can handle accelerator requests.  https://review.opendev.org/69896117:37
*** lbragstad has joined #openstack-nova17:39
openstackgerritMatt Riedemann proposed openstack/nova master: api-ref: avoid mushy wording around server.image description  https://review.opendev.org/69897617:39
*** dtantsur is now known as dtantsur|afk17:40
*** mriedem is now known as mriedem_away17:42
*** cmurphy is now known as cmorpheus17:43
*** Sundar is now known as DarthNau17:49
*** damien_r has joined #openstack-nova17:52
*** damien_r has quit IRC17:53
*** damien_r has joined #openstack-nova17:53
*** iurygregory has quit IRC17:55
*** melwitt is now known as jgwentworth17:57
*** DarthNau has quit IRC18:01
*** damien_r has quit IRC18:10
*** martinkennelly has quit IRC18:10
openstackgerritBalazs Gibizer proposed openstack/nova master: Move _update_pci_request_spec_with_allocated_interface_name  https://review.opendev.org/69657418:13
*** links has joined #openstack-nova18:13
openstackgerritBalazs Gibizer proposed openstack/nova master: Support live migration with qos ports  https://review.opendev.org/69590518:14
*** tbachman has joined #openstack-nova18:18
*** lyarwood has quit IRC18:19
*** dviroel has joined #openstack-nova18:22
gibiefried_afk: I'm +2 on the vtpm spec (thanks to my nephew who let me read the diff while watching back to the future 3)18:22
*** eharney has quit IRC18:23
*** ralonsoh has quit IRC18:30
openstackgerritGhanshyam Mann proposed openstack/nova-specs master: [ussuri][goal] Drop python 2.7 support  https://review.opendev.org/69898818:38
*** lbragsta_ has joined #openstack-nova18:41
*** lbragstad has quit IRC18:41
*** links has quit IRC18:42
*** tosky has quit IRC18:57
*** awalende has joined #openstack-nova19:01
*** igordc has joined #openstack-nova19:05
*** awalende has quit IRC19:06
openstackgerritMerged openstack/nova master: Add confirm_snapshot_based_resize conductor RPC method  https://review.opendev.org/63707519:14
KeithMnemonicdansmith I updated that change with my +1 after verifying the fix in Pike and added you as a reviewer. Thanks for your help!19:18
*** eharney has joined #openstack-nova19:27
dansmithack19:29
*** mriedem_away has quit IRC19:29
*** mriedem has joined #openstack-nova19:31
*** lbragsta_ is now known as lbragstad19:31
efried_afkgibi: thanks!19:32
*** efried_afk is now known as efried19:32
*** lbragsta_ has joined #openstack-nova19:40
*** maciejjozefczyk_ has quit IRC19:41
*** lbragstad has quit IRC19:43
*** nicolasbock has quit IRC19:43
openstackgerritEric Fried proposed openstack/nova master: DRY: Build ImageMetaPropsPayload from ImageMetaProps  https://review.opendev.org/69880319:46
openstackgerritMatt Riedemann proposed openstack/nova master: doc: define boot from volume in the glossary  https://review.opendev.org/69900919:54
efriedgmann: are you keeping up with your own drop-py27-support patches or are repo owners expected to pick them up?19:55
efriedSpecifically https://review.opendev.org/#/c/698988/ -- I don't mind editing it, just lmk19:56
gmannefried: owner first if they do not do then i push19:56
openstackgerritEric Fried proposed openstack/nova-specs master: [ussuri][goal] Drop python 2.7 support  https://review.opendev.org/69898819:57
efriedgmann: okay, I updated ^19:57
efriedand +2ed19:57
efriedoh19:58
gmannefried: that might fail. requirement check job is adjusted for py2 requirement matches only19:58
efriedThat was, apparently, wrong.19:58
efriedI don't know that the nova-specs repo has requirements check tho19:58
efriedI wouldn't expect it to.19:58
efriedAnd dropping py2 "support" from nova-specs is a bit pro forma anyway :P19:58
gmannah yeah. as long as it pass it is fine19:59
*** mkrai has quit IRC19:59
gmannat the end all py3 specifier will be cleanup too19:59
efriedyeah, looking at the previous run, it's only pep8 and docs.19:59
efriedso it ought to work.20:00
*** salmankhan has quit IRC20:00
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: Add --dry-run option to heal_allocations CLI  https://review.opendev.org/69852520:06
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: Add --instance option to heal_allocations  https://review.opendev.org/69852920:06
openstackgerritMatt Riedemann proposed openstack/nova stable/rocky: Add BFV wrinkle to TestNovaManagePlacementHealAllocations  https://review.opendev.org/69853120:06
*** kozhukalov has joined #openstack-nova20:10
*** gmann is now known as gmann_afk20:13
mriedemefried: i replied for gibi on https://review.opendev.org/#/c/696574/ - see if that answers your question20:17
efriedthanks mriedem, +A20:19
efriedmriedem: wanna hit this trivial +A? https://review.opendev.org/69898820:19
*** tbachman has quit IRC20:19
*** salmankhan has joined #openstack-nova20:20
efrieddansmith: bikeshedding opportunity:20:23
mriedemdone20:23
efriedRequestSpec needs a field (possibly two) to store root_required (which can take required or forbidden (with !) just like regular required). This is parallel with requested_resources.20:24
efriedIt's what we always wanted to use from those request_filters rather than hacking into the flavor and doing obj_reset_changes(), which I'll fix up at the same time.20:25
mriedemthat can't be hacked into the RequestGroup?20:25
efriedNo, specifically because it's not per request group.20:25
dansmithright, was just going to say.. why isn't it inside requested_resources?20:25
efriedThat's it's whole raison d'ĂȘtre20:26
efriedrequested_resources is a list of RequestGroup.20:26
mriedemthe issue i always had with the RequestGroup for that traits-only stuff is the RequestGroup stuff in the scheduler made resources required20:26
dansmithoh because requested_resources is a list of requestgroup objects20:26
dansmiththat field probably should have been an ObjectField('PlacementyShit')20:27
efriedwell a) pretty sure that's not a thing anymore, I think we did away with that on the placement side; but b) that's exactly what root_required is for: so you can specify required/forbidden traits that you *for sure* want to look for on the root RP, without association with any request groups20:27
mriedemcan you have a root unnumbered group or something for modeling this?20:27
mriedemDictOfStringsField(put all the crap)20:27
mriedemso building on RequestGroup as an object would probably just be confusing for tihs right?20:27
efriedwould make no sense20:28
efrieda request has N RequestGroup. It only has one root_required20:28
efriedRequestGroup contains resources, traits, aggregates. root_required only traits.20:28
dansmithefried: what is your actual quesiton?20:28
efriedwhat should we name those fields20:28
dansmithfield or fields20:28
dansmith?20:28
efriedOne for required, one for forbidden. SetOfStringsField.20:28
efriedroot_required, root_forbidden?20:29
efriedroot_required_traits, root_forbidden_traits?20:29
mriedemfeels like a field explosion20:29
efriedrequested_root_traits_required, requested_root_traits_forbidden?20:29
dansmithhow about we add PlacementyShit and put them on that object, so that when we have the next thing, we don't keep adding placementy fields to reqspec?20:29
mriedemthrow it into a RootProviderConstraints objects?20:29
dansmithmriedem: PlacementyShit20:29
* mriedem dials the tc20:30
dansmithpretty sure the tc had to cancel their phone plan to pay the electric bill20:30
efriedyeah, we could make ResourceRequest an OVO and make RequestSpec.resource_request. That's probably something we want to consolidate eventually anyway.20:30
mriedemha20:31
mriedemRequestSpec.resource_request and RequestSpec.requested_resources20:31
efriedthat would mean we should drop requested_resources though. Deleting a field from an OVO sounds scary.20:31
mriedemvery confusing20:31
mriedemit's a major version bump20:31
*** kozhukalov has quit IRC20:31
mriedemthe likes of which only dan-o can navigate20:31
efriedCourse, everything OVO is scary to me.20:31
efriedso what's the lesser evil here?20:31
*** tbachman has joined #openstack-nova20:32
efriedplacement_shit = DictOfStringsField?20:32
dansmithyep, don't do that right now, I'd just add a peer object next to requested_resources, leave the latter the same, put your flags and stuff in the new object20:32
dansmithno20:32
dansmithgod no.20:32
efriednew PlacementShit OVO and placement_shit = PlacementShitField()?20:32
dansmithno20:33
dansmithreqspec.PlacementShit = ObjectField('PlacementShit'),20:33
dansmiththen in the PlacementShit object, whatever fields you need20:33
dansmithroot_required is what, a boolean?20:33
efriedset of traits20:33
dansmithor a list of traits20:33
efriedprefer a set if poss, to squash dups20:34
dansmithso root_required = ListOfStringsField()20:34
efriedWe have a SetOfStringsField, any reason to avoid it?20:34
mriedemwe do have a set of strings field, RequestGroup uses it20:34
dansmithnot sure we have one of those, but seriously we don't have to use sets everywhere, just run it through a set somewhere20:34
mriedemsets or bust!20:34
dansmithno, if we have one that's fine20:34
efriedcool20:34
* efried is off to the races20:34
dansmithit's silly, IMHO, but... :)20:34
efriedthanks.20:34
mriedemBagODicts20:34
*** gyee has quit IRC20:35
*** kozhukalov has joined #openstack-nova20:37
*** salmankhan has quit IRC20:40
openstackgerritBalazs Gibizer proposed openstack/nova master: Func test for qos live migration reschedule  https://review.opendev.org/69901520:41
*** lbragstad has joined #openstack-nova20:42
efrieddansmith: and what's the accepted way to use default on a field?20:43
efriede.g. default=set(), does that help me not have to check if present => check if None => check if empty?20:44
*** lbragsta_ has quit IRC20:44
openstackgerritMerged openstack/nova-specs master: [ussuri][goal] Drop python 2.7 support  https://review.opendev.org/69898820:46
openstackgerritMerged openstack/nova stable/pike: Add functional regression test for bug 1849409  https://review.opendev.org/69073420:48
openstackbug 1849409 in OpenStack Compute (nova) pike "openstack server list --deleted --limit -1 hangs" [High,In progress] https://launchpad.net/bugs/1849409 - Assigned to Matt Riedemann (mriedem)20:48
dansmithefried: default=set() isn't going to work anyway20:50
*** nweinber has quit IRC20:50
efriedit's what RequestGroup is doing20:50
efriedso, in what way not work?20:51
*** tbachman has quit IRC20:51
dansmithefried: IIRC, that will result in every object getting the same set(), potentially cross-polluting between requests20:51
dansmithbecause the field is once per definition, and done at import time20:51
efriedoh, neat.20:51
dansmithI don't see request group doing that20:52
dansmither, maybe I'm looking in the wrong place20:52
dansmithah yeah I see20:53
dansmithoh, hmm, maybe we copy the field's definition in obj_set_defaults, hang on20:54
dansmithISTR that coming up and we hacked around it that way20:54
dansmithyeah https://github.com/openstack/oslo.versionedobjects/blob/master/oslo_versionedobjects/base.py#L58820:54
dansmithalright, so ignore me I guess20:54
dansmitha little dangerous but probably not in practice20:55
efriedthen back to the original question, how should I manage this field?20:55
dansmithbut no, it doesn't help you not have to check for setted-ness20:55
dansmithefried: you should always set it, or call obj_set_defaults() after you create it20:56
efriedbut not via __init__20:56
dansmithI think you know the answer to that :)20:56
efriedwould this be a thing for __new__ somehow?20:56
dansmithit's less of a problem for a transient rpc-only object, but we really shouldn't create more examples for people to copy, not knowing the problems20:56
dansmithefried: no20:56
mriedemRequestGroup just sets defaults if it lazy-loads a field and i think all fields have defaults20:57
mriedemis how it works around have to check set-ness20:57
mriedem*having to20:57
dansmithsure, you can do that if you want20:57
efriedSo RequestSpec.from_components does obj_set_defaults(), meaning that if I define the field with a default, any code path that starts with from_components I can count on that field being set.20:59
dansmithis that a question?20:59
efriedan assertion for you to refute if it's wrong20:59
dansmithif what you say is true, then yes21:00
dansmithhowever, I thought from_components is supposed to go away in the Z release when bauzas finally cleans it up21:00
dansmithso, not sure that's the best assumption to make, although the way things are going, it'll never happen :)21:00
dansmithI'll also note that in the G days, Z sounded like "forever", but that's becoming less true21:01
efriedis obj_set_defaults recursive into an ObjectField?21:06
mriedemzzzeek: if/when you're around, it'd be nice if you could sniff out this simple join/filter query being proposed https://review.opendev.org/#/c/694462/2/nova/db/sqlalchemy/api.py@2005 just from an efficiency standpoint21:06
mriedemlow priority though21:06
efriedi.e. will RequestSpec.obj_set_defaults percolate into my new RequestSpec.placement_shit ObjectField and set the defaults inside that guy?21:06
dansmithno21:07
mriedemdo not rely on from_components21:07
dansmithI gotta run out for a bit, and likely I won't be back21:07
mriedemi've been trying to burn all of that crap out the last several releases while sylvain is skiing21:07
dansmithmriedem: lol21:07
dansmithmriedem: as "a french" I believe it's his actual right to ski while others work :)21:08
mriedemhttps://review.opendev.org/#/q/project:openstack/nova+branch:master+topic:bp/request-spec-use-by-compute21:08
*** mdbooth has quit IRC21:08
mriedemoh btw, as my parting shot on all of that https://review.opendev.org/#/c/697697/,21:08
mriedemlikely a lot of that crap can't be removed until we bump the major on the conductor rpc21:08
mriedemand by we i mean dadn21:09
mriedem*dan21:09
efriedfreudian21:09
mriedemi left details in https://review.opendev.org/#/c/697697/21:09
dansmithlervely21:09
dansmithso, efried sounds like I'll review that in Jan21:09
*** mdbooth has joined #openstack-nova21:09
efriedack, enjoy your time off21:09
dansmitho/21:10
mriedemtalk to you monday21:10
mriedemo-)21:10
zzzeekmriedem: ugh jaypipes is gone?21:10
mriedemhe's been gone21:11
zzzeekmriedem: so..."manual joins" means, list of things we load in a separate query and merge in Python ?21:12
mriedemyeah21:14
*** gyee has joined #openstack-nova21:17
mriedemi've never really been sure why we distinguish honestly21:17
zzzeekmriedem: if BlockDeviceMapping.instance_uuid is a foreign key to Instance, that would mean you don't actually have to include the Instance table in this query, right?21:17
zzzeekmriedem: unless the "model query" aspect of this makes that more complicated21:18
mriedembdm.instance_uuid is a fkey to instances.uuid, i can confirm that - as for your question, idk21:18
mriedembut...21:19
mriedemyeah we shouldn't need the join21:19
zzzeekmriedem: OK ill put it in the comment, if model+_query needs to look at other cols on Instance that might be the issue21:19
mriedemselect bdm.instance_uuid from bdms where instance_uuid in (instance_uuids) and boot_index=0 and destination_type=volume;21:19
mriedemyeah?21:19
mriedemthe join seemed overly complicated to me for this21:19
mriedembut needed other eyes21:20
zzzeekmriedem: yes, but that's as long as model_Qeury is notlike "and instance.user_token_whatever == admin" or something21:20
mriedemi think in this case the query isn't scoped to a project21:21
mriedemso we should be ok21:21
mriedemproject_only=False by default and read_deleted='yes' means we don't modify the query to filter on deleted21:21
mriedemso hell we likely don't even need model_query with this21:21
mriedemjust normal sqla orm21:22
zzzeekwoop21:22
mriedemthanks mike21:24
mriedemre nova-network removal series, bottom 2 are pretty easy and +2ed https://review.opendev.org/#/c/697151/21:30
mriedemjust removing dead code21:30
*** igordc has quit IRC21:30
*** nweinber has joined #openstack-nova21:37
gibimriedem: kicked the deads21:38
*** lbragstad has quit IRC21:40
*** lbragstad has joined #openstack-nova21:41
mriedempulling an all-nighter!21:43
*** nweinber has quit IRC21:44
*** bbowen has quit IRC21:45
openstackgerritSundar Nadathur proposed openstack/os-traits master: Add a trait that compute manager can handle accelerator requests.  https://review.opendev.org/69896121:47
gibimriedem: baby sitting21:48
gibimriedem: but not for long21:48
mriedemback to the future 3 huh21:50
gibiit worked like a charm21:52
mriedemhow old?21:54
*** kozhukalov has quit IRC21:54
gibi7. I think he liked the first two too21:55
gibihe asked for the third so I complied21:56
mriedemheh21:56
mriedemis it time for star wars? you could keep him busy for an entire weekend21:56
gibihe has  already consumed half (the better half) of star wars21:57
gibiand I'm not a star wars fan. I grew up on star trek instead21:57
mriedemthen i will hold my tongue21:57
gibibut I accept that the general public does not agree with me :)21:59
gibiI think I stopped star wars when jar jar binks appeared22:01
*** logan- has quit IRC22:04
*** logan- has joined #openstack-nova22:06
gibinow the parents are back so I'm dropping. Have a nice evening22:07
*** damien_r has joined #openstack-nova22:08
*** slaweq has quit IRC22:14
*** KeithMnemonic1 has joined #openstack-nova22:15
*** KeithMnemonic has quit IRC22:19
openstackgerritMerged openstack/nova stable/pike: Fix listing deleted servers with a marker  https://review.opendev.org/69073522:21
openstackgerritMerged openstack/nova master: Move _update_pci_request_spec_with_allocated_interface_name  https://review.opendev.org/69657422:21
openstackgerritMerged openstack/nova master: nova-net: Remove unused 'stub_out_db_network_api'  https://review.opendev.org/69715122:21
*** damien_r has quit IRC22:26
*** ozzzo has quit IRC22:33
*** ozzzo has joined #openstack-nova22:33
*** mvkr has joined #openstack-nova22:38
*** lbragsta_ has joined #openstack-nova22:41
*** lbragstad has quit IRC22:43
*** pcaruana has quit IRC22:48
openstackgerritMatt Riedemann proposed openstack/nova master: Add recreate test for bug 1855927  https://review.opendev.org/69904522:52
openstackbug 1855927 in OpenStack Compute (nova) "_poll_unconfirmed_resizes may not retry later if confirm_resize fails in API" [Low,New] https://launchpad.net/bugs/185592722:52
*** lbragsta_ has quit IRC22:54
*** mriedem has quit IRC22:54
*** ganso has joined #openstack-nova23:17
*** KeithMnemonic1 has quit IRC23:19
*** dviroel has quit IRC23:21
*** tbachman has joined #openstack-nova23:34
openstackgerritEric Fried proposed openstack/nova master: Use Placement 1.35 (root_required)  https://review.opendev.org/69905023:36
efrieddansmith: ^23:37
openstackgerritEric Fried proposed openstack/nova master: Use reasonable name for provider mapping  https://review.opendev.org/69873523:41

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