Thursday, 2026-11-19

opendevreviewMerged openstack/nova master: libvirt: Stop the event threads in Host.cleanup()  https://review.opendev.org/c/openstack/nova/+/101001100:42
opendevreviewBekei Park proposed openstack/nova master: libvirt: Do not fail a rolled back live migration  https://review.opendev.org/c/openstack/nova/+/101640902:09
*** mhen_ is now known as mhen02:53
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Add test for MTU overwrite during live migration  https://review.opendev.org/c/openstack/nova/+/99580309:57
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Preserve source MTU during live migration  https://review.opendev.org/c/openstack/nova/+/99580909:57
opendevreviewLajos Katona proposed openstack/nova master: Add regression test to repoduce bug 1854844  https://review.opendev.org/c/openstack/nova/+/99177209:57
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Preserve queue_size during live migration  https://review.opendev.org/c/openstack/nova/+/99584109:57
LarsErikPI recall there was a bug in nova with pci_in_placement (and also enabled in the scheduler), where allocations of PCI devices were counted twice. Does anyone have that bug report easy at hand? I'm still experiencing this in 2026.1, and I thought it was fixed12:59
LarsErikPit.. seem to only happen on resize though. not on creating a new instance13:13
gibihttps://bugs.launchpad.net/bugs/209849613:13
gibibased on launchpad it is backported all the way13:14
gibiwe had some recent resize bugs13:14
gibigmaan and sean-k-mooney knows them (I have a todo to load context there but busy elswhere)13:14
gibihttps://launchpad.net/bugs/217483413:15
gibihttps://bugs.launchpad.net/nova/+bug/216678613:16
gibithis two are the active ones13:16
LarsErikPright... it's almost that. But the VM itself gets the correct amount of hardware, but it's counted twice in placement. Or more precise, it only does that if scheduled to a node that has multiple PCI-devices with available "slots" for the type-VF device requested13:16
LarsErikPoh some active ones as well. let me have a look. (am I the only one struggling with launchpad? it's insanly slow...)13:17
gibiit is slow13:17
gibiI blame LLM crawlers13:17
LarsErikPhmm my observation is not exactly like those bugs :(13:19
gibithen please file a new one13:21
gibicc gmaan sean-k-mooney ^^ :)13:22
LarsErikPI.. am struggling a bit to reproduce it tbh :P It does not happen every time13:22
LarsErikPwhich is.. fun13:22
gibithose are the most fun bugs :)13:24
gibiin a certain definition of fun :)13:24
LarsErikPAt least I'm laughing :p13:24
LarsErikPand it's a little bit tedious for me, because right now, we only have SR-IOV GPUs in prod.. nothing in test :P13:25
gibithose are expensive resources to leak...13:26
LarsErikPvery!13:26
sean-k-mooneyLarsErikP: that the bug i filed yesterday i think13:36
sean-k-mooneyhttps://bugs.launchpad.net/nova/+bug/217483413:37
sean-k-mooneyLarsErikP: so ^ when we attach/detach sriov netuon ports or we resize13:37
sean-k-mooneywe do not properly update the snapshot of the pci_requets in teh request_spec in the api db13:37
sean-k-mooneysince the comptue agent cant acccees it fixint that either requires long running api/condotuctor task which suck or we stop useing the cached copy in teh request spec13:38
sean-k-mooneywhich is what  i propeosed13:38
LarsErikPhmmm. But I've not really done any reverting13:39
sean-k-mooneyLarsErikP: but the behviro is the isntance gets the correct number of devics13:39
LarsErikPyep13:39
sean-k-mooneybecause instace.requst_spec is updated13:39
sean-k-mooneybsorry13:39
sean-k-mooneyinstance.pci_requests13:39
sean-k-mooneybut requstspec.pci_recuests is wrong13:39
sean-k-mooneyso we calim the wrong number of devices in placment13:39
sean-k-mooneyLarsErikP: https://review.opendev.org/c/openstack/nova/+/1016297 is how i think this likely shoudl be fixed13:40
sean-k-mooneyi just have not spent enough time tinking about the full implaction and testing it to remvoe the [WIP]13:40
LarsErikPokok. it seems related at least. I'll add comments or file a new bug if I manage to reproduce my observations in a stable way here..13:41
sean-k-mooneythe parent change https://review.opendev.org/c/openstack/nova/+/1016296/2/nova/tests/functional/regressions/test_bug_2174834.py is the functional repoducer showing the request we use for schdulign and the request we use to create the vm get out of sync13:41
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/1016296/2/nova/tests/functional/regressions/test_bug_2174834.py#191 and https://review.opendev.org/c/openstack/nova/+/1016296/2/nova/tests/functional/regressions/test_bug_2174834.py#21513:43
sean-k-mooneyare showing the issue your having right13:43
sean-k-mooneythe first shows the count is wrong in the request spec and the second show the allcoation are wrong in placement as a result13:44
LarsErikPyes kind of. But I've seen it on successful resizes as well13:45
LarsErikPI didn't really try reverting13:45
sean-k-mooneyLarsErikP: its out of sync for succes too i think14:05
sean-k-mooneybut i have not asserted that in my repoducer so i coudl be wrong14:06
LarsErikPmay be.. as I said.. I have not been able to reproduce it in a stable way.. The last hour, it failed once, and succeeded trice..14:07
sean-k-mooneyi can ask my llm to try in my current repodcuer patch, ill add the testcase for confirm fi that indeed repoduces14:08
sean-k-mooneyLarsErikP: by the way i know we have fixed issue in this areay before14:08
sean-k-mooneyspcificly related to pci passhtough14:08
sean-k-mooneythat why im trying to remvoe relying on the pci_requests in the request spec entrily going forward adn just use the ones form the instance14:09
sean-k-mooneywell as much as possibel14:09
sean-k-mooneyi want to fix the class of out of sync bugs rather then just sepficic edgecase14:09
LarsErikPsounds like a great plan14:10
*** jgilaber is now known as jgilaber|lunch14:16
*** jgilaber|lunch is now known as jgilaber14:36
sean-k-mooneyLarsErikP: so ya i can repoduce it with confirm as well14:54
sean-k-mooneyLarsErikP: ill push an dupdated version in a sec14:54
LarsErikPah. great14:54
LarsErikPor.. not great, but you catch my drift :P14:54
sean-k-mooney:)14:54
sean-k-mooneythe fix i have also fixes it14:54
sean-k-mooneyi still need to review that in more detail before i remove the WIP status14:55
sean-k-mooneybut as noted that fix fixes the class of bugs rather then any one of these specificly14:55
LarsErikPthat sounds great, and like the best way to fix it if possible =)14:56
opendevreviewsean mooney proposed openstack/nova master: Reproduce stale PCI requests after resize  https://review.opendev.org/c/openstack/nova/+/101629614:57
opendevreviewsean mooney proposed openstack/nova master: [WIP] Refresh PCI requests before scheduling moves  https://review.opendev.org/c/openstack/nova/+/101629714:57
sean-k-mooneyim testign with cold migrate by the way as the second move op but this woudl impact live mgiration and likely shelve unshelve or evacuate too14:58
sean-k-mooneyi might buidl out more tests to prove that when im droping the [wip] but the same fix shoudl fix everything15:00
gibisean-k-mooney: there is https://bugs.launchpad.net/nova/+bug/2174239 as well. Does it a duplicate?15:28
gibicc Uggla 15:28
sean-k-mooneygibi: im not sure if there is a duplicate alhtouh i vagly recall there beign a pathc ot handel NONE in one edgecase15:41
sean-k-mooneynot sure if its the saem issue hwoever15:41
gibiack15:43
gibithen this is just one more bug to fix in PCI handling :)15:43
gmaangibi: sean-k-mooney: Uggla: https://bugs.launchpad.net/nova/+bug/2174239  also seems like stale instance.pci_devices which is being fixed by another bug. let me triage this one today and see if it is duplicate of launchpad.net/bugs/216034716:21
Ugglagmaan, yep good catch 2160347 seems quite similar.16:37
melwittgibi: I wondered if you might have some interest in this bug fix I proposed (you might have some context) but basically we have a spot in nova where we are accessing a key we shouldn't from cyborg, and this patch removes the access https://review.opendev.org/c/openstack/nova/+/100562316:43
opendevreviewDan Smith proposed openstack/nova master: Add comments about unpin-az and cross_az_attach interaction  https://review.opendev.org/c/openstack/nova/+/101652217:04
sean-k-mooneyi will note that all of the pci related isuse are not related to the pci tracker tehy are related to the move_claims which i have alwasy disliked and request spec sync17:06
sean-k-mooneygmaan: part of the reason i dislike the move claims is it creates trasient in memory obejct that we need to keep in sync vs just using the database to have atopimic state that sruvies comptue agent restarts ectra17:08
sean-k-mooneygibi: gmaan by the way i dont know if you noticed above that i foudn that confimring a resize also leave the request sepc out of sync17:10
sean-k-mooneyso pure happy path resize between flavors with pci request does not properly update the request spec so future move operations will be wrong17:11
sean-k-mooneyso i have repoduced that attach/detach netrion sriov port or resize (confirm or revert) with flavor with pci request all lead to some form of desync between instance.pci_requests which are corect and request_spec.pci_requests which are stale17:14
sean-k-mooneyi have no reason to belive that https://bugs.launchpad.net/nova/+bug/2174834 woudl not impact live migraation,evacute or shelve/unshelve too17:15
sean-k-mooneythe fix i have propsoed is to alwasy refresh the request_spec.pci_request form teh instance.pci_requests before every move operation17:15
sean-k-mooneyfor any instnace that had incorect placment allcaiotn that hsoudl get fixed on the next move i think but i have not tried that yet17:16
opendevreviewmelanie witt proposed openstack/nova master: Handle BDMNotFound during delete-while-building race  https://review.opendev.org/c/openstack/nova/+/99868118:02
opendevreviewmelanie witt proposed openstack/nova master: Add functional reproducer for delete-while-building BDMNotFound race  https://review.opendev.org/c/openstack/nova/+/101653418:02
opendevreviewGhanshyam Maan proposed openstack/os-vif master: Remove eventlet usage  https://review.opendev.org/c/openstack/os-vif/+/101655218:55
opendevreviewsean mooney proposed openstack/nova master: Reproduce NULL PCI stats during compute creation  https://review.opendev.org/c/openstack/nova/+/101657420:50
opendevreviewsean mooney proposed openstack/nova master: Initialize new compute nodes with empty PCI pools  https://review.opendev.org/c/openstack/nova/+/101657520:50
opendevreviewMerged openstack/nova master: Fix PCI allocation leak on failed cold migration  https://review.opendev.org/c/openstack/nova/+/100600322:44
*** haleyb is now known as haleyb|out23:27

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