Friday, 2025-03-07

opendevreviewMasahito Muroi proposed openstack/nova master: Use dict object for request_specs_dict in the _list_view  https://review.opendev.org/c/openstack/nova/+/93965801:23
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing instance-action finish_time  https://review.opendev.org/c/openstack/nova/+/92893311:33
*** iurygregory__ is now known as iurygregory11:50
opendevreviewOpenStack Release Bot proposed openstack/os-vif stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375314:36
opendevreviewOpenStack Release Bot proposed openstack/os-vif stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375414:36
opendevreviewOpenStack Release Bot proposed openstack/os-vif master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375614:36
opendevreviewOpenStack Release Bot proposed openstack/osc-placement stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/osc-placement/+/94375714:36
opendevreviewOpenStack Release Bot proposed openstack/osc-placement stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/osc-placement/+/94375814:36
opendevreviewOpenStack Release Bot proposed openstack/osc-placement master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/osc-placement/+/94375914:36
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/python-novaclient/+/94376214:36
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/python-novaclient/+/94376314:36
opendevreviewOpenStack Release Bot proposed openstack/python-novaclient master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/python-novaclient/+/94376414:36
*** whoami-rajat_ is now known as whoami-rajat15:04
opendevreviewMerged openstack/os-vif stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375315:11
opendevreviewMerged openstack/os-vif stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375415:12
opendevreviewMerged openstack/os-vif master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/os-vif/+/94375615:12
dansmithgibi: if I look at the allocations that we have in the resource tracker before we do the local claim stuff, I don't see any for the pci device15:42
dansmith...but I should right?15:42
dansmithyeah, they're in the actual allocations in placement, they're just not like added to the allocations we pass down to the compute node..15:44
gibidansmith: allocation is made in placement, the InstancePCIRequest carries the information about what RPs are fulfilling what request by placement.15:54
dansmithyeah I guess I would just expect those to be in our list of allocations15:54
gibiwhen you say "allocation" what you mean exactly?15:55
gibithe pci claim only happens on the compute side. so the pci tracker has no information about the allocation until the pci claim happens on the comptue side15:57
dansmithgibi: https://github.com/openstack/nova/blob/master/nova/compute/resource_tracker.py#L14216:03
dansmiththat allocations variable is a dict of {rp_uuid: {allocation_dict}}16:04
dansmithin this case, it has the local compute node's rp_uuid and allocations for memory, etc, but not the pci allocations16:04
dansmithto me, it should be "all the allocations that have been made for this instance".. or at least, that's what I expect16:05
gibiyeah that should have it16:08
gibido you have pci_in_placement enable?16:08
gibihttps://github.com/openstack/nova/blob/276685b3db6e8f2ad59c33bc254461c255700ff8/nova/compute/manager.py#L2615C1-L2617C4016:09
gibiwe load allocation from placement before the instance_claim call16:09
gibiso if you see the allocation in placement then the same data should be in the allocation dict in the claim call16:10
dansmithyes, the allocations get made in placement, and the pci device has the rp_uuid in the extra_info, it's just never getting merged16:10
gibiI suggest to trace how we read the allocations from placement before the instance_claim call16:11
dansmiththe device that we get back from the pci claim also doesn't get the new key in extra_info that I'm putting in device_spec16:12
dansmithgibi: okay I thought those were passed down via rpc and not re-loaded in compute, but I could be wrong16:12
dansmithbut yeah I see that get_allocations_for_consumer() call.. it's almost like that's filtering for just our RP or something16:13
gibidansmith: for the devspec => dev data move you need to extend this https://github.com/openstack/nova/blob/276685b3db6e8f2ad59c33bc254461c255700ff8/nova/pci/devspec.py#L41816:14
dansmithah, okay I added the key in the update, like this: https://review.opendev.org/c/openstack/nova/+/942144/4/nova/objects/pci_device.py16:15
dansmithand I see it in the "final resource view" when n-cpu starts, but not when I get it back from the pci claim16:15
dansmithI'll add it there too16:15
gibiI need to drop. It was a long week. I will try to check back later today but more likely only on monday16:16
dansmithno prob, thanks16:16
dansmithyep, that did it16:19
gibiohh if you see the allocation in placement but not during claim then it must be the allocation healing that creates the allocation in placement and not the scheduler. pci_in_placement flag needs to be true in the config not just report_in_placement16:23
dansmithhmm16:32
opendevreviewMerged openstack/python-novaclient master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/python-novaclient/+/94376417:15
dansmithgibi: aha, yep, that does it, thanks17:22
opendevreviewMerged openstack/nova stable/2024.2: Reproduce bug/2097359  https://review.opendev.org/c/openstack/nova/+/94208517:36
opendevreviewMerged openstack/nova stable/2024.2: Update InstanceNUMACell version after data migration  https://review.opendev.org/c/openstack/nova/+/94208618:09
opendevreviewsean mooney proposed openstack/nova master: only show standard image properties in server show.  https://review.opendev.org/c/openstack/nova/+/94241318:11
opendevreviewMerged openstack/nova stable/2024.2: Update InstanceNUMACell version in more cases  https://review.opendev.org/c/openstack/nova/+/94208718:13
opendevreviewsean mooney proposed openstack/nova master: only show standard image properties in server show.  https://review.opendev.org/c/openstack/nova/+/94241318:16
sean-k-mooneygibi: ^ this is a less dramtic rewite tha tavoid round triping the data via the object when we are composing the responce18:17
sean-k-mooneygibi: so it will keep the keys and values matching what we have in the system_metadta_table18:17
sean-k-mooneyof couse if we normalised the values before we saved them there is noting we can do at this point18:18
opendevreviewsean mooney proposed openstack/nova master: only show standard image properties in server show.  https://review.opendev.org/c/openstack/nova/+/94241318:22
sean-k-mooneyfixed pep8 issue18:22
sean-k-mooneyam im going to finish now ish and i assume you already have so no rush with ^18:22
opendevreviewDan Smith proposed openstack/nova master: WIP: Reserve OTU devices  https://review.opendev.org/c/openstack/nova/+/94381618:30
dansmithshockingly, that seems to work ^18:30
sean-k-mooneythat looks shorter then im expecting18:31
dansmithwell, I wasn't thinking it would be huge given it's technically a simple thing to do,18:31
sean-k-mooneyoh18:32
dansmithbut yeah18:32
sean-k-mooneyyour doing it in update_provider_tree18:32
dansmithyeah so I'm adding some review comments about why18:32
sean-k-mooneyok18:33
sean-k-mooney we just make sure that that is not only working because of the perodic18:33
sean-k-mooneyor we would have a gap where if we spawned and delete right after each other it might not run18:33
dansmithit's not, but obviously tests18:34
opendevreviewMerged openstack/nova master: Update manager to allow vfio pci device live migration  https://review.opendev.org/c/openstack/nova/+/94214520:17
*** winicius is now known as wncslln21:39

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!