Tuesday, 2025-03-18

bauzasgibi: could you give a swing for the prelude ? https://review.opendev.org/c/openstack/nova/+/94471308:12
gibibauzas: sure08:12
bauzasta08:13
gibibauzas: could you quickly respin it to change vif mode to vif model?08:16
gibiI can proxy dansmith's +2 and land it afterwards08:16
bauzasgibi: sure08:17
bauzaswe still are awaiting the QEMU version bump to land before we tag RC108:17
bauzashopefully today we can branch :)08:18
opendevreviewSylvain Bauza proposed openstack/nova master: Add Epoxy prelude section  https://review.opendev.org/c/openstack/nova/+/94471308:19
gibibauzas: thanks, approved the prelude08:22
bauzasty08:25
bauzasUggla: I forgot that you're now the PTL in projects.yaml so I can't longer automatically have a PTL-Approved label in Gerrit, can you please +1 again https://review.opendev.org/c/openstack/releases/+/943801 ?08:27
UgglaHello bauzas, done08:28
bauzasty08:28
bauzasI'll start to modify the paperwork documentation for the new PTL :)08:28
Ugglacool08:29
bauzasonce https://review.opendev.org/c/openstack/releases/+/943941, you'll be the new PTL :)08:29
bauzasUggla: could you please +1 https://review.opendev.org/c/openstack/releases/+/943947 ?08:31
Uggladone as well08:32
* Uggla afk for 10mn08:34
bauzasfun, can't log into the openstack wiki08:44
bauzasanyone else ?08:44
Ugglabauzas, same for me apparently 08:47
bauzasI left a ping in #openstack-infra08:47
Ugglabauzas, nop it is slow but ok08:48
bauzaswe should move the wiki pages to the nova internal docs eventually, and just leave the meeting agenda as an etherpad08:48
bauzasno need for us to continue to run a wiki08:48
gibifor me it is not slow but actually not log in just put me back to where I started the login process 08:49
bauzasand many times it's either slow or broken08:49
bauzasgibi: same behaviour here08:49
* bauzas will take the opportunity to move our main wikipage to the nova docs08:49
bauzasI'm no longer a PTL but I have time :)08:50
Ugglalogin is working but it is very sloooow.08:51
opendevreviewOpenStack Release Bot proposed openstack/placement stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484009:25
opendevreviewOpenStack Release Bot proposed openstack/placement stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484109:25
opendevreviewOpenStack Release Bot proposed openstack/placement master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484209:25
opendevreviewMerged openstack/nova master: Add Epoxy prelude section  https://review.opendev.org/c/openstack/nova/+/94471310:06
opendevreviewMerged openstack/nova master: Bump MIN_{LIBVIRT,QEMU} for "Epoxy"  https://review.opendev.org/c/openstack/nova/+/94287112:43
frickler\o/12:44
opendevreviewMerged openstack/placement stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484012:48
opendevreviewMerged openstack/placement stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484112:59
opendevreviewMerged openstack/placement master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/placement/+/94484212:59
gibibauzas: FYI this is the PCI in Placement fix we discussed before in our planning. https://review.opendev.org/q/topic:%22bug/2098496%22 Dan is already +2. I know that we are in the RC quite period so I'm just asking for review, but I'm OK to keep this open until the final release and then land it on master and backport to stable 2025.113:57
gibino need for an RC2 just for this13:57
dansmithbauzas: it's pretty nasty since it consumes more PCI devices than the user asked for, so we definitely need to backport that if no rc214:04
dansmithusually the justification for an rc2 is that it fixes a regression that would be in this release.. gibi when did this bug get introduced do you know?14:05
dansmithI assume before this cycle14:05
bauzaswe haven't yet branched RC1, so we could potentially merge it in time for RC1, but is that worth it ?14:18
bauzassorry, was in meeting...14:18
gibidansmith: before this cycle14:18
gibiaround Antelope14:18
bauzasI really wanted to tag RC1 today, and mostly everything is done merged 14:18
bauzaseven https://review.opendev.org/c/openstack/nova/+/942871/214:19
bauzasso technically, I was about to propose a revision for nova RC1 https://review.opendev.org/c/openstack/releases/+/94394114:19
dansmithgibi: ack, so no new regression if we wait and backport14:19
gibibauzas: feel free to go and cut RC1. I can take care of this landing very early in F and backport it to E14:19
gibidansmith: yepp14:19
gibinothing new14:19
dansmithbauzas: do eet14:19
bauzasokay, then I'll set a new revision and let RC1 go14:20
gibicool14:20
bauzaswe're not that bad this cycle, we're only 4 days behind the original schedule :)14:20
gibi:)14:21
gibithe schedule was too early ;) we are ready when we are ready14:21
dansmiththat's not very agile :)14:21
bauzaswait, we're upstream, we don't need to do agile here14:23
dansmith\o/14:23
bauzasmy world for a waterfall14:23
gibiI think the we are ready when we are ready is pretty agile, we should have time based releases not content based, so we are ready whenever we can, and independently from this the release just happens automatically at any time. At least this is the theory :)14:24
dansmithwouldn't that mean we'd have cut rc1 on the day regardless of what had merged?14:25
dansmithpunting your fix because it's not landed is agile/time-based, but my point was being 4 days behind schedule is not :)14:26
sean-k-mooneywe shoudl have cut RC1 last week yes14:28
sean-k-mooneyand upstream is agile not waterfall14:28
gibidansmith: nah you are right. I'm not advocating to wait with the release. I'm just joking around that time based releases only really time based if they are fully automatic (and fast), otherwise the release needs to wait for the humans to press buttons (i.e. review prelude etc)14:28
sean-k-mooneywe just have 6 month release14:28
sean-k-mooneybut its time based14:28
dansmithgibi: yep14:29
sean-k-mooneygibi: we propose the patches and auto merge them if the project teams dont -1 it14:29
gibimaybe an LLM could keep a release notes prelude patch always up to date ready to merge for a sudden time based release14:30
sean-k-mooneyi joked about that14:30
sean-k-mooneyi was going to try and od that for watcher but then realised we didnt really have enough release notes to use14:30
sean-k-mooneyfor nova it actully might be mossibale to get a first pass that you could word smit14:30
sean-k-mooneywe have enough source meatiral for it to possibly summerize 14:31
dansmithgibi: omg please don't14:32
gibiI know I have dangerous jokes14:32
sean-k-mooneybauzas: we have been particallary bad at doing time based release this cycle. its very much a low light for me14:33
sean-k-mooneyits somehting we need to try and avoid going forward14:33
dansmithsean-k-mooney: what does that mean exactly? isn't this the first such thing this release?14:34
dansmithI mean, assuming so that means we missed 100% so maybe that's your point, but.. :)14:35
sean-k-mooneynope, the vfio-varitant dirver migraiton serise was not ready at feature freeze by enough that i dont think we should have granted it a FFE14:35
dansmithoh so you mean s/release/deadline/ I guess14:36
sean-k-mooneyya14:36
dansmithI mean, I don't think missing deadlines is new for us :)14:36
sean-k-mooneywe have been pretty flexible with all our deadlines this cycle14:36
dansmithoh I see you mean we weren't strict enough, I see14:37
dansmith++ for being stricter on that stuff,14:37
sean-k-mooneyno but we actully wanted to try an do better this cycle by haveing soft freezes ectra in december14:37
dansmithalthough this conversation is in the context of not jamming something else into rc2 that isn't a regression, which is the right strict approach14:37
sean-k-mooneyso we intened to try and be stricter this cycle and proably were laxer then we have been for a good few cycles14:37
dansmithwe've been trying to do better on that since 2016 at least :D14:37
sean-k-mooneyim reivewing the repoducer patch at the moment by the way14:38
sean-k-mooneyso sort version we are going to back port this as normal after the release is done rather then rc2 right?14:38
sean-k-mooneythis being https://review.opendev.org/q/topic:%22bug/2098496%2214:39
dansmithyes14:39
sean-k-mooneycool in that case ill continue with the review14:40
dansmithstacking the +2s so we can +W when rc1 is cut would be nice14:41
sean-k-mooneyya ill do that14:41
sean-k-mooneymy brain is currently parsing the repoducer logic. it looks reasonable but i have not completed that yet14:42
bauzasUggla: can you +1 https://review.opendev.org/c/openstack/releases/+/943941 ?15:00
gibisean-k-mooney: thanks for reviewing it15:35
sean-k-mooneythe repoducer looks fine im mostly done with the actual fix.15:35
sean-k-mooneythe one bit of context i dont have loaded is what exactly are we using requested_devs_per_pool_rp for15:36
sean-k-mooneybasicly the rest of the patch is pretty clear to me but im not entirly sure why https://review.opendev.org/c/openstack/nova/+/944277/7/nova/pci/stats.py#326 is needed15:38
sean-k-mooneyare you relying on       count = requested_devs_per_pool_rp[pool['rp_uuid']]15:38
sean-k-mooneyto raise a key error if we try to calim another device15:38
gibisean-k-mooney: we are in a context of a single InstancePCIRequest. That is fufilled by a list of rp_uuis, the requested_devs_per_pool_rp is a counter (a dict) that tells how many devices needs to be allocated from a given rp_uuid in a given request15:38
sean-k-mooneyfrom the same pool if its alwreay exausted15:38
gibirequested_devs_per_pool_rp[pool['rp_uuid']] is 0 if the rp_uuid is not in the requested_devs_per_pool_rp15:39
gibias it is a counter15:40
sean-k-mooneyok15:40
sean-k-mooneythat sound reasonable15:40
gibicounter is a nice data structure :)15:40
sean-k-mooneyill finish the review and read over that again15:40
sean-k-mooneyok so in consume we just pop it form the set we need to allcoate because  self._allocate_devs shoudl allcoate  "count"  device regardelss of how many we ask for15:43
sean-k-mooneyso if that successed we can ignore that RP and move on15:43
gibiyeah basically if we allocated all for this rp we don't need to keep the rp in the counter as we never want to allocate for this rp again for this request15:44
sean-k-mooneyim not sure that actully heps because we are looping over the pools so we should never have 2 pools with the same rp_uuid15:45
sean-k-mooneybut ok15:45
sean-k-mooneyit does not hurt either15:45
sean-k-mooneyrequested_devs_per_pool_rp never leaves this funciton so poping it now or later does not really matter15:46
sean-k-mooneyits proably slightly slower to do it this way then droping the entire collection of counters the end of the function but only slightly15:47
gibiyeah this is just super defensive right now15:48
bauzas #startmeeting nova16:00
bauzas#startmeeting nova16:01
opendevmeetMeeting started Tue Mar 18 16:01:51 2025 UTC and is due to finish in 60 minutes.  The chair is bauzas. Information about MeetBot at http://wiki.debian.org/MeetBot.16:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:01
opendevmeetThe meeting name has been set to 'nova'16:01
bauzashaha16:01
* bauzas was wondering why it wasn't running16:02
gibio/16:02
bauzas#link https://wiki.openstack.org/wiki/Meetings/Nova#Agenda_for_next_meeting16:02
* bauzas will add our next PTL for this meeting as a chair :)16:02
bauzas#chair Uggla16:02
opendevmeetCurrent chairs: Uggla bauzas16:02
elodilleso/16:02
Ugglao/16:03
bauzasawaiting a few before starting16:04
bauzas#topic Bugs (stuck/critical) 16:05
bauzas#info No Critical bug16:05
bauzas#info Add yourself in the team bug roster if you want to help https://etherpad.opendev.org/p/nova-bug-triage-roster16:05
bauzasanything about bugs ?16:05
masahitohello o/16:06
bauzas#topic Gate status 16:07
bauzas#link https://bugs.launchpad.net/nova/+bugs?field.tag=gate-failure Nova gate bugs 16:07
bauzas#link https://etherpad.opendev.org/p/nova-ci-failures-minimal16:07
bauzas#link https://zuul.openstack.org/builds?project=openstack%2Fnova&project=openstack%2Fplacement&branch=stable%2F*&branch=master&pipeline=periodic-weekly&skip=0 Nova&Placement periodic jobs status16:07
bauzas#info Please look at the gate failures and file a bug report with the gate-failure tag.16:07
bauzas#info Please try to provide meaningful comment when you recheck16:07
bauzasanything about the gate ?16:08
bauzasif not, moving on16:10
bauzas#topic Release Planning 16:10
bauzas#link https://releases.openstack.org/epoxy/schedule.html16:10
bauzas#link https://etherpad.opendev.org/p/nova-epoxy-rc-potential 16:10
bauzasas you can see, all of the open changes are now merged so...16:10
bauzas#info RC1 tag https://review.opendev.org/c/openstack/releases/+/94394116:10
bauzasshould be merged today16:10
bauzaswhich means that as soon as RC1 is tagged, epoxy branch is created and master becomes Flamingo :)16:11
elodillesit's already on the gate ;)16:11
Uggla\o/16:12
bauzaswhich means we're already mostly in the Flamingo cycle now16:12
bauzas#link https://releases.openstack.org/flamingo/schedule.html16:12
bauzas#info Nova Flamingo deadlines will be discussed at the PTG.16:12
bauzaswe don't know yet the next deadlines for feature freeze and spec approvals,  those will be discussed there16:14
bauzasnow, I'm passing the chair baton to Uggla :)16:14
Ugglabauzas, thx16:14
Uggla#topic Review priorities 16:14
Uggla#info Flamingo priorities will be discussed at the PTG.16:15
Uggla#topic PTG planning16:15
Uggla#info Next PTG will be held on Apr 7-1116:15
Uggla#link https://etherpad.opendev.org/p/nova-2025.2-ptg16:15
UgglaThanks to fill the doc as soon as possible it will help to organize the PTG.16:17
Uggla#topic Stable Branches 16:18
Uggla#info stable gates seem to be healthy16:18
Uggla#info stable branch status / gate failures tracking etherpad: https://etherpad.opendev.org/p/nova-stable-branch-ci16:18
Uggla@elodilles, if you want to say something the floor is yours.16:18
bauzasUggla: you usually can let elodilles speak :)16:18
elodillesthanks bauzas Uggla :)16:19
elodillesnothing to say ;)16:19
elodillesstable gates were quiet this week :)16:19
elodillesi guess due to RC1 rush16:19
sean-k-mooneywe probaly will want to do some stable release in the next week or two16:19
sean-k-mooneybut obvioulsy finishing 2025.1 is the higher priority16:19
elodillessean-k-mooney: sure, we can do that16:20
elodillesindeed, 2025.1 is the top prio right now16:20
elodillesand for the coming 2 weeks ;)16:20
sean-k-mooneyonce that done its good to look at the stable branch and see if any have patches that should be put in a release16:20
elodillesespecially as stable/2023.2 (bobcat) will move to End of Life16:20
sean-k-mooneyyep16:20
sean-k-mooneydo we have a deadlien for that?16:21
elodillesand will be deleted ~1 month after 2025.1 Epoxy release16:21
elodillessean-k-mooney: ^^^ that16:21
sean-k-mooney:)16:21
elodillesand we should not leave the release at the deadline16:21
elodillesin case we deliver some regression we cannot fix that anymore16:22
sean-k-mooneyright we should proably try to do a stable review spritn in like 3 weeks16:22
elodilleswhich is unlikely, but let's not leave a chance for that ;)16:22
elodillessean-k-mooney: +116:22
elodillesso yeah, that's all about stable i think16:23
Ugglathx @elodilles, so moving on.16:23
* gibi has a lot of pending backports :)16:23
elodillesand some of them are waiting for a 2nd +2 if i'm not mistaken o:)16:24
gibi:)16:25
Ugglaprobably some FUP from my side too...16:25
Ugglaok next topic16:26
Uggla#topic vmwareapi 3rd-party CI efforts Highlights 16:26
Uggla#info Investigating another regression on the network side16:26
fwieselHi, no update from my side. I am currently on sick leave, so no probably no updates next week either.16:26
Ugglafwiesel, if you want to say something. that's your turn.16:26
sean-k-mooneyfwiesel: no worreis, you proably shoudl go rest so instead of being on irc16:26
sean-k-mooneyfwiesel: dont feel pressuered to be here if your unwell16:27
opendevreviewOpenStack Release Bot proposed openstack/nova stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/nova/+/94488816:27
opendevreviewOpenStack Release Bot proposed openstack/nova stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/nova/+/94488916:27
opendevreviewOpenStack Release Bot proposed openstack/nova master: Update master for stable/2025.1  https://review.opendev.org/c/openstack/nova/+/94489016:27
fwieselNo, no problem.16:27
fwieselI take it slowly. So, that's from my side.16:28
fwieselBack to you Uggla.16:28
Ugglafwiesel, take it easy, I wish you a prompt recovery.16:29
Uggla#topic Open discussion16:29
ishanwar[m]#topic Bug #2027156 Low hanging fruit 16:30
ishanwar[m]https://bugs.launchpad.net/nova/+bug/202715616:30
UgglaI know @bauzas wants to discuss about being release liaison. I think this is to make the next release point easier.16:30
bauzasoh, it was just because I miss my PTL-Approval gerrit label :D16:31
bauzasand I want to know if anyone has concerns with me continuing to do release liaison ?16:31
gibihaving redundancy in our staffing to push a release make sense to me16:31
Ugglano pb on my side.16:32
sean-k-mooneynot really, we are allowed to chnage that at any time during the release os we can just propsoe the patch16:32
elodilles+2 from me too16:32
sean-k-mooneyand dicuss it ther16:32
sean-k-mooneyishanwar[m]: we will loop back ot you next16:32
bauzascool cool, then I'll propose myself :)16:32
bauzasthat was short and quick :)16:32
ishanwar[m]sean-k-mooney: sure16:32
Ugglaso I think we can discuss ishanwar[m] topic.16:33
Ugglaishanwar[m], please go ahead.16:33
ishanwar[m]I wanted to have a discussion on https://bugs.launchpad.net/nova/+bug/2027156 16:34
dansmiththat doesn't look like low-hanging fruit to me :)16:34
dansmithis there a review up?16:34
ishanwar[m]no I am still working on it 16:35
dansmithokay, if the quota api is not something that we can guarantee is available, then we have to have all the code we have today in nova, plus new code to use the api if present, right?16:35
ishanwar[m]wanted to discuss if I understood it correctly,... (full message at <https://matrix.org/oftc/media/v1/media/download/AZZiNbMs1GZbZLUOwiWvG2I_Dg7_qJ2sHecbqrafIK6K_9GcmEgBnqAHwcu-vfVKIV_6lx6PmdvT59UIS_UEVuBCeV8jVjWgAG1hdHJpeC5vcmcvekZxaUt3b3hkYnpmanJ2dkZqQ2lESFJY>)16:35
ishanwar[m]the bug mentions https://github.com/openstack/nova/blob/master/nova/network/neutron.py#L265416:36
ishanwar[m]as the candidate for change but i am not sure, if we are counting in ports in that function. 16:36
ishanwar[m]am i right ? 16:36
sean-k-mooneyso part of the problem is the orginal bug report does not use permalinks16:37
dansmithishanwar[m]: that bug was filed by a neutron person so I suspect we won't be able to answer your question authoritatively without really digging in16:37
sean-k-mooneyso they dont nessiarly link to the correct code any more16:37
sean-k-mooneyishanwar[m]: you are correct that validate_networks does use the quota api already https://github.com/openstack/nova/blob/master/nova/network/neutron.py#L271416:38
sean-k-mooneyi guess the real quetion is do we use that in all places we do quota checks16:38
sean-k-mooneythis was orginaly reported downstream for trian16:39
sean-k-mooneyso its very possibel that htis was fixed already in master16:39
ishanwar[m]Yes correct, but it's still listing all ports to count them, rather than using show_quota_details, right ? 16:39
sean-k-mooneywe do a port list in get_requested_resource_for_instance16:40
sean-k-mooneybut that not listing all ports for the porject16:40
ishanwar[m]sean-k-mooney: not sure if this is fixed elsewhere, I was only able to find one usage of len(ports) 16:40
sean-k-mooneythat is geting port for the current instnace wihch is fine16:40
ishanwar[m]sean-k-mooney: yes16:41
dansmithwe fetch the quota, but we do our own usage calculation it looks like16:41
sean-k-mooneyoh its this second call https://github.com/openstack/nova/blob/master/nova/network/neutron.py#L272116:41
dansmithwe don't ask if the quota is exceeded, we ask what the quota is and then sum the current+new and see if it's over16:41
sean-k-mooneythat ^ is the line that shoudl be updated16:41
ishanwar[m]dansmith: yes in https://github.com/openstack/nova/blob/master/nova/network/neutron.py#L271416:41
ishanwar[m]we are still counting all the ports 16:41
sean-k-mooneyishanwar[m]: so the bug is this16:42
sean-k-mooneythere is another extention that gives use both the quota and the uses cont in one call16:42
ishanwar[m]yes correct, i think we can use show_quota_details here right ? 16:42
ishanwar[m]sean-k-mooney: which one ? 16:42
sean-k-mooneyso instead of getting all the ports for the curent project just to count them we can use show_quota_details16:42
sean-k-mooneyishanwar[m]: so the performace bug is still there 16:43
dansmith...if available16:43
sean-k-mooneyon this line https://github.com/openstack/nova/blob/6042300453411133652dd8d3b789f5057a084075/nova/network/neutron.py#L272116:43
sean-k-mooneybut ya as dan impleid we have to fall back if the extension is not there16:43
dansmithit's also racy either way, which is unfortunate16:43
ishanwar[m]sean-k-mooney: correct I agree16:43
ishanwar[m]so we can use a try catch mech to check if the extension is available or not 16:43
ishanwar[m]dansmith: oh, how is that ? 16:44
dansmithishanwar[m]: if we calculate the quota, allow to proceed and other things in parallel use more quota, we'll be wrong and run out of quota while actually creating the ports16:44
dansmithsince we already need to handle that, why check quota at all? Just try to create the ports and roll back if you run out.. I guess maybe to provide a quick answer via API, but it will never be guaranteed16:45
sean-k-mooneywell we do prot creation on the comptues16:45
sean-k-mooneyso we do the api check to fail fast if we are already at quota16:45
dansmiththis can say "definitely not enough quota" but it can't say "definitely enough"16:45
dansmithright16:45
ishanwar[m]Not sure I understood 😓16:46
sean-k-mooneyishanwar[m]: so to answer your question, the bug is still there adn we can still optimize this call to neturon16:46
dansmiththere's a long window between checking quota and consuming it16:46
sean-k-mooneybut we need to fallback if the extion is not there to the current logic.16:46
ishanwar[m]I have another question, i am running the openstack nova dev env on devstack. is there a way how I can test my changes for this bug, sorry I am new to this ? 16:47
dansmithwith devstack yes, make your changes and test manually, but this will also need unit/functional tests in the patch16:48
sean-k-mooneyishanwar[m]: to do ^ you just modify the code and do "systemctl restart devstack@n-*"16:49
sean-k-mooneyi.e. modify the code in /opt/stack/nova16:49
sean-k-mooneyi generally do it slightly idffently by have a copy in another location and pip install that into the devstack virutal env but you can basiclly just modify the code and restart the affected services. in thsi case devtack@n-api is the nova api16:50
Ugglaishanwar[m], also finding something similar to the bug in gerrit can be a good example to know what the patch should have in terms of unit/fn tests.16:50
ishanwar[m]this restarts all nova services right ? Shouldn't we check just one, in general what process do you follow ? Do you add breakpoints etc for testing things out ? 16:51
sean-k-mooneyyou can look at the function above https://github.com/openstack/nova/blob/6042300453411133652dd8d3b789f5057a084075/nova/network/neutron.py#L2672-L269316:51
sean-k-mooneyit does an if/else on if the extenion is supproted16:51
sean-k-mooneyyou can look at howe has_extended_resource_request_extension is implemnted to test for the quta details one16:52
ishanwar[m]sean-k-mooney: yes understood, makes sense . 16:52
sean-k-mooneyishanwar[m]: so you cant really run nova under a debugger16:52
sean-k-mooneyits posssible but hard16:52
sean-k-mooneyso generally we add debug logs16:52
ishanwar[m]sean-k-mooney: yeah I can implement ifelse for this 16:52
sean-k-mooneythat useful for production as well as in production we will generally only have logs aviable16:53
ishanwar[m]sean-k-mooney: okay I see. 16:53
ishanwar[m]sean-k-mooney: hmm i see. So from what I understood, add logs, for testing, restart the n-api service. Use openstack command line for testing, correct ? 16:54
sean-k-mooneyinitally but then you will need to add unit test for each branch16:55
sean-k-mooneyso mocking the has_extenion_* function for true and false 16:55
ishanwar[m]Can you share an example ? 16:55
sean-k-mooneyand assert list_port or quota_detials is called approreatly16:55
sean-k-mooneyyep we can proably do that perhaps after the meeting16:56
sean-k-mooneyincase there are any other topics16:56
ishanwar[m]sure, thanks sean-k-mooney  dansmith  Uggla  16:56
ishanwar[m]i think we can close this discussion 16:56
ishanwar[m]back to you Uggla 16:56
Ugglathx @ishanwar[m] 16:56
Ugglaany other topic ?16:57
Ugglalooks we can close the meeting16:58
Uggla316:58
bauzasshoot :)16:58
Uggla216:58
dansmithblastoff16:58
Ugglathanks all16:59
Uggla#endmeeting16:59
opendevmeetMeeting ended Tue Mar 18 16:59:10 2025 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:59
opendevmeetMinutes:        https://meetings.opendev.org/meetings/nova/2025/nova.2025-03-18-16.01.html16:59
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/nova/2025/nova.2025-03-18-16.01.txt16:59
opendevmeetLog:            https://meetings.opendev.org/meetings/nova/2025/nova.2025-03-18-16.01.log.html16:59
bauzasheh, that worked well :)16:59
gibibauzas, Uggla thanks16:59
bauzasthanks Uggla16:59
elodillesthanks Uggla bauzas o/16:59
masahitothank you, Uggla and bauzas16:59
sean-k-mooneyishanwar[m]: so if you look at https://github.com/openstack/nova/commit/191bdf2069086493be2a2e0351afa7f3efad7099#diff-de8fba9a58a07803b3d46cfb1f58d1b89e7cc63684f02c30297e6bdabffe870eR4373 you will see some exampel fo what the unit test should look like16:59
Ugglabauzas, thanks 16:59
ishanwar[m]Hmm I can see mock objects sean-k-mooney ,  I'll have a detailed look 17:01
ishanwar[m]thanks 17:01
sean-k-mooneyyep we mock the calls to neutron and assert they are called or not called depending on what should happen17:01
sean-k-mooneyishanwar[m]: you should be able to find an exeitin tst for the validate_networks funciton17:02
sean-k-mooneymake a copy and test that it calls or does not call list_prots by mocking teh function that will check for the extension17:02
ishanwar[m]aah i see, right, I think can use that for checking whether the function is available. 17:07
cardoeWill I be able to sneak https://review.opendev.org/c/openstack/nova/+/942019 into 2025.1 or will that have to be a backport?18:02
sean-k-mooneycardoe: unless its a regression introduced in 2025.1 it will be a a post release backport18:03
cardoeit's a regression introduced in 2024.118:03
sean-k-mooneycardoe: ah the loggign fix18:03
sean-k-mooneyya so that wont qualify for rc218:03
sean-k-mooneyand we just? curt the stable branch form rc118:04
sean-k-mooneyso it can merge on master but cant be backported until after 2025.1 is released18:04
cardoesounds good.18:04
opendevreviewsean mooney proposed openstack/nova master: Force api to exit if exceptions are uncaught  https://review.opendev.org/c/openstack/nova/+/94493318:15
opendevreviewMerged openstack/nova stable/2025.1: Update .gitreview for stable/2025.1  https://review.opendev.org/c/openstack/nova/+/94488818:37
opendevreviewMerged openstack/nova stable/2025.1: Update TOX_CONSTRAINTS_FILE for stable/2025.1  https://review.opendev.org/c/openstack/nova/+/94488918:37
dansmithbauzas: Uggla are we good to go on master based on ^ ?18:42
dansmithif so I'll +W gibi's fix series18:42

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