Tuesday, 2026-11-10

gmaangibi: replacing StaticallyDelayingWrapper  looks good to me, if you can check it. https://review.opendev.org/c/openstack/nova/+/99741000:27
gmaanpolyedre: i left some comment for the event handlers stop fix, meanwhile I am reviewing the next fix of RPC servers wait() https://review.opendev.org/c/openstack/nova/+/101001101:58
*** mhen_ is now known as mhen03:02
opendevreviewThibaut Démaret proposed openstack/nova master: libvirt: add disk rotation_rate support for local disks  https://review.opendev.org/c/openstack/nova/+/97969308:15
opendevreviewKamil Sambor proposed openstack/nova master: Replace StaticallyDelayingWrapper with futurist DelayingExecutor  https://review.opendev.org/c/openstack/nova/+/99741008:37
*** erlon28 is now known as erlon208:41
opendevreviewMatt Crees proposed openstack/nova master: Add test_update_devices_preserves_vf_network_caps  https://review.opendev.org/c/openstack/nova/+/98912110:08
opendevreviewMatt Crees proposed openstack/nova master: Don't drop pci_dev network caps when VF is in use  https://review.opendev.org/c/openstack/nova/+/98266010:08
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Add test for MTU overwrite during live migration  https://review.opendev.org/c/openstack/nova/+/99580310:44
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Preserve source MTU during live migration  https://review.opendev.org/c/openstack/nova/+/99580910:44
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Preserve source MTU during live migration  https://review.opendev.org/c/openstack/nova/+/99580911:58
opendevreviewLajos Katona proposed openstack/nova master: Add regression test to repoduce bug 1854844  https://review.opendev.org/c/openstack/nova/+/99177211:58
opendevreviewLajos Katona proposed openstack/nova master: libvirt: Preserve queue_size during live migration  https://review.opendev.org/c/openstack/nova/+/99584111:58
gibigmaan: sambork: I left comment in the StaticallyDelayingWrapper patch it is still different from memory consumption perspective than the baseline as we know we have to be careful about the number of threads due to memory consumption I would like to keep the baseline behavior where we *reuse* the default executor for the delayed processing as well. 12:39
gibia having a separate executor means having separate workers mean more threads12:39
samborkgibi, sure will get back to reused worker then12:57
gibisambork: thanks13:23
gibitkajinam: thanks for the libvirt/qemu version bump and cleanup patches. I'm +2 all the way up13:23
bauzasgibi: I can review the libvirt version patch, which gerrit change ? :)13:42
gibihttps://review.opendev.org/q/topic:%22indri-libvirt-qemu-version%2213:44
gibi(I had the link from the yesterday IRC meeting :D)13:44
gibican some core other than gmaan look at https://review.opendev.org/c/openstack/nova/+/1007150 as well?13:47
gibiit is test only stabilization 13:48
gibidansmith: this can be interesting to you as I you might reuse this code from the in cclm https://review.opendev.org/q/topic:%22bug/2168874%22 - Instance obj cloning is incomplete in the cross cell cold migration task13:51
gibi(I blame the weather for my broken English)13:52
dansmithgibi: oh sorry I had started looking at this in September and never finished or even committed my draft comments14:50
dansmithI suck14:50
gibino worries14:51
gibiI also stopped it when I realized the trusted cert stuff behind it14:51
bauzasgibi: dansmith: currently testing the compute services restarts (https://etherpad.opendev.org/p/nova-cclm items #2 and #3)15:28
gibibauzas: ack15:29
gibithanks15:29
dansmithcool15:31
dansmithmy thinking is that after consumer types lands I will rebase the series on master, change the operation name and make a few other small changes that have come up15:32
dansmithI was thinking I would continue trying to close the functional test gap at that point, but perhaps it's best to focus on things we all find while poking manually and once those are settled go back to marching through the functional tests?15:33
gibidansmith: +1 on rebase when consumer type lands15:41
gibiI lean towards fixing the issue we find in the meantime with poking at the edge cases15:41
gibiif we run out those then functional test next15:41
gibialso in the meantime gmaan or others might be interested to set up tempest testing 15:42
dansmithcool15:42
opendevreviewMax proposed openstack/nova master: Add regression test for bug 2173889  https://review.opendev.org/c/openstack/nova/+/101490615:55
opendevreviewMax proposed openstack/nova master: fix: orphaned attachments on delete while evacuate  https://review.opendev.org/c/openstack/nova/+/101490715:55
opendevreviewArnaud Morin proposed openstack/nova master: Close the placement client before forking service workers  https://review.opendev.org/c/openstack/nova/+/101190116:22
opendevreviewArnaud Morin proposed openstack/nova master: Reset executors before fork in nova.service.serve()  https://review.opendev.org/c/openstack/nova/+/101308616:22
gmaangibi: dansmith ++, i can do tempest side work once operation name etc are done16:23
gmaanbauzas: i hope your compute service restart testing worked so magically and perfectly :P 16:24
bauzasgmaan: apparently we stopped the migration instead of awaiting for it16:39
bauzashmmm, apparently my devstack is misconfigured, no budget for awaiting16:44
opendevreviewArnaud Morin proposed openstack/nova master: Fix: avoid comparing dev_type if absent  https://review.opendev.org/c/openstack/nova/+/96455216:45
opendevreviewArnaud Morin proposed openstack/nova master: Reproducer for bug 2129570  https://review.opendev.org/c/openstack/nova/+/101492516:45
gmaanbauzas: did it wait for the 160 sec?16:47
bauzasgmaan: can you confirm I misconfigured devstack because I have 0 seconds here https://paste.opendev.org/show/bfVkOMfMPW8B2TWOwnwA/16:48
gmaanbauzas: manager_shutdown_timeout=160 is good but  graceful_shutdown_timeout=5 is reason it is not waiting16:49
gmaanin devstack, it override the default graceful_shutdown_timeout which is 180 because we want other jobs to quickly shutdown services16:49
bauzasyeah I'm redoing the test by giving more time 16:49
gmaanif you remove the graceful_shutdown_timeout from the nova.conf on all comoute then it should work16:50
bauzasor setting to 180 N16:50
gmaan++16:50
bauzasOK, cool16:50
gmaani wanted to remove graceful_shutdown_timeou5 from devstack and jobs can override to lower time if they are doing restart service and does not test graceful shutdown16:51
dansmithbauzas: so are you going to re-test with that fix to see if we wait properly?16:59
bauzasyup16:59
dansmithcool16:59
bauzasbut now I have another issue16:59
bauzasI don't know how this happened but my instance is currently on migrating state, but I can't delete it because it's not found :)17:00
bauzasfun17:00
dansmithI thought it went back to active?17:00
bauzasI just tested again17:01
bauzasso that's another instance17:01
bauzasthe migration completed, the instance is on the dest but the API show tells me it's on the source, doh17:01
bauzas(actually the migration never completed, only libvirt)17:02
bauzasthe domain is on the dest17:02
gmaani have experienced it in revert resize and stopping migration in between can have this situation17:02
gmaanabort migration will not work as it will have 404 on instance17:03
dansmithyeah it happens with regular live migration too17:03
gmaanmaybe try with new instance. this is something we are improving in graceful shutdown part-3 anywyas17:03
gmaanyes, existing migrations has same issue17:04
bauzasI was able to delete it eventually with the UUID17:04
dansmithbauzas: was that a happy path migration or did you try to trigger a graceful shutdown in the middle?17:04
bauzasit was an happy path as a first check17:04
bauzasnow, I'll redo happy path and then source restart (with updated shutdown timeout)17:05
polyedregmaan: thanks for the review!17:05
dansmithare you sure you weren't trying to delete by name with the admin token? I always forget, but you can't do that since it won't show up in the list that osc does to try to resolve the name17:05
gmaanit says live migration v2 is in-progress task which did not finish "Graceful shutdown initiated with 1 in-progress tasks: live_migration_v2("17:06
gmaanpolyedre: no issue. I did not finish the RPC server ordering fix but let's get the event handler in shape first and I will try to review RPC one in parallel. let me know if any question on my comments17:06
bauzasfun, migration completed but my systemctl restart is still hanging :-)17:09
gmaancool, logs should tell it shutdown came before migration completed or shutdown actually waited for it17:10
gmaanor any otehr tasks making shutdown stuck17:11
bauzasgmaan: it worked correctly AFAICT https://paste.opendev.org/show/bfIG7wsGQxnqiJ0RdqEX/17:14
bauzasdansmith: I'd say graceful shutdown for source works for your POC17:14
bauzasitem 2 closed :-)17:15
bauzas(or rather VERIFIED)17:15
gmaanbauzas: task wise good, live migration completed, server external event is accepted and compleetd 'Graceful shutdown: new task started after shutdown initiated: external_instance_event '17:15
gmaanbut17:16
gmaan" nova-compute manager graceful shutdown did not complete within the 160 second"17:16
gmaani think that is because of libvirt event handler "Shutdown is requested while waiting for the deadline of Task(fn=<bound method Host._event_emit of <nova.virt.libvirt.host.Host"17:16
dansmithbauzas: that's source, right? so that's cool... 17:17
gmaanwhich is one todo and addressed by this change which i am reviwing currently https://review.opendev.org/c/openstack/nova/+/101001117:17
gmaanso live migration perspective it worked fine17:17
bauzasgmaan: no worries, I don't want to test graceful shutdown, I'm just checking every item in https://etherpad.opendev.org/p/nova-cclm17:18
gmaan++ :)17:18
bauzasdansmith: yup17:18
bauzastesting now graceful shutdown of destination17:18
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron networks  https://review.opendev.org/c/openstack/nova/+/92802217:19
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron subnets  https://review.opendev.org/c/openstack/nova/+/96219017:19
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron extensions  https://review.opendev.org/c/openstack/nova/+/96227017:19
opendevreviewLajos Katona proposed openstack/nova master: Use SDK for Neutron floating IPs  https://review.opendev.org/c/openstack/nova/+/96260417:19
gmaangibi: (sambork ) nice catch on the memory things, i did not realize it will double the number of threads. as delayed executor is used for STOPPED event only, can we use 2 as max_worker for now until we implement it in futurist? or you think we do not replace until we have futurist imp take executors as arg?https://review.opendev.org/c/openstack/nova/+/997410/comment/e6035666_c563e8a0/ 17:28
gmaansharing the  default executors for the stopped event seems Overwhelming  the default executor? those can run separately in 1 or 2 thread 17:30
gibigmaan: the event that are waiting for their delay are not occupying a worker. We have one single thread in the wrapper that does the scheduling of delayed tasks, the tasks are only sent to the executor after their delay passed17:31
gibiI have to look more tomorrow about what it means supporting it in futurist, I thought we had that there17:31
gibistephenfin: melwitt: gmaan: you commented on the cclm spec in the past but not since the -2 is removed from it. I feel like we are close to land the spec so please add you remaining comments if any https://review.opendev.org/c/openstack/nova-specs/+/100808117:32
gmaangibi: is it? i thought there can be more than one task submitted before previous one completed as delay executor only check remaining time not the previous task finished? 17:32
gmaangibi: sure, no hurry on that. 17:32
melwittgibi: thanks for the heads up, I will go look and comment17:33
gmaangibi: ack on CCLM, need to go out for a bit but will check today17:33
gibigmaan: sorry, that is a question I need to think about but I will only do that tomorrow :) please leave a comment in the patch if not yet done and I will take a look17:33
gibitomorrow17:33
gmaansure17:33
gibigmaan: melwitt: thanks both :)17:34
* gibi drops 17:34
gibio/17:34
gmaano/17:34
*** gmaan is now known as gmaan_afk17:34
bauzasdestination graceful shutdown verified for CCLM, worked as expected17:36
dansmithwoot17:38
dansmithsorry, let me translate that for you17:40
dansmithle woot17:40
bauzasI just assume a double smackdown for both computes will do the same (ie. we'll await for the migration to finish) but lemme test it17:40
dansmithI would hope :)17:40
bauzasdansmith: le hope17:41
dansmithmaybe we need a new spec for graceful-double-smackdown-support17:41
bauzasI'd so love to see a graceful-double-smackdown game 17:41
bauzasI could imagine gmaan_afk and yourselves on a ring :)17:42
bauzasyourself*17:42
dansmithI am not interested in smacking down gmaan_afk :)17:42
bauzasthis is just spectacle17:42
dansmithoh all fake for the tv cameras?17:43
bauzasare you seriously imagining smackdown as non-fake ? :()17:43
bauzas:-)17:43
dansmithlolol17:43
dansmithI also believe in the tooth fairy and santa clause17:44
bauzason a ring ?17:44
bauzasthat could be fun17:44
bauzasOK, verified for double restarts, everything awaits for the live-migration to complete (minus the few bugs we have with graceful shutdown)17:49
dansmithnice17:49
rm_workDoes https://review.opendev.org/c/openstack/nova/+/1010011 replace https://review.opendev.org/c/openstack/nova/+/1005022 ? I was tracking the latter and include it in my internal deployment but can swap which I track17:51
rm_workOh and I switched up the approach on https://review.opendev.org/c/openstack/nova/+/1009885 after your comments last week and it definitely “works” but still happy to let someone do it the right way manually if you’d prefer, lmk if the LLM stuff is less helpful than just posting the bug+repro (also maybe https://review.opendev.org/c/openstack/nova/+/1014572 which reproduces it)17:54
rm_workI’ve generally found it to be pretty good quality, at least after some minimal review, but nova is the project I likely am the least comfortable with, so it’s hard to form a real opinion on this one17:59
bauzasOK, apart from spamming the n-cpu logs with InstanceNotFound, a VM deletion while a CCLM migration is running is not a probme18:09
bauzasproblem18:09
JayFhttps://review.opendev.org/c/openstack/nova/+/1004890 and https://review.opendev.org/c/openstack/nova/+/1005115 are both good tested performance fixes, already landed before 26.2 was cut, trying to get the backports in. thanks o/18:16
dansmithbauzas: which n-cpu?18:25
bauzassource host18:25
bauzasdansmith: https://paste.opendev.org/show/bpPDYPbSMsfzFzPRRMzJ/18:25
bauzasthere are some assumptions in the monitor that makes the source host trying to delete the instance while this is already deleted18:26
dansmithah yeah I think that's fairly common for other operations as well.. both of those traces show what is likely shared code between the two, so I suspect the same would happen for legacy migratino18:26
dansmithyeah18:26
bauzasyup, I wouldn't call it a bug18:26
bauzasand yeah, probably the same for legacy migrations 18:27
bauzasso I'll call out18:27
bauzasanyway, time to call it a day18:29
bauzasI'll be on holiday tomorrow so \o 18:29
dansmitho/18:39
*** gmaan_afk is now known as gmaan19:04
gmaanbauzas: cool. thanks for sharing results. 19:11
dansmithI'm honestly kinda surprised the PoC holds up that well :D19:11
gmaansanta clause is cool but not interested in smackdown ring :) i never liked it even in my childhood :)19:12
dansmithhah19:12
gmaandansmith: if PoC is that good, it means we can call the final code as bullet proof :P, can you mention that in spec19:13
dansmithI will definitely NOT make such claims :)19:14
gmaan:)19:14

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