Tuesday, 2024-09-03

opendevreviewJay Faulkner proposed openstack/nova master: [ironic] Followup fixes around flavor ids  https://review.opendev.org/c/openstack/nova/+/92776400:56
*** bauzas_ is now known as bauzas01:05
*** bauzas_ is now known as bauzas01:26
stanGuys can I set a limit of how many VMs can be created simultaneously? Let's say if the user wants to create 20 VMs at a time, is there a mechanism to create 5vms in the first batch, and put the rest of the vm request in queue?01:39
bauzasI officially called out the FeatureFreeze01:45
bauzasall the 2024.2 blueprints are now either Deferred or Implemented01:45
bauzasnumbers aren't great, tbh.01:45
bauzashttps://blueprints.launchpad.net/nova/2024.201:46
*** bauzas_ is now known as bauzas02:15
*** bauzas_ is now known as bauzas02:54
*** bauzas_ is now known as bauzas03:15
*** bauzas_ is now known as bauzas05:39
*** bauzas_ is now known as bauzas06:02
opendevreviewTakashi Kajinami proposed openstack/nova master: Add hw_mem_encryption_model image property  https://review.opendev.org/c/openstack/nova/+/92770606:33
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-ES memory encryption  https://review.opendev.org/c/openstack/nova/+/92610606:33
*** bauzas_ is now known as bauzas06:35
*** bauzas_ is now known as bauzas06:51
*** elodilles_pto is now known as elodilles07:26
opendevreviewViktor Křivák proposed openstack/nova master: Ensure claims to placement are freed after evacuate complete Improve resource_tracker delete_allocation_for_evacuated_instance to handle non-cached compute hosts Fix test to accept this change  https://review.opendev.org/c/openstack/nova/+/92629207:34
opendevreviewTakashi Kajinami proposed openstack/nova master: Add hw_mem_encryption_model image property  https://review.opendev.org/c/openstack/nova/+/92770609:05
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Launch instances with SEV-ES memory encryption  https://review.opendev.org/c/openstack/nova/+/92610609:05
*** bauzas_ is now known as bauzas09:30
*** bauzas_ is now known as bauzas09:43
sean-k-mooneystan: not on a per user basis or at teh api level10:43
sean-k-mooneystan: you can set a limit per compute node10:44
sean-k-mooneyit defaults to 10 https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.max_concurrent_builds10:44
*** bauzas_ is now known as bauzas10:48
stansean-k-mooney Thanks for the information. :)10:59
stanI assume I can make changes to this in combination with scheduler timeout to achieve our use case.11:04
sean-k-mooneynote really 11:04
sean-k-mooneythe compute node config only takes effect after the instance is schduled and just delays it spawning11:04
stansean-k-mooney Alright. I will test this in our lab 👍11:17
stansean-k-mooney So nova timeout will effectively come into play after its schedule or after the VM starts to spawn?11:30
sean-k-mooneyno11:30
sean-k-mooneythere are a few tiemouts at play.  there is an api request time out for the intiall http respocne, then there is the rpc timeout between the conductor schduelr adn computes11:31
sean-k-mooneyand then there is an instance build timeout https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.instance_build_timeout11:32
sean-k-mooneywhich defaults ot 0 meaning no limit11:32
*** bauzas_ is now known as bauzas11:38
sean-k-mooneydansmith: looks like we have another test that should be skiped without qemu-img12:16
sean-k-mooneyhttps://paste.opendev.org/show/bOFlCycmdpOV1shHsHQX/12:16
sean-k-mooneydid we plan to merge your patch to use the oslo version? i lost track of where we were with that12:17
jlejeune_sean-k-mooney: hello, indeed, that's why I've proposed: https://review.opendev.org/c/openstack/nova/+/92520812:29
sean-k-mooneyah yes i tought this was familar12:30
*** jlejeune_ is now known as jlejeune12:30
jlejeunesean-k-mooney: :)12:30
sean-k-mooneyi am usign distobox to create a clean dev env on my laptop to workaround some packaging issues so didnt have it installed12:31
jlejeunelike on our CI 12:31
sean-k-mooneywell in the first party ci we do have qemu-img isntalled 12:32
sean-k-mooneybut in general it should not be requried12:32
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/925208/comment/2b6ac8e7_286f92b1/ is still an open question that needs input form others12:33
sean-k-mooneyim ok with the stub as i dont think the existin unit test should be executing that code but we still need others to weigh in12:34
sean-k-mooneyjlejeune: to be honest i had tought we merged that already12:35
*** bauzas_ is now known as bauzas12:35
jlejeuneI know I have some work to do to tka in consideration your comment but I didn't have time to work on12:36
sean-k-mooneythats fine we didnt have time to review it12:36
jlejeuneok so I don't change my code and let someone else review it based on your opinion ?12:46
opendevreviewTakashi Kajinami proposed openstack/nova master: Replace deprecated glanceclient exception  https://review.opendev.org/c/openstack/nova/+/91476112:55
*** bauzas_ is now known as bauzas13:00
sean-k-mooneyjlejeune: dan has a stonger prefernce then i do. i was ok with the reductionin code execution because i dont think a unit test should be as large as that one is and the coverage shoudl eb provided by smaller more targed test or or functional test suite13:04
dansmithsean-k-mooney: yes, merged, and that trace isn't in my code13:32
sean-k-mooneydansmith: i know its just a missing mock13:33
dansmithokay, I'm not sure what you're asking13:36
sean-k-mooneyi was just letting you knwo we still have once ase where its not mocked and jlejeune remindiend me that we had dicussed this on tehre patch previously https://review.opendev.org/c/openstack/nova/+/92520813:37
jlejeunesean-k-mooney: dansmith: not sure what I have to do about it now :)13:56
dansmithtbh, I don't hate the very first rev of this patch, and I think it's better than the current one13:59
dansmithI would str(e) and make sure there's a qemu-img in there so we only skip for that case13:59
dansmithbut that leaves us all the coverage we have today on systems that can test it,13:59
dansmithand just skips it for limited environments13:59
dansmithjust like our opportunistic DB testing13:59
dansmithjlejeune: ^14:07
jlejeunedansmith: ok, you mean I had to check the str(e) of the exception to detect if it's really related to qemu-img, in my first patchset ?14:11
dansmithjlejeune: yeah14:12
jlejeuneok clear, doing, thanks14:12
dansmithsounded like sean-k-mooney was not okay with that approach though, but I'm not sure why.. it keeps the most coverage14:12
dansmithjlejeune: might want to wait for sean-k-mooney to say that's okay as well14:12
jlejeuneok14:12
sean-k-mooneydansmith: i not entirly against it but form my point of view the unit test is not a unit test today14:13
sean-k-mooneyunit tests should not be calling code out side of the same call liek that 14:13
sean-k-mooneyif you think we have a clean way to keep the coverage and make this work that you are happy with then thats fine14:14
dansmithsean-k-mooney: you can argue that, sure, and I'm sure these exist since before the functional split, but unless you want jlejeune to refactor and move them out to functional, it seems like a reasonable "just fix the problem without the nuclear option of losing a bunch of coverage (regardless of the quality)" option14:14
sean-k-mooneyits a trade off between fragile tests and test coverage14:15
sean-k-mooneydansmith: i dont have the review open right now but did the coverage report show a decresse in coverage?14:16
sean-k-mooneya hte resulsts expired14:16
dansmithsean-k-mooney: the only way it wouldn't is if we have all that code covered and mocked elsewhere, but the point of this test is to have some basic exercising of those things,14:16
dansmithso that if we were to remove the specific tests we'd at least have this14:17
sean-k-mooneydansmith: i dont think refactoring into the funcitonal test is a reasonable ask so i agree we shoudl just fix the exiting test for now14:17
dansmithsean-k-mooney: right, me either, I was just using that to make the point :)14:17
sean-k-mooneydansmith: ok so i disagree that that shoudl be its point14:17
sean-k-mooneyit should be testing the hihgh level interface14:17
sean-k-mooneyadn the lower leves shoudl be coverd elsewhere14:18
sean-k-mooneybtu for now if your happy with yoru proposed solution then lets proceed with that14:18
dansmithagain, I don't disagree with the "should" part.. just don't want to lose the "is currently" part14:18
sean-k-mooneyso you want to go back to https://review.opendev.org/c/openstack/nova/+/925208/1/nova/tests/unit/virt/test_virt_drivers.py then and add a check that the excption has qemu-img in it14:19
dansmithif we get a process execution error, and that error mentions qemu-img in it, it's pretty obviously a very targeted case I think14:20
sean-k-mooneyjust to make sure we only skip if that why 14:20
dansmithyou could even look for "not found" or something if you want to get super targeted14:20
dansmithright14:20
sean-k-mooneyif thats your prfernce then lets do that. i dont like skiping test after we tired to do soemthign but i think this is ok for now14:21
sean-k-mooneywhen swaping to the oslo version hwoever we shoudl be mocking out the image inpection usage14:21
jlejeunesean-k-mooney: +114:21
dansmithagain, I'm not sure what this has to do with moving to the oslo version14:21
dansmithsean-k-mooney: you know this is *already* merged right? https://review.opendev.org/c/openstack/nova/+/92502514:22
sean-k-mooneyno i was not aware that merged 14:22
sean-k-mooneythe reason that relevent is while it might be ok to call 14:24
sean-k-mooneynova.image.format_inspector.detect_file_format14:24
sean-k-mooneyin a unit test inteded to test the driver interface14:25
sean-k-mooneyit feel much less ok to call "oslo_utils.imageutils.format_inspector.detect_file_format"14:25
dansmithbut we're not doing either of those here right??14:25
dansmiths/??/?/14:25
sean-k-mooneythat what causing the qemu-image call as far as im aware14:25
dansmithno, it's libvirt actually creating the snapshot14:26
dansmithqemu-img create -f qcow2 ./tmpm1aqe2cp/25c6cab7c98f4cbba03223754b5d2e74.delta14:26
dansmiththis is definitely not from format inspector ^14:26
opendevreviewTakashi Kajinami proposed openstack/nova master: Replace deprecated glanceclient exception  https://review.opendev.org/c/openstack/nova/+/91476114:26
sean-k-mooneyoh then this is an unrelatd case wehre we alredy depended on qemu-img?14:26
dansmiththis is all code that wasn't being tested at all before because it was being ignored since ImageMeta was missing a key and causing the test to bail super early for libvirt14:26
sean-k-mooneyi tought this was intoduced by the cve fix14:27
sean-k-mooneyoh right you changed it to not return NotImplemented14:27
dansmithsean-k-mooney: yes, I fixed a case where we were not getting the coverage we expected and now we're actually running code we weren't before, that's why I don't want to go back to not covering that14:27
dansmithright14:27
jlejeuneby the removal of AMI support actually14:27
sean-k-mooneyso its related but not directly because you fixed the missing test coverage14:27
dansmithexactly, the AMI thing, unrelated to anything else14:27
sean-k-mooneysorry 14:27
opendevreviewTakashi Kajinami proposed openstack/nova master: Replace deprecated glanceclient exception  https://review.opendev.org/c/openstack/nova/+/91476114:27
sean-k-mooneydansmith: with that context then yes im much more ok with your suggeed approch14:28
dansmithcool14:28
dansmithjlejeune: sorry for the runaround :)14:28
jlejeuneno prob :)14:29
jlejeunelet's do that !14:29
*** bauzas_ is now known as bauzas14:50
opendevreviewJulien LE JEUNE proposed openstack/nova master: Skip snapshot test when missing qemu-img  https://review.opendev.org/c/openstack/nova/+/92520815:12
jlejeunedansmith: sean-k-mooney: ^15:14
jlejeunesomething like that ?15:14
dansmithsure, but that will fail pep815:18
jlejeunemy bad15:18
dansmithbut looks okay to me otherwise15:18
opendevreviewJulien LE JEUNE proposed openstack/nova master: Skip snapshot test when missing qemu-img  https://review.opendev.org/c/openstack/nova/+/92520815:26
dansmithsean-k-mooney: I think you commented about using backslash continuations recently on another patch, not sure why you didn't on this one, but I also can't find out guideline about that15:33
sean-k-mooneyya i personally hate them but we are not as concistent about not doing it as i would like15:33
dansmithI know we have them in some places and I'm not sure I care about our previous hard and fast rule about it, other than just wanting to be consistent15:33
sean-k-mooneyand im presonally geting very tired of style related review comments15:34
dansmithah right here, second bullet: https://docs.openstack.org/hacking/latest/user/hacking.html15:34
sean-k-mooneyyep its documetned but not enforced by tools15:34
dansmithjlejeune: ^15:34
dansmithright15:34
opendevreviewJulien LE JEUNE proposed openstack/nova master: Skip snapshot test when missing qemu-img  https://review.opendev.org/c/openstack/nova/+/92520816:02
erlonAre we having the nova meeting today?16:05
gibierlon: no, it is cancelled16:06
gibibauzas is off today16:06
erlonah, ok, missed the announcement16:06
sean-k-mooneysylvain is at the opensatck asia summit event in korea currently16:06
sean-k-mooneyerlon: did you have a pressing topic ot bring up?16:07
gibiyeah that is the more precise term instead of being off :)16:07
erlonI was to bring the shared group to attention again16:07
erlonwe have addressed the last reviews suggestions16:07
sean-k-mooneyshared security groups or somethign else?16:07
erlonshared security groups 16:08
erlonhttps://review.opendev.org/c/openstack/nova/+/81152116:08
erlonfrom this series: https://review.opendev.org/q/topic:sg-shared-filter16:08
sean-k-mooneyah well for that i think we will liikely jsut reapprove that for next cycle16:08
sean-k-mooneyso once RC 1 is creeated in 2 weeks master will reopen for new work and it can proceed16:08
*** bauzas_ is now known as bauzas16:09
erlonok, sounds good16:10
erlonis there a way to flag it like that so the team can approve it next?16:10
erlonI 16:10
sean-k-mooneyput it in the team adjenta for the next meeting and you can link to this irc converstiaon if you like16:12
sean-k-mooneyso add it to open disucsion here https://wiki.openstack.org/wiki/Meetings/Nova#Weekly_Nova_team_meeting16:12
sean-k-mooneyerlon: skiming the updated version it looks ok but i will need to review it properly later. it looks like you have simplifed it a little since the last version which is nice to see16:13
haleybsean-k-mooney: i tried to address all the comments16:14
sean-k-mooneyhaleyb: sorry you are the most recent uploader :) yes i think you have16:14
sean-k-mooneyi basically am getting a headache right now which is why im holding of reviewing it proeprly16:15
haleybi just wanted to move that along, np16:15
haleybhope you feel better16:15
sean-k-mooneyi think its just a lack of drinking water so im goign to go remiday that16:16
*** bauzas_ is now known as bauzas16:55
*** bauzas_ is now known as bauzas17:15
opendevreviewMerged openstack/nova stable/2024.1: libvirt: call get_capabilities() with all CPUs online  https://review.opendev.org/c/openstack/nova/+/92755617:22
opendevreviewMerged openstack/nova stable/2024.1: Fix port group network metadata generation  https://review.opendev.org/c/openstack/nova/+/92368917:41
opendevreviewMerged openstack/nova master: Skip snapshot test when missing qemu-img  https://review.opendev.org/c/openstack/nova/+/92520817:41
*** bauzas_ is now known as bauzas18:45
*** bauzas_ is now known as bauzas18:57
gmannsean-k-mooney: if you are around https://review.opendev.org/c/openstack/placement/+/92693519:07
sean-k-mooney+2w19:27
*** bauzas_ is now known as bauzas19:30
gmannthanks19:41
*** bauzas_ is now known as bauzas19:50
*** bauzas_ is now known as bauzas20:10
opendevreviewBrian Haley proposed openstack/nova master: Support creating servers with RBAC SGs  https://review.opendev.org/c/openstack/nova/+/81152120:54
*** bauzas_ is now known as bauzas21:08
*** bauzas_ is now known as bauzas21:32
opendevreviewMerged openstack/placement master: Bump oslo.policy version to enable new RBAC by default  https://review.opendev.org/c/openstack/placement/+/92693521:34
opendevreviewMerged openstack/nova master: Remove default override for RBAC config options  https://review.opendev.org/c/openstack/nova/+/92551922:07
*** bauzas_ is now known as bauzas22:13
*** bauzas_ is now known as bauzas22:45
*** bauzas_ is now known as bauzas22:53
*** bauzas_ is now known as bauzas23:01
*** bauzas_ is now known as bauzas23:09

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