Friday, 2026-01-16

melwittin case anyone else runs into this, launchpad is currently down and is being worked on to fix: https://status.canonical.com03:05
amorin_hello team, we used to tune api-paste.ini in nova, neutron etc. to enable some custom middleware in our platform. I will have to perform the same on placement, but AFAICS placement is not using paste-deploy so that wont be possible. Do you have a rough idea on the best way to achieve similar thing in placement?08:22
*** amorin_ is now known as amorin08:22
jkulikamorin: iirc, you'd have to change the code. afaics, all middleware get loaded here: https://github.com/openstack/placement/blob/5e61583504c4911ac862e1d0f2d7eb79e37066d0/placement/deploy.py#L89-L11708:29
amorinoh nice!08:31
amorinthank you for the hint08:31
gibiamorin: agree with jkulik, unfortunately placement has no configurable way to add a middleware. I think it is a valid feature request if you want to change it08:32
gibigmaan: I explained why PS14 was not affected but 15 is affected by that unit test failure. I will respin and fix it today https://review.opendev.org/c/openstack/nova/+/966016/15#message-5e9654d20672cf2d1cbacf6d015cfecd9de5333e08:36
opendevreviewBalazs Gibizer proposed openstack/nova master: Compute manager to use thread pools selectively  https://review.opendev.org/c/openstack/nova/+/96601608:44
opendevreviewBalazs Gibizer proposed openstack/nova master: Libvirt event handling without eventlet  https://review.opendev.org/c/openstack/nova/+/96594908:44
opendevreviewBalazs Gibizer proposed openstack/nova master: Run nova-compute in native threading mode  https://review.opendev.org/c/openstack/nova/+/96546708:44
opendevreviewBalazs Gibizer proposed openstack/nova master: Compute manager to use thread pools selectively  https://review.opendev.org/c/openstack/nova/+/96601608:47
opendevreviewBalazs Gibizer proposed openstack/nova master: Libvirt event handling without eventlet  https://review.opendev.org/c/openstack/nova/+/96594908:47
opendevreviewBalazs Gibizer proposed openstack/nova master: Run nova-compute in native threading mode  https://review.opendev.org/c/openstack/nova/+/96546708:47
amorinthank you gibi 09:26
sean-k-mooneygibi: so on paste deploy in general its not really maintianed anymore so there has been dicssion about what we will eventually replace ti with. teh way api-paste.ini works is slightly problemtaic in that no other repalcement really supprot that kind of configuablity so one of the propasl was to remove midelware customeisation entirly or implemen a subset of it in oslo.wsgi,11:07
sean-k-mooneythat the is the new oslo project stephenfin was proposing to hlep project move. 11:07
sean-k-mooneyquite a few project like placement and watcher never supproted middleware customisation so adding sopport for that today kind fo feels like addign supprot for eventlet to a project11:07
sean-k-mooneyin its current form it woudl be adding technial debt that we may not be able to maintian in the long term11:08
sean-k-mooneyso it could be a posibel feature but its not one i woudl rush to implement unit we have a long term plan for what to do with the paste/past-deploy stack11:09
sean-k-mooneyone of the suggestion i hasd was ot replace it with an oslo.config list of midelware isntead in the service .conf file or similar but i dont know if there is any concreate propals in genarl beyond the mailing list dicussion that stpehn started last year11:10
gibisean-k-mooney: note that I did not advocated directly for paste.ini but just for configurable middleware. I'm fine selecting a tool that is futureproof for that.11:15
sean-k-mooneyack. its not exacty hard to implent a parser for paste.ini to supprot that as well in general 11:17
sean-k-mooneyjust pointing out that there is technial debt in that area so commmiting to supproting past.ini in a project is less tirvial then it would be if it was activly maintianed11:17
gibiack, I still think that configurable middleware is a valid feature request for placement, while I agree that we should not implement it via paste.ini as in nova due to valid maintainability concerns you raised11:19
sean-k-mooneythe oauth midelwayre that had the cve is not enabled in nova sdefault piple lien is it?11:25
sean-k-mooneyi dont see it in https://github.com/openstack/nova/blob/master/etc/nova/api-paste.ini although i dont really know what i should be lookign for11:25
sean-k-mooneyplacement presumable does not use ExternalAuth2Protocol either?11:27
sean-k-mooneywell external_oauth2_token11:28
* gibi is not aware of the cve11:29
sean-k-mooneyhttps://bugs.launchpad.net/keystonemiddleware/+bug/2129018/comments/3511:30
sean-k-mooneygibi: https://bugs.launchpad.net/keystonemiddleware/+bug/2129018 is the tacker for it11:31
sean-k-mooneyit went public this week11:31
sean-k-mooneybased on zigo's comment would have to configure nova to accpate oauth2 tokens in the first place to enable the vulnerbale middlware11:32
sean-k-mooney[pipeline:main]11:32
sean-k-mooneypipeline = ext_oauth2_token11:32
sean-k-mooney[filter:ext_oauth2_token]11:32
sean-k-mooneypaste.filter_factory = keystonemiddleware.external_oauth2_token:filter_factory11:32
sean-k-mooneyif that is correct the placment and watcher would nto be affected sicnce they are using hard coded midellware adn we dont config that o my knowlaage11:33
sean-k-mooneytracker and keystone seam to be the only thigns that reference it https://codesearch.opendev.org/?q=external_oauth2_token&i=nope&literal=nope&files=&excludeFiles=&repos=11:38
opendevreviewBalazs Gibizer proposed openstack/nova master: Libvirt event handling without eventlet  https://review.opendev.org/c/openstack/nova/+/96594911:38
opendevreviewBalazs Gibizer proposed openstack/nova master: Run nova-compute in native threading mode  https://review.opendev.org/c/openstack/nova/+/96546711:38
gibisean-k-mooney: yeah that is also how I understood the last comment in that bug11:44
opendevreviewsean mooney proposed openstack/nova master: [WIP] Add PCI device groups for atomic allocation  https://review.opendev.org/c/openstack/nova/+/97360412:26
opendevreviewMerged openstack/os-vif master: Stabilize functional test  https://review.opendev.org/c/openstack/os-vif/+/97345513:15
opendevreviewBodo Petermann proposed openstack/os-vif master: Fixed bridge name when per_port_bridge is used  https://review.opendev.org/c/openstack/os-vif/+/96641013:17
zigosean-k-mooney: I'd need to have someone confirm, that's my understand from the oauth2 doc at https://docs.openstack.org/keystonemiddleware/latest/middlewarearchitecture.html#configuration-for-external-authorization only.13:27
opendevreviewJohannes Kulik proposed openstack/nova master: WIP: Attaching a volume returns HTTP 202  https://review.opendev.org/c/openstack/nova/+/97106814:11
opendevreviewMasanori Kuroha proposed openstack/nova master: Copy applied provider config  https://review.opendev.org/c/openstack/nova/+/94830414:15
opendevreviewLajos Katona proposed openstack/nova master: blueprint: iothreads-for-instances  https://review.opendev.org/c/openstack/nova/+/93925414:35
opendevreviewJohannes Kulik proposed openstack/nova master: Attaching a volume returns HTTP 202  https://review.opendev.org/c/openstack/nova/+/97106815:01
opendevreviewMerged openstack/placement master: Migrate upper functional job to Python 3.13  https://review.opendev.org/c/openstack/placement/+/97005216:32
opendevreviewsean mooney proposed openstack/nova master: [WIP] Add PCI device groups for atomic allocation  https://review.opendev.org/c/openstack/nova/+/97360418:24
-opendevstatus- NOTICE: Gerrit on review.opendev.org will be offline briefly in order to restart on a newer JVM and to clear out caches18:34
opendevreviewsean mooney proposed openstack/nova master: Support os-vif TAP pre-creation for OVS/OVN ports  https://review.opendev.org/c/openstack/nova/+/97314918:36
gmaangibi: +w, actually I checked master version of that test and did not realized that commit changed the 1000 value to 5 in test also. all good.18:46
sean-k-mooneygmaan: you might take a look at https://review.opendev.org/c/openstack/nova/+/973438 if you have time. it should fix the test instablity in threading mode18:50
sean-k-mooneyit can wait till next week but you reviewed the orgianl so you likely have more context then most18:51
gmaansean-k-mooney: ack, not sure I can check today but will take a look later18:51
gmaansure18:51
sean-k-mooneyno worries its getting late on a firday so im goign to be heading off soon anyway18:52
gmaanyup, have a nice weekend18:53
opendevreviewMerged openstack/nova master: Compute manager to use thread pools selectively  https://review.opendev.org/c/openstack/nova/+/96601621:03
*** haleyb is now known as haleyb|out22:58

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