Tuesday, 2026-07-07

gibitkajinam: I will try to collect as much printouts as possible form my HW today from both SNP enabled and SNP disabled in BIOS mode to see if we can settle the yesterdays debate somehwo07:29
bauzasgibi: thanks that will help07:30
gibithen I will have to give the HW back07:30
gibiprobably I can ask for it again later if needed07:30
bauzasthe issue is with the SNP support detection that said, as tkajinam said, atm we only be able to look at the /proc/cpuinfo file07:31
gibibut I don't want to overstretch the kindness of the kernel folks :)07:31
bauzasheh sure07:35
bauzasgibi: I mean, if you can see how we can detect by libvirt whether we support SNP, it would be nice07:36
gibiI think there is an extra complication about libvirt version which I cannot really test. I will have data from one specific libvirt version 12.5 07:36
gibiI can try to get back to libvirt 11.10 but I cannot go back to 10.5 07:39
bauzasack thanks07:47
opendevreviewKamil Sambor proposed openstack/nova master: Correct release name in concurrency_backend  https://review.opendev.org/c/openstack/nova/+/99621908:00
gibitkajinam, sean-k-mooney: here are data collected from my HW with SNP enabled and disabled in BIOS. https://drive.google.com/drive/folders/1U_wK6DRiPxKm98LJx3_BGH3VTEsPtFSU?usp=drive_link08:32
sean-k-mooneyi cannot downlowd those files08:33
gibithe most useful thing seems to be /sys/module/kvm_amd/parameters/sev_snp as that switches to N when I disable the feature in BIOS08:33
sean-k-mooneyoh i might need to sign in08:33
gibiI can open them in incognito08:34
sean-k-mooneyi had to down load the full set08:35
sean-k-mooneybut then i coudl open the zip08:35
sean-k-mooneyso   <launchSecurity supported='yes'>08:35
sean-k-mooney      <enum name='sectype'>08:35
sean-k-mooney        <value>sev</value>08:35
sean-k-mooney        <value>sev-snp</value>08:35
sean-k-mooney      </enum>08:35
sean-k-mooney    </launchSecurity>08:35
sean-k-mooneyis till advertised in the non snp libvirt folder08:36
sean-k-mooneyso that with snp disabled in the bios?08:36
bauzasthat's the problem tkajinam mentioned yesterday08:36
bauzaslibvirt says "sure, do SNP" even if the BIOS option is disabled08:37
sean-k-mooneyright but that isnt something nova should be checking08:37
bauzasmaybe this is fixed in a later libvirt release tho08:37
sean-k-mooneythat shoudl be either a config option or soemthing libvirt tells us08:37
bauzaswould you be OK with a nova conf asking the operator to set it once the BIOS option is set ?08:38
sean-k-mooneyyes08:38
bauzasand by default, saying no08:38
gibithe non_snp folder is the one where I disable the snp in bios, yes08:39
sean-k-mooneyi woudl also be ok with it beign a comma seperate list of sev modes08:39
sean-k-mooneysev_mdoes=sev,sev-snp08:39
sean-k-mooneygibi: is there a reason you downgraded back to 11.10?08:39
sean-k-mooneybauzas: the minimal change i woudl be ok with is not parsing and extracting all the cpu flags and then check if sev-snp is in it and instead jsut check for that one value. i.e. i dont like that we are adding self._cpu_flag and now have a thrid set of cpu flag in the libvirt driver08:42
sean-k-mooneywe are already mixing the cpu flags form virsh capablities and domcapablites which are not the saem08:42
sean-k-mooneyand parsing and storage all the raw cpu flags woudl add a third set that disagree with the other two08:43
sean-k-mooneygibi are you suggesting we use /sys/module/kvm_amd/parameters/sev Y /sys/module/kvm_amd/parameters/sev_es Y /sys/module/kvm_amd/parameters/sev_snp N08:44
sean-k-mooneyinstead08:44
sean-k-mooneyi slightly prefer that over parsing /proc also08:45
sean-k-mooneyso if we use read_sys form the filesytem module to check /sys/module/kvm_amd/parameters/sev_snp and use that to set _support snp08:45
sean-k-mooneyand do the same for the other two parmater so we set all 3 booleans the same way that coudl be workable08:46
sean-k-mooneyits unfortente that the snp enabeld host has 08:46
sean-k-mooney/sys/module/kvm_amd/parameters/sev Y /sys/module/kvm_amd/parameters/sev_es Y /sys/module/kvm_amd/parameters/sev_snp Y08:46
sean-k-mooneybecasue it mean nova need to knwo about the new fireware bevhior which it really should not need to knwo about08:47
sean-k-mooneyhum08:48
sean-k-mooney[   17.742507] ccp 0000:23:00.1: SEV firmware updated from 1.55.31 to 1.58.108:48
sean-k-mooneyso you r firmware is bing updated during boot08:48
sean-k-mooneyi wonder if that is also impacting this behvior08:49
sean-k-mooneyi was hoping or at least expect /sys/module/kvm_amd/parameters/sev_es N08:50
sean-k-mooneywhen snp is enabeld in the bios08:50
sean-k-mooneyi wonder if that will be fixed ina future kernel update but in any case reading /sys/module/kvm_amd/parameters/sev_snp is less prblematic to me then /proc/cpuinfo08:51
sean-k-mooneytkajinam: ^08:51
gibiso based on my trial, if SNP is disable in the bios then we can start ES VMs. So if we only rely on /sys/module/kvm_amd/parameters/sev_snp to detect in SNP is enabled in the bios that would be enough to infer if ES can be used or not. 08:52
sean-k-mooneylooking at the data sev_snp is in /proc/cpuinfo on the host with it disabeld in the bios08:53
sean-k-mooneyso looking at that does not help in this case08:53
sean-k-mooney/sys/module/kvm_amd/parameters/sev_snp really does seam to be the only thing that tells us the bios config state08:54
bauzasgibi: two negatives in your last phrase didn't help me, you mean that checking sev_snp in sysfs can be enough for knowing whether the host supports SNP or ES ?08:55
sean-k-mooneybauzas: yes ^08:55
sean-k-mooneybauzas: if /sys/module/kvm_amd/parameters/sev_snp is Y we know we cant use ES08:56
bauzasconfirmed ?08:56
gibiby looking at the /sys/module/kvm_amd/parameters/sev_snp if that is N, and sev_es is Y, then I can boot SEV ES VMs on the machine08:56
gibiif both is yes then on SEV SNP can be booted08:56
gibi*both is Y08:56
gibi*both are Y08:57
sean-k-mooney*then only08:57
bauzasOK, and when SNP BIOS option is disabled, then /sys/module/kvm_amd/parameters/sev_snp is N ?08:57
bauzas(with new firmware of course)08:57
gibi/sys/module/kvm_amd/parameters/sev Y /sys/module/kvm_amd/parameters/sev_es Y /sys/module/kvm_amd/parameters/sev_snp N08:57
bauzasperfect then08:57
gibiall given with the kernel verson I run (6.12)08:58
bauzastkajinam: looks like we have an alternative08:58
bauzasgibi: yeah, of course08:58
gibithis is the firmware version microcode_ctl-20260210-1.el10.noarch08:58
sean-k-mooneybauzas: well its not jsut an alternitive the curent patch that looks at /proc/cpuinfo is incorrect08:59
sean-k-mooneybauzas: looking at the data that gibi collected sev_snp is alwasy in /proc/cpuinfo regardless fo the bios option08:59
sean-k-mooneyso we can check if the host could supprot snp by checking lauchsecuity for <value>sev-snp</value>09:00
sean-k-mooneyand we can check if its congiured ot use it09:00
sean-k-mooneyby checkign /sys/module/kvm_amd/parameters/sev_snp09:00
sean-k-mooneyso we would report snp support if an only if /sys/module/kvm_amd/parameters/sev_snp Y and launchsecuirt <value>sev-snp</value>09:01
sean-k-mooneyif /sys/module/kvm_amd/parameters/sev_snp Y we will not report es supprot09:01
bauzashah09:02
bauzasI was thinking /proc/cpuinfo was correct, but if that's not, then yeah indeed this is even not an alternative09:03
sean-k-mooneyi think /proc/cpuinfo is basiclly checkign the cpuid bits and decoding them, indepently of the fireware state09:04
sean-k-mooneyso its baiclly sayign "this cpu implents this feature" not that you can use it at least in this kernle version09:05
gibi(to be correct I haev 09:05
gibi(to be correct I have amd-ucode-firmware-20260624-24.el10.noarch09:05
gibithat has the firmware09:05
gibiSEV > than 1.37.23 has the fix09:05
gibiand I'm running 1.58.1 based on dmestg09:05
gibi> 10:39 < sean-k-mooney> gibi: is there a reason you downgraded back to 11.10? | I wanted to see if libvirt reporting changed between these versions09:06
sean-k-mooneyack i just didn see a no snp 12.x data09:07
sean-k-mooneyi assume it didnt change09:07
sean-k-mooneygibi: are you happy to summerise your finding and this conversation on the review?09:07
gibiyepp I'm adding it09:08
bauzasthanks09:10
*** chandank` is now known as chandankumar09:15
gibisummarized to https://review.opendev.org/c/openstack/nova/+/994343/12#message-58d4e2f443634207d5a35a5cefce1fbd31ede5b809:28
opendevreviewJoan Gilabert proposed openstack/nova master: Add libvirt driver MDEV ARQ support for Cyborg  https://review.opendev.org/c/openstack/nova/+/99584009:54
gibiI'm returning the HW12:20
tkajinamgibi sean-k-mooney bauzas , sorry I was out during the way and am catching up. I read the test result posted by gibi and I agree cpuinfo does not really working as expected (I picked it up from my old test logs but I might have misread it after a while).12:38
tkajinamI'll update the implementation and also spec to reflect the change soon.12:38
sean-k-mooneyack12:39
sean-k-mooneyi think form the data that gibi capatured we have all the info we need to proeprly simulate this in unit/fuctional tests12:40
gibitkajinam: thanks12:45
bauzastkajinam: thanks !12:45
tkajinamsean-k-mooney, yes12:52
tkajinamsean-k-mooney, one question. do you want me to rebase the whole sev series on top of your change to push all startup checks into the libvirt driver ?12:53
tkajinamsean-k-mooney, the question might be equivalent to whether you'll backport your fix to stable branches.12:53
tkajinamthe whole sev-snp series, I mean12:54
sean-k-mooneyam either that or put your new check in init_host in the driver and i can fix it in mine12:55
sean-k-mooneybut im hoping to backport my fixes so both oders wil work12:55
sean-k-mooneytkajinam: so this function call in driver.init_host in the libvirt driver https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L924-L92612:56
sean-k-mooneyis pulling all the instnaces form the db and backfilling the default for the image properties12:57
sean-k-mooneyso you could make https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L980-L997 return the list of instances12:57
sean-k-mooneyand hten use that ot do your check12:57
sean-k-mooneybut it woudl be cleaner ot rebase i think12:57
tkajinamyeah I read your change and I think I now understand how the check should be implemented after that fix.12:58
sean-k-mooneydriver.init_host is called before we do the hostname validation and it really shoudl not have been loading the instance form the db like that12:58
tkajinamI agree12:59
*** ykarel_ is now known as ykarel13:01
sean-k-mooneyi guess gibi  or bauzas may have a prefernce but without https://github.com/openstack/nova/commit/2714c71d05e8501ddb3a8fc0c36f3406ef974072 those checks in the compute manager for self._validate_pinning_configuration(instances) and   self._validate_vtpm_configuration(instances) were lazy loading the image propereis and flavor on every instance for every driver13:03
sean-k-mooneyso we need to backprot that at a mimim if we were to backport the sev check13:04
sean-k-mooneybut i woudl not like to backprot the sev check until we make it driver specirifc hostetly13:04
sean-k-mooneywe shoudl not be imposing that pelenty on the ironic driver ectra when it does not apply13:04
sean-k-mooneythat the whole premise behind https://review.opendev.org/c/openstack/nova/+/99055213:05
bauzasI don't honestly have a preference :)13:11
opendevreviewJoan Gilabert proposed openstack/nova master: Report OWNER_NOVA trait on resource providers  https://review.opendev.org/c/openstack/nova/+/99429914:43
opendevreviewJoan Gilabert proposed openstack/nova master: Add libvirt driver MDEV ARQ support for Cyborg  https://review.opendev.org/c/openstack/nova/+/99584014:43
opendevreviewJoan Gilabert proposed openstack/nova master: Rename cyborg-tempest to cyborg-tempest-py3  https://review.opendev.org/c/openstack/nova/+/99629714:47
opendevreviewGhanshyam Maan proposed openstack/nova master: Task tracking mechanism for graceful shutdown  https://review.opendev.org/c/openstack/nova/+/99629914:55
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Ignore SEV-ES when SEV-SNP is detected  https://review.opendev.org/c/openstack/nova/+/99434315:46
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Detect AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99476416:02
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Support launchSecurity element for SEV-SNP  https://review.opendev.org/c/openstack/nova/+/99492016:02
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Omit optional fields for SEV/SEV-ES  https://review.opendev.org/c/openstack/nova/+/99492116:03
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Drop sev capability check in launch instance flow  https://review.opendev.org/c/openstack/nova/+/99492916:03
opendevreviewTakashi Kajinami proposed openstack/nova master: AMD SEV: omit iommu='on' for virtio devices  https://review.opendev.org/c/openstack/nova/+/90963516:03
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-SNP memory encryption  https://review.opendev.org/c/openstack/nova/+/99493016:11
opendevreviewTakashi Kajinami proposed openstack/nova master: Update documentations for AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99509016:11
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512016:16
melwittgmaan: dunno if you have seen this but it seems like unit test test_cold_migration_dest_compute_graceful_shutdown has been failing intermittently https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_dc2/openstack/dc227da7383b4f62ab0731d251d86e2f/testr_results.html16:31
melwitthttps://opensearch.logs.openstack.org/_dashboards/app/data-explorer/discover?security_tenant=global#?_a=(discover:(columns:!(build_status,message,build_change,build_name),isDirty:!f,sort:!()),metadata:(indexPattern:'94869730-aea8-11ec-9e6a-83741af3fdcd',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_q=(filters:!(),query:(language:kuery,query:'message:%22in%20test_cold_migration_dest_compute16:32
melwitt_graceful_shutdown%22'))16:32
melwittbah, sorry. link looked less long in my text box16:32
*** mtreinish_ is now known as mtreinish16:36
*** opendevstatus_ is now known as opendevstatus__16:38
*** opendevstatus__ is now known as opendevstatus16:38
*** opendevstatus is now known as Guest1285016:38
opendevreviewTakashi Kajinami proposed openstack/nova master: WIP: Use domain capabilities to detect SEV-SNP support by libvirt/QEMU  https://review.opendev.org/c/openstack/nova/+/99631616:43
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Ignore SEV-ES when SEV-SNP is detected  https://review.opendev.org/c/openstack/nova/+/99434316:45
opendevreviewTakashi Kajinami proposed openstack/nova master: Accept hw_firmware_stateless=True for BIOS firmware type  https://review.opendev.org/c/openstack/nova/+/99583516:45
opendevreviewTakashi Kajinami proposed openstack/nova master: compute: Validate SEV/SEV-ES support at start up  https://review.opendev.org/c/openstack/nova/+/99434216:45
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Ignore SEV-ES when SEV-SNP is detected  https://review.opendev.org/c/openstack/nova/+/99434316:45
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Detect AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99476416:45
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Support launchSecurity element for SEV-SNP  https://review.opendev.org/c/openstack/nova/+/99492016:45
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Omit optional fields for SEV/SEV-ES  https://review.opendev.org/c/openstack/nova/+/99492116:45
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Drop sev capability check in launch instance flow  https://review.opendev.org/c/openstack/nova/+/99492916:46
opendevreviewTakashi Kajinami proposed openstack/nova master: AMD SEV: omit iommu='on' for virtio devices  https://review.opendev.org/c/openstack/nova/+/90963516:46
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-SNP memory encryption  https://review.opendev.org/c/openstack/nova/+/99493016:46
opendevreviewTakashi Kajinami proposed openstack/nova master: Update documentations for AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99509016:46
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512016:46
opendevreviewTakashi Kajinami proposed openstack/nova master: WIP: Use domain capabilities to detect SEV-SNP support by libvirt/QEMU  https://review.opendev.org/c/openstack/nova/+/99631616:47
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512017:16
opendevreviewTakashi Kajinami proposed openstack/nova master: ci: Remove GLANCE_STANDALONE  https://review.opendev.org/c/openstack/nova/+/99632217:19
gmaanmelwitt: yeah, sean-k-mooney also reported the same yesterday, I will check it today. it seems some timing issue 17:23
sean-k-mooneyof hte graceful shutdown test?17:24
sean-k-mooneymelwitt: i use https://tinyurl.com/ for those urls17:25
gmaansean-k-mooney: yeah17:26
sean-k-mooneyhttps://tinyurl.com/2ver5rr617:26
sean-k-mooneyactully not hta tquey is broken17:26
gmaandid not get time yesterday but I am on it17:26
melwittyeah it got cut off https://tinyurl.com/46cyby7t17:27
opendevreviewTakashi Kajinami proposed openstack/nova master: Accept hw_firmware_stateless=True for BIOS firmware type  https://review.opendev.org/c/openstack/nova/+/99583517:30
opendevreviewTakashi Kajinami proposed openstack/nova master: compute: Validate SEV/SEV-ES support at start up  https://review.opendev.org/c/openstack/nova/+/99434217:30
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Ignore SEV-ES when SEV-SNP is detected  https://review.opendev.org/c/openstack/nova/+/99434317:31
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Detect AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99476417:31
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Support launchSecurity element for SEV-SNP  https://review.opendev.org/c/openstack/nova/+/99492017:31
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Omit optional fields for SEV/SEV-ES  https://review.opendev.org/c/openstack/nova/+/99492117:31
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Drop sev capability check in launch instance flow  https://review.opendev.org/c/openstack/nova/+/99492917:31
opendevreviewTakashi Kajinami proposed openstack/nova master: AMD SEV: omit iommu='on' for virtio devices  https://review.opendev.org/c/openstack/nova/+/90963517:31
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-SNP memory encryption  https://review.opendev.org/c/openstack/nova/+/99493017:32
opendevreviewTakashi Kajinami proposed openstack/nova master: Update documentations for AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99509017:32
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512017:32
sean-k-mooneyok ya so its happenign fairly consitently17:34
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Detect AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99476418:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Support launchSecurity element for SEV-SNP  https://review.opendev.org/c/openstack/nova/+/99492018:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Omit optional fields for SEV/SEV-ES  https://review.opendev.org/c/openstack/nova/+/99492118:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Drop sev capability check in launch instance flow  https://review.opendev.org/c/openstack/nova/+/99492918:05
opendevreviewTakashi Kajinami proposed openstack/nova master: AMD SEV: omit iommu='on' for virtio devices  https://review.opendev.org/c/openstack/nova/+/90963518:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-SNP memory encryption  https://review.opendev.org/c/openstack/nova/+/99493018:05
opendevreviewTakashi Kajinami proposed openstack/nova master: Update documentations for AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99509018:05
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512018:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Detect AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99476418:34
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Support launchSecurity element for SEV-SNP  https://review.opendev.org/c/openstack/nova/+/99492018:34
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Omit optional fields for SEV/SEV-ES  https://review.opendev.org/c/openstack/nova/+/99492118:34
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Drop sev capability check in launch instance flow  https://review.opendev.org/c/openstack/nova/+/99492918:34
opendevreviewTakashi Kajinami proposed openstack/nova master: AMD SEV: omit iommu='on' for virtio devices  https://review.opendev.org/c/openstack/nova/+/90963518:34
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-SNP memory encryption  https://review.opendev.org/c/openstack/nova/+/99493018:34
opendevreviewTakashi Kajinami proposed openstack/nova master: Update documentations for AMD SEV-SNP support  https://review.opendev.org/c/openstack/nova/+/99509018:34
opendevreviewTakashi Kajinami proposed openstack/nova master: Remove [libvirt] num_memory_encrypted_guests  https://review.opendev.org/c/openstack/nova/+/99512018:34
opendevreviewTakashi Kajinami proposed openstack/nova master: WIP: Use domain capabilities to detect SEV-SNP support by libvirt/QEMU  https://review.opendev.org/c/openstack/nova/+/99631618:34
opendevreviewTakashi Kajinami proposed openstack/nova master: WIP: Use domain capabilities to detect SEV-SNP support by libvirt/QEMU  https://review.opendev.org/c/openstack/nova/+/99631618:48
gmaansambork: gibi: after seeing openstack-tox-py313 and openstack-tox-py314 unit test jobs failing one of my test in eventlet mode (which i need to fix to handle both mode), i realized should not be run all our default unit tests jobs openstack-tox-py313, openstack-tox-py314 in threading mode and convert nova-tox-py313-threading->nova-tox-py313-eventlet ?18:48
gmaanmainly openstack-tox-py314 or any new higher python versions testing can be done in threading mode18:48
sean-k-mooneywell we will next cycle right19:02
sean-k-mooneythe goal is to default to threaded mdoe this cycle19:03
sean-k-mooneybut form next cycel we defintly should19:03
sean-k-mooneyfor this cycle if we now have everything defaulting to threaded19:04
sean-k-mooneywe could update the job/tox config i guess19:04
sean-k-mooneygmaan: we are technaly supproting eventlet on 3.1419:05
sean-k-mooneyso the eventlet supprot is more tied to the nova version then the python version19:05
gmaanyeah, i mean we can run 3.14 version on eventlet but rest all jobs running on threading mode19:06
sean-k-mooneyalthough i dont know if 3.15 will ever be suproted by eventlet so that might eb threaded only as a side effect19:06
sean-k-mooneywell really your talking about changing this to true https://github.com/openstack/nova/blob/master/tox.ini#L6619:07
gmaankind of matching the code default which is threading mode to what we tests in most of the jobs and have a single eventlet job running on latest py version until we need to keep the support19:07
sean-k-mooneyya19:07
sean-k-mooneyi think that woudl make sense 19:07
sean-k-mooneyso remove   OS_NOVA_DISABLE_EVENTLET_PATCHING=False form the default tox unit and functional targets19:08
gmaanyeah19:08
sean-k-mooneyand rename the -threading evne and update the zuul jobs to match19:08
gmaanfunctional I am not sure as i think that is not yet ready for threading mode19:08
gmaancurrent functional threading mode job fail19:08
gmaanbut yes at least unit tests are all ready19:09
sean-k-mooneyoh ok i did not see an exclude file there19:09
sean-k-mooneybut ya i know that was in flight i guess we are not quite there yet19:09
sean-k-mooneyanyway i think your proposal makes sense so +1 form me19:10
sean-k-mooneyhum https://github.com/openstack/nova/blob/master/tox.ini#L142-L151 does not configure eventlet so i assume it is not disabeled by default19:12
sean-k-mooneyso not quite19:14
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/monkey_patch.py#L134-L14419:14
sean-k-mooneywe will patch if the env var is not set because the behvior fo the new config option is to return auto19:14
sean-k-mooneywhich means we take the else brnach19:15
sean-k-mooneyso until we change the default here https://github.com/openstack/nova/blob/master/nova/monkey_patch.py#L120 we still have not actully change the default in all code paths19:15
sean-k-mooneyso the unit and functional test and any tox env that does not set the evn var is currently using eventlet still19:16
gmaani think that was left because console proxy in this cycle still in eventlet mode as default19:18
sean-k-mooneyif that is the case then the unit test shoudl proably not be updated until next cycle19:18
sean-k-mooneygmaan: we stil have a few test that dont pass in threaded mode as well https://github.com/openstack/nova/blob/master/threading_unit_test_excludes.txt19:20
gmaanor we can do it for all other services 19:20
gmaanoh, i thought this list was cleared but yeah then we should wait probably 19:20
sean-k-mooneywe cant have monkey patched and not in the same tox invocation19:20
sean-k-mooneyalmost19:21
sean-k-mooneyif we get that to 0 it valid to swap the behvior up to RC119:21
sean-k-mooneyso we are not in a rush19:21
gmaanyeah19:22
opendevreviewMerged openstack/nova master: Correct release name in concurrency_backend  https://review.opendev.org/c/openstack/nova/+/99621921:14
opendevreviewGhanshyam Maan proposed openstack/nova master: Task tracking mechanism for graceful shutdown  https://review.opendev.org/c/openstack/nova/+/99629921:50
opendevreviewBrian Haley proposed openstack/nova master: Change neutron API calls to use project_id  https://review.opendev.org/c/openstack/nova/+/99432122:27

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