| opendevreview | Merged openstack/nova master: libvirt: Stop the event threads in Host.cleanup() https://review.opendev.org/c/openstack/nova/+/1010011 | 00:42 |
|---|---|---|
| opendevreview | Bekei Park proposed openstack/nova master: libvirt: Do not fail a rolled back live migration https://review.opendev.org/c/openstack/nova/+/1016409 | 02:09 |
| *** mhen_ is now known as mhen | 02:53 | |
| opendevreview | Lajos Katona proposed openstack/nova master: libvirt: Add test for MTU overwrite during live migration https://review.opendev.org/c/openstack/nova/+/995803 | 09:57 |
| opendevreview | Lajos Katona proposed openstack/nova master: libvirt: Preserve source MTU during live migration https://review.opendev.org/c/openstack/nova/+/995809 | 09:57 |
| opendevreview | Lajos Katona proposed openstack/nova master: Add regression test to repoduce bug 1854844 https://review.opendev.org/c/openstack/nova/+/991772 | 09:57 |
| opendevreview | Lajos Katona proposed openstack/nova master: libvirt: Preserve queue_size during live migration https://review.opendev.org/c/openstack/nova/+/995841 | 09:57 |
| LarsErikP | I 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 fixed | 12:59 |
| LarsErikP | it.. seem to only happen on resize though. not on creating a new instance | 13:13 |
| gibi | https://bugs.launchpad.net/bugs/2098496 | 13:13 |
| gibi | based on launchpad it is backported all the way | 13:14 |
| gibi | we had some recent resize bugs | 13:14 |
| gibi | gmaan and sean-k-mooney knows them (I have a todo to load context there but busy elswhere) | 13:14 |
| gibi | https://launchpad.net/bugs/2174834 | 13:15 |
| gibi | https://bugs.launchpad.net/nova/+bug/2166786 | 13:16 |
| gibi | this two are the active ones | 13:16 |
| LarsErikP | right... 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 requested | 13:16 |
| LarsErikP | oh some active ones as well. let me have a look. (am I the only one struggling with launchpad? it's insanly slow...) | 13:17 |
| gibi | it is slow | 13:17 |
| gibi | I blame LLM crawlers | 13:17 |
| LarsErikP | hmm my observation is not exactly like those bugs :( | 13:19 |
| gibi | then please file a new one | 13:21 |
| gibi | cc gmaan sean-k-mooney ^^ :) | 13:22 |
| LarsErikP | I.. am struggling a bit to reproduce it tbh :P It does not happen every time | 13:22 |
| LarsErikP | which is.. fun | 13:22 |
| gibi | those are the most fun bugs :) | 13:24 |
| gibi | in a certain definition of fun :) | 13:24 |
| LarsErikP | At least I'm laughing :p | 13:24 |
| LarsErikP | and it's a little bit tedious for me, because right now, we only have SR-IOV GPUs in prod.. nothing in test :P | 13:25 |
| gibi | those are expensive resources to leak... | 13:26 |
| LarsErikP | very! | 13:26 |
| sean-k-mooney | LarsErikP: that the bug i filed yesterday i think | 13:36 |
| sean-k-mooney | https://bugs.launchpad.net/nova/+bug/2174834 | 13:37 |
| sean-k-mooney | LarsErikP: so ^ when we attach/detach sriov netuon ports or we resize | 13:37 |
| sean-k-mooney | we do not properly update the snapshot of the pci_requets in teh request_spec in the api db | 13:37 |
| sean-k-mooney | since 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 spec | 13:38 |
| sean-k-mooney | which is what i propeosed | 13:38 |
| LarsErikP | hmmm. But I've not really done any reverting | 13:39 |
| sean-k-mooney | LarsErikP: but the behviro is the isntance gets the correct number of devics | 13:39 |
| LarsErikP | yep | 13:39 |
| sean-k-mooney | because instace.requst_spec is updated | 13:39 |
| sean-k-mooney | bsorry | 13:39 |
| sean-k-mooney | instance.pci_requests | 13:39 |
| sean-k-mooney | but requstspec.pci_recuests is wrong | 13:39 |
| sean-k-mooney | so we calim the wrong number of devices in placment | 13:39 |
| sean-k-mooney | LarsErikP: https://review.opendev.org/c/openstack/nova/+/1016297 is how i think this likely shoudl be fixed | 13:40 |
| sean-k-mooney | i just have not spent enough time tinking about the full implaction and testing it to remvoe the [WIP] | 13:40 |
| LarsErikP | okok. 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-mooney | the 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 sync | 13:41 |
| sean-k-mooney | https://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#215 | 13:43 |
| sean-k-mooney | are showing the issue your having right | 13:43 |
| sean-k-mooney | the first shows the count is wrong in the request spec and the second show the allcoation are wrong in placement as a result | 13:44 |
| LarsErikP | yes kind of. But I've seen it on successful resizes as well | 13:45 |
| LarsErikP | I didn't really try reverting | 13:45 |
| sean-k-mooney | LarsErikP: its out of sync for succes too i think | 14:05 |
| sean-k-mooney | but i have not asserted that in my repoducer so i coudl be wrong | 14:06 |
| LarsErikP | may 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-mooney | i can ask my llm to try in my current repodcuer patch, ill add the testcase for confirm fi that indeed repoduces | 14:08 |
| sean-k-mooney | LarsErikP: by the way i know we have fixed issue in this areay before | 14:08 |
| sean-k-mooney | spcificly related to pci passhtough | 14:08 |
| sean-k-mooney | that why im trying to remvoe relying on the pci_requests in the request spec entrily going forward adn just use the ones form the instance | 14:09 |
| sean-k-mooney | well as much as possibel | 14:09 |
| sean-k-mooney | i want to fix the class of out of sync bugs rather then just sepficic edgecase | 14:09 |
| LarsErikP | sounds like a great plan | 14:10 |
| *** jgilaber is now known as jgilaber|lunch | 14:16 | |
| *** jgilaber|lunch is now known as jgilaber | 14:36 | |
| sean-k-mooney | LarsErikP: so ya i can repoduce it with confirm as well | 14:54 |
| sean-k-mooney | LarsErikP: ill push an dupdated version in a sec | 14:54 |
| LarsErikP | ah. great | 14:54 |
| LarsErikP | or.. not great, but you catch my drift :P | 14:54 |
| sean-k-mooney | :) | 14:54 |
| sean-k-mooney | the fix i have also fixes it | 14:54 |
| sean-k-mooney | i still need to review that in more detail before i remove the WIP status | 14:55 |
| sean-k-mooney | but as noted that fix fixes the class of bugs rather then any one of these specificly | 14:55 |
| LarsErikP | that sounds great, and like the best way to fix it if possible =) | 14:56 |
| opendevreview | sean mooney proposed openstack/nova master: Reproduce stale PCI requests after resize https://review.opendev.org/c/openstack/nova/+/1016296 | 14:57 |
| opendevreview | sean mooney proposed openstack/nova master: [WIP] Refresh PCI requests before scheduling moves https://review.opendev.org/c/openstack/nova/+/1016297 | 14:57 |
| sean-k-mooney | im testign with cold migrate by the way as the second move op but this woudl impact live mgiration and likely shelve unshelve or evacuate too | 14:58 |
| sean-k-mooney | i might buidl out more tests to prove that when im droping the [wip] but the same fix shoudl fix everything | 15:00 |
| gibi | sean-k-mooney: there is https://bugs.launchpad.net/nova/+bug/2174239 as well. Does it a duplicate? | 15:28 |
| gibi | cc Uggla | 15:28 |
| sean-k-mooney | gibi: im not sure if there is a duplicate alhtouh i vagly recall there beign a pathc ot handel NONE in one edgecase | 15:41 |
| sean-k-mooney | not sure if its the saem issue hwoever | 15:41 |
| gibi | ack | 15:43 |
| gibi | then this is just one more bug to fix in PCI handling :) | 15:43 |
| gmaan | gibi: 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/2160347 | 16:21 |
| Uggla | gmaan, yep good catch 2160347 seems quite similar. | 16:37 |
| melwitt | gibi: 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/+/1005623 | 16:43 |
| opendevreview | Dan Smith proposed openstack/nova master: Add comments about unpin-az and cross_az_attach interaction https://review.opendev.org/c/openstack/nova/+/1016522 | 17:04 |
| sean-k-mooney | i 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 sync | 17:06 |
| sean-k-mooney | gmaan: 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 ectra | 17:08 |
| sean-k-mooney | gibi: 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 sync | 17:10 |
| sean-k-mooney | so pure happy path resize between flavors with pci request does not properly update the request spec so future move operations will be wrong | 17:11 |
| sean-k-mooney | so 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 stale | 17:14 |
| sean-k-mooney | i have no reason to belive that https://bugs.launchpad.net/nova/+bug/2174834 woudl not impact live migraation,evacute or shelve/unshelve too | 17:15 |
| sean-k-mooney | the fix i have propsoed is to alwasy refresh the request_spec.pci_request form teh instance.pci_requests before every move operation | 17:15 |
| sean-k-mooney | for any instnace that had incorect placment allcaiotn that hsoudl get fixed on the next move i think but i have not tried that yet | 17:16 |
| opendevreview | melanie witt proposed openstack/nova master: Handle BDMNotFound during delete-while-building race https://review.opendev.org/c/openstack/nova/+/998681 | 18:02 |
| opendevreview | melanie witt proposed openstack/nova master: Add functional reproducer for delete-while-building BDMNotFound race https://review.opendev.org/c/openstack/nova/+/1016534 | 18:02 |
| opendevreview | Ghanshyam Maan proposed openstack/os-vif master: Remove eventlet usage https://review.opendev.org/c/openstack/os-vif/+/1016552 | 18:55 |
| opendevreview | sean mooney proposed openstack/nova master: Reproduce NULL PCI stats during compute creation https://review.opendev.org/c/openstack/nova/+/1016574 | 20:50 |
| opendevreview | sean mooney proposed openstack/nova master: Initialize new compute nodes with empty PCI pools https://review.opendev.org/c/openstack/nova/+/1016575 | 20:50 |
| opendevreview | Merged openstack/nova master: Fix PCI allocation leak on failed cold migration https://review.opendev.org/c/openstack/nova/+/1006003 | 22:44 |
| *** haleyb is now known as haleyb|out | 23:27 | |
Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!