Earlier  
Posted Nick Remark
#openstack-nova - 2025-05-27
16:40:33 sean-k-mooney /me clicks
16:40:47 gibi sean-k-mooney: this is the memballon RFE
16:40:47 sean-k-mooney oh that
16:41:07 sean-k-mooney ya i kind of felt like may i shoudl jsut spend an afternoon and write it
16:41:15 sean-k-mooney basicaly the short version is
16:41:33 sean-k-mooney nova orgianlly did not enabel the mem balloan at all unless you enabel memory stat reporting
16:41:45 sean-k-mooney at some point libvirt started adding it by default
16:41:59 sean-k-mooney but we have never actullly used it to release/reclaim unused memory form the guest
16:42:07 sean-k-mooney because that used to require a special agent on the host
16:42:17 sean-k-mooney proxmox and ovirt provided those
16:42:23 sean-k-mooney that now built into libvirt
16:42:36 sean-k-mooney so we coudl just hardcode 2 xml atributes
16:42:49 sean-k-mooney which woudl allwo memory to be release in 2 cases
16:43:14 sean-k-mooney oen when the OOM reaper is about to kill the vm if we have auto defalte on the vm gets a chane to free memory
16:43:24 sean-k-mooney the other one "freePageReporting"
16:43:40 sean-k-mooney allow the memory to be retruend to the host any time the guest free memory
16:43:52 sean-k-mooney i think it would nice ot supprot both in nova
16:44:08 sean-k-mooney but ya someone just needt to write it
16:44:32 sean-k-mooney i kind of wodnered how other felt
16:44:40 gibi if you have time to write it I'm not against it, but it is just a nice to have
16:45:09 sean-k-mooney track this as a wishlist RFE bug?
16:45:12 sean-k-mooney spec?
16:45:38 sean-k-mooney i feel like this is one of those things where is quicker to write then disucss :)
16:46:19 Uggla Yep that sounds quite strait forward so specless BP, I think.
16:46:23 gibi if this is hardcode as enalbed then specless
16:46:25 sean-k-mooney all of our qemu and linvert version miniums are above wehre this was added so there is no migration or upgrade aspect either
16:46:48 gibi does it effect realtime / nfv guest performance?
16:46:54 sean-k-mooney :)
16:47:13 sean-k-mooney well yes but they normlaly turn off the mem ballon entirly
16:47:22 sean-k-mooney because it addds overhead that they dont tolllerate
16:47:38 sean-k-mooney whicih is why we shoudl fix the bug that stops you form being able to do that
16:47:43 gibi ahh
16:47:50 sean-k-mooney https://bugs.launchpad.net/nova/+bug/2069192
16:47:57 gibi so we should not make that situation worse :) Lets fix the bug first then
16:48:13 sean-k-mooney so this would be hard code on if you have the mem balloan enabled
16:48:37 sean-k-mooney gibi: rajesh ahs a patch up to fix that bug https://review.opendev.org/c/openstack/nova/+/945621
16:48:44 gibi cool
16:49:06 gibi so I'm OK with a specless
16:49:14 gibi and I will look at that bugfix
16:49:30 sean-k-mooney Uggla: gibi ok lets do this. if i find time to work on this before m2 ill file a specless blueprint and we can aprove it then
16:49:51 sean-k-mooney if not i can file a RFE bug or similar tracker and if someone has time we can work on it later
16:50:01 gibi sounds good to me
16:50:53 Uggla +1
16:51:20 Uggla I have tracked that in the etherpad no to forget.
16:52:30 Uggla Something else to discuss ?
16:52:48 gibi -
16:53:11 Uggla Do you have still energy left to triage 1 or 2 bugs ?
16:53:26 gibi -
16:53:49 sean-k-mooney we can proably do one
16:54:17 sean-k-mooney although if you have not noticed im a littel disrtrated today. but we can try to do one
16:54:51 Uggla #topic Bug scrubbing
16:54:56 Uggla #link: https://etherpad.opendev.org/p/nova-bug-selection-for-triaging#L4
16:55:02 Uggla Just one
16:55:17 Uggla https://bugs.launchpad.net/nova/+bug/2103500
16:56:21 Uggla To my mind that sounds a valid one. At least regarding the comment from Brian.
16:58:29 gibi db error in the neutron code, this is a neutron bug
16:58:49 gibi at least neutron should not return 500
16:59:14 sean-k-mooney so we had a vm create request with --network
16:59:28 sean-k-mooney it existsed at the api but by the time we got to the compute it as deleteed
16:59:48 sean-k-mooney i guesss it coudl happen when we do the quota check as well
17:00:01 gmaan and nova do capture NetworkNotFound exception if it is not found and requested https://github.com/openstack/nova/blob/221a3e89e8988bc664298106ee691a4e41ca71f9/nova/api/openstack/compute/servers.py#L842
17:00:02 sean-k-mooney in anycase ya we shoudl get back a 400 not a 500
17:00:43 gmaan or somewhere neutron exception is lost and not raised to controller ?
17:00:47 sean-k-mooney the expected behivor here shold be that nova puts the vm in error
17:01:03 sean-k-mooney and when the vm is deleted we would clean up any prot that were created then
17:01:09 sean-k-mooney based on teh delete on termeinate behaivor
17:01:20 gmaan yeah, bug say ignore the deleted network port and continue VM creation which does not seems right
17:01:42 sean-k-mooney its not form a nova point of view because we could not honner the orginal request
17:02:33 sean-k-mooney so depending on where this failed it soudl be burried in cell 0, rejected at the quoata check with a 400 or in error in the cell db if it got all the way to the compute
17:04:05 sean-k-mooney reading it more careflyy im tempeted to mark it inviald in nova
17:04:35 sean-k-mooney in there case its the quota check that is failing whne we list all prots for a tenatnt
17:05:05 Uggla sean-k-mooney, if you are unsure we can keep it open for next week.
17:05:26 sean-k-mooney althogh if we are missing the try accpate on teh network not found then thats a valid bug i guess
17:07:18 Uggla sale for valid ?
17:07:55 gmaan I have not tracked the exact call of validate_networks() but nova handle NetworkNotFound in _validate_requested_network_ids
17:07:55 gmaan https://github.com/openstack/nova/blob/221a3e89e8988bc664298106ee691a4e41ca71f9/nova/network/neutron.py#L988
17:09:06 gmaan does bug mention 500 is returned? or 400 ?
17:09:14 sean-k-mooney gmaan: i think neturon is returnign a 500
17:09:17 sean-k-mooney https://paste.openstack.org/show/bt3BWnyrBbQspiFx8KPZ/
17:09:39 gmaan ohk
17:09:51 sean-k-mooney i think we need more info to be sure
17:10:13 sean-k-mooney the do have a NetworkNotFound excption https://paste.openstack.org/show/bJL9b5aY99XpZlLZdzgy/
17:10:15 gmaan I think nova hanlding the error correctly if neuton return NetworkNotFound
17:10:35 gmaan and controller also handle NetworkNotFound so 400 will be return
17:11:21 sean-k-mooney can you comment to that effect on the bug
17:11:47 gmaan sure, will do after TC meeting
17:11:58 sean-k-mooney the first step to fixing this if we were to fix it in nova woudl be a repoducer test anyway
17:12:03 sean-k-mooney iesally a functional one
17:13:45 Uggla sean-k-mooney, does that mean we can set it as valid ?
17:15:43 Uggla I need to close the meeting, so I propose to look at that bug offline later or next week.
17:15:47 Uggla Thanks all and thanks for the extended time for bug triage.
17:15:54 gmaan Uggla: I will check exact trace of validate_network and see if nova missing NetworkNotFound handling anywhere
17:15:54 Uggla #endmeeting
17:15:54 opendevmeet Meeting ended Tue May 27 17:15:54 2025 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
17:15:54 opendevmeet Minutes: https://meetings.opendev.org/meetings/nova/2025/nova.2025-05-27-16.00.html
17:15:54 opendevmeet Minutes (text): https://meetings.opendev.org/meetings/nova/2025/nova.2025-05-27-16.00.txt
17:15:54 opendevmeet Log: https://meetings.opendev.org/meetings/nova/2025/nova.2025-05-27-16.00.log.html
17:15:57 gmaan and comment in bug
17:16:02 gmaan aftr TC meeting
17:16:37 Uggla thanks gmaan

Earlier   Later