Wednesday, 2025-05-21

*** ralonsoh_out is now known as ralonsoh05:25
ralonsohhaleyb, hello! I've realised that this Friday RedHat people have a "recharge day". We are not going to attend to the drivers meeting06:36
ralonsohthere is a topic added by jlibosvar06:36
ralonsohbut we won't be there this week06:36
opendevreviewRico Lin proposed openstack/neutron stable/2024.2: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/95047906:38
opendevreviewRico Lin proposed openstack/neutron master: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/94805306:39
opendevreviewRico Lin proposed openstack/neutron stable/2025.1: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/95048006:43
LarsErikPHi. Does anyone here know anything about why this https://bugs.launchpad.net/ubuntu/+source/neutron-dynamic-routing/+bug/2090992 has not been released from proposed into updates in UCA?07:03
opendevreviewArnaud Morin proposed openstack/neutron master: Add TXT records to dnsmasq  https://review.opendev.org/c/openstack/neutron/+/95048607:12
fricklerLarsErikP: as you can see from the tags, this is waiting for verification, maybe haleyb_ can check it. but also that is a matter to discuss with canonical, not in the upstream channel here07:19
opendevreviewRenjing Xiao proposed x/whitebox-neutron-tempest-plugin master: Check per-vm isolation in rate limit test  https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/95048707:29
LarsErikPfrickler: I always forget which channel is correct for UCA stuff :07:34
LarsErikP:p07:35
LarsErikPfwiw, I commented my "verification" in the bug as well. It works ;)07:36
opendevreviewRico Lin proposed openstack/neutron master: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/94805307:51
fricklersemi-correct channel used to be #ubuntu-server but that's pretty much dead these days, too07:51
frickler(on libera)07:51
opendevreviewRico Lin proposed openstack/neutron stable/2024.2: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/95047908:00
opendevreviewRico Lin proposed openstack/neutron stable/2025.1: Fix ovn db sync with log resources  https://review.opendev.org/c/openstack/neutron/+/95048008:08
ralonsohhi folks, please check https://review.opendev.org/c/openstack/neutron/+/94913508:22
ralonsohlet's merge this before removing eventlet from the L3 agent08:22
ralonsohthat must work with both backends08:22
opendevreviewLajos Katona proposed openstack/neutron master: [eventlet-removal] DHCP: move RPC init to service.start phase  https://review.opendev.org/c/openstack/neutron/+/95049809:16
opendevreviewLajos Katona proposed openstack/neutron master: WIP: [eventlet-removal] remove eventlet references from dhcp_agent  https://review.opendev.org/c/openstack/neutron/+/95049909:16
slaweqralonsoh I added one comment to that patch, other than this minor thing it looks good for me09:18
ralonsohslaweq, thanks!09:19
opendevreviewRodolfo Alonso proposed openstack/neutron master: Move the RPC initialization to the ``Service.start`` phase  https://review.opendev.org/c/openstack/neutron/+/94913509:20
opendevreviewRodolfo Alonso proposed openstack/neutron master: [UT] Removal of eventlet from the unit tests  https://review.opendev.org/c/openstack/neutron/+/95050209:29
opendevreviewLajos Katona proposed openstack/neutron master: WIP: [eventlet-removal] remove eventlet references from dhcp_agent  https://review.opendev.org/c/openstack/neutron/+/95049910:03
ralonsohlajoskatona, hello! https://review.opendev.org/c/openstack/neutron/+/950498 should not depend on oslo.service patch, I think10:12
ralonsohactually no10:12
lajoskatonaralonsoh: yeah, I move that line to the next patch10:14
opendevreviewLajos Katona proposed openstack/neutron master: WIP: [eventlet-removal] remove eventlet references from dhcp_agent  https://review.opendev.org/c/openstack/neutron/+/95049910:14
ralonsohlajoskatona, I've commented in the patch. You'll need most probably to call init_host in the UTs/FTs after creating the dhcp instance10:14
ralonsohto have the rpc member10:15
lajoskatonaralonsoh: I check it, to tell the truth, I just started to check the test environments :-)10:15
ralonsohno rush! just trying to help10:16
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Remove of eventlet from the functional tests  https://review.opendev.org/c/openstack/neutron/+/95052110:41
opendevreviewFernando Royo proposed openstack/ovn-octavia-provider master: Fix LB disable/enable functionality  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/93387910:41
opendevreviewStephen Finucane proposed openstack/neutron-lib master: Move mypy configuration to pyproject.toml  https://review.opendev.org/c/openstack/neutron-lib/+/95052210:43
opendevreviewStephen Finucane proposed openstack/neutron-lib master: pre-commit: Bump versions  https://review.opendev.org/c/openstack/neutron-lib/+/95052310:43
opendevreviewStephen Finucane proposed openstack/neutron-lib master: pre-commit: Migrate pep8 target to pre-commit  https://review.opendev.org/c/openstack/neutron-lib/+/95052410:43
*** sfinucan is now known as stephenfin11:19
opendevreviewSebastian Lohff proposed openstack/neutron-vpnaas master: Set service type when registering provider config  https://review.opendev.org/c/openstack/neutron-vpnaas/+/95052911:42
opendevreviewMerged openstack/neutron-tempest-plugin master: Bump advance image to Ubuntu Jammy 22.04  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/94914012:04
ralonsohykarel, slaweq if you have some mins: https://review.opendev.org/c/openstack/neutron/+/94958412:38
ralonsohno rush, just whenever you have some time12:39
haleyb_ralonsoh: thanks for the heads up. Someone from Canonical wanted to join but could not attend either, so next Friday seems better for everyone.12:40
ralonsohhaleyb_, yes, I think so12:41
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Remove of eventlet from the functional tests  https://review.opendev.org/c/openstack/neutron/+/95052113:12
opendevreviewRodolfo Alonso proposed openstack/neutron master: [UT] Removal of eventlet from the unit tests  https://review.opendev.org/c/openstack/neutron/+/95050213:13
ralonsohstephenfin, about pre-commit\13:16
ralonsohhttps://review.opendev.org/c/openstack/neutron-lib/+/950524/1/.pre-commit-config.yaml#2413:16
ralonsohthat replaces the pep8 job definition, right?13:17
ralonsohNow we define everything in this file, with one single command line13:17
stephenfinralonsoh: There is one thing missing: pylint. However, that does not appear to be doing anything from what I can tell?13:25
stephenfinOtherwise, yes. It replaces everything. We are using this pattern in the SDK team projects (and nova) for some time now.13:26
stephenfinhttps://github.com/openstack/nova/blob/221a3e89e8988bc664298106ee691a4e41ca71f9/tox.ini#L104-L11113:26
ralonsohstephenfin, we run pylint calling coding-checks13:28
ralonsohI think that is missing13:29
stephenfinOkay, that can be done by pre-commit but it's not ideal since pylint requires every dependency be installed. I probably need to tweak that.13:29
stephenfinDo you have a list of pylint checks that you run (or have suggestions for how I can figure that out myself)? I wonder if ruff/flake8 would be good enough?13:30
stephenfin*ruff/flake8 + mypy13:30
ralonsohwe are now executing both flake8 and pylint13:31
ralonsohI think you suggested to move to ruff, same as in SDK or CLI13:31
ralonsohlet me check what we are actually checking with pylint13:31
haleyb_check .pylintrc :)13:32
ralonsohright13:34
ralonsohthe coverage is limited to some tests (name formats, line length, etc)13:34
ralonsohand we have plenty of exceptions13:34
haleyb_we also do not strictly verify the test tree with pylint, it's up to people to notice things and manually address them. I have a few patches for that :)14:03
haleyb_would maybe be good if we could somehow be less strict there, i think ruff allows that?14:04
ralonsohI think that could be the next step, to migrate to ruff14:04
haleyb_for example, pylint really dislikes lambda14:05
* haleyb_ goes to find his patches14:05
haleyb_https://review.opendev.org/c/openstack/neutron/+/946855 and https://review.opendev.org/c/openstack/neutron/+/94600114:07
haleyb_it is never-ending work trying to keep the test tree pylint-clean14:07
haleyb_and finding signature-mutators disable was a big win on warnings14:08
haleyb_bcafarel: can you take a look at this backport chain? https://review.opendev.org/c/openstack/neutron/+/949852 - the n-t-p change depending on them is just about done (and green) - https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/90602014:45
bcafarelhaleyb_: sure, looking14:46
haleyb_thanks!14:47
ykarelralonsoh, done14:54
ralonsohthanks!14:54
TheJuliao/15:07
TheJuliaQuestion for folks, has there been any thought about with the switch to the uwsgi launcher, what plugins trying to be loaded into neutron should do since the uwsgi load pattern doesn't seem to respect/honor/use the legacy config files pattern15:08
TheJuliaspecifically, it looks like upon process launch, the files are auto-determined in https://github.com/openstack/neutron/blob/master/neutron/server/__init__.py#L3815:08
TheJuliaSpecifically, a number of ironic's jobs are now broken since being forced to switch to uwsgi, and it appears rooted in that the main process launches without the additional configuration set by the plugin https://e3fa69918ab3893f89a3-76ad47885070581f857a540cadaa6a6d.ssl.cf1.rackcdn.com/openstack/55cf2727b4c54f06b897353cf71ea0a3/controller/logs/screen-neutron-api.txt because it is auto-detected and not otherwise passed. 15:12
TheJuliaWhere as when I look at another service launching using the prior code path with the configuration files, I see the genericswitch ml2 plugin being passed in from the plugin15:12
TheJuliahttps://e3fa69918ab3893f89a3-76ad47885070581f857a540cadaa6a6d.ssl.cf1.rackcdn.com/openstack/55cf2727b4c54f06b897353cf71ea0a3/controller/logs/screen-neutron-rpc-server.txt15:12
stephenfinhaleyb_: Sorry, missed the replies. The good news (IMO) is that a lot of those look like things that mypy or pyupgrade would catch15:44
stephenfinCertainly, things like initialising a variable to None when it will always later be assigned as a dict are mypy's (and other type checkers) bread and butter15:45
haleyb_stephenfin: yeah, we're pretty good in the code side of the tree, testing is ad-hoc but i occasionally run against everything and clean things up. anything to make life easier and not allow simple issues into the tree is goodness15:47
stephenfinIn case it helps, we're using ruff in the SDK projects for some time now and it's been amazing. We have the UP and S rules enabled alongside the default set so we have been able to replace pyupgrade, bandit and most of flake8 (we just keep the hacking specific checks enabled for now, though I've a TODO to turn my hand to some rust and add them to ruff eventually)15:49
haleyb_oh, even bandit, we run that as well15:50
haleyb_$time is the only factor15:51
opendevreviewStephen Finucane proposed openstack/neutron-lib master: pre-commit: Migrate pep8 target to pre-commit  https://review.opendev.org/c/openstack/neutron-lib/+/95052416:44
opendevreviewStephen Finucane proposed openstack/neutron-lib master: tests: Stop using ddt  https://review.opendev.org/c/openstack/neutron-lib/+/95057516:44
opendevreviewStephen Finucane proposed openstack/neutron-lib master: pre-commit: Migrate pep8 target to pre-commit  https://review.opendev.org/c/openstack/neutron-lib/+/95052416:45
opendevreviewStephen Finucane proposed openstack/neutron-lib master: tests: Stop using ddt  https://review.opendev.org/c/openstack/neutron-lib/+/95057516:45
opendevreviewMerged openstack/neutron master: [OVN] OVN agent retrieval filter matching improvement  https://review.opendev.org/c/openstack/neutron/+/94958417:00
opendevreviewMerged openstack/neutron stable/2024.2: [OVN] Support address group for ovn driver  https://review.opendev.org/c/openstack/neutron/+/94985217:14
opendevreviewMerged openstack/neutron stable/2024.1: [OVN] Support address group for ovn driver  https://review.opendev.org/c/openstack/neutron/+/94985417:14
opendevreviewStephen Finucane proposed openstack/neutron master: Fix some pylint warnings in the test tree  https://review.opendev.org/c/openstack/neutron/+/94600117:17
opendevreviewStephen Finucane proposed openstack/neutron master: pyupgrade changes for Python3.10+  https://review.opendev.org/c/openstack/neutron/+/94685517:17
opendevreviewStephen Finucane proposed openstack/neutron master: Move mypy configuration to pyproject.toml  https://review.opendev.org/c/openstack/neutron/+/95057817:17
opendevreviewStephen Finucane proposed openstack/neutron master: pre-commit: Bump versions  https://review.opendev.org/c/openstack/neutron/+/95057917:17
opendevreviewStephen Finucane proposed openstack/neutron master: pre-commit: Migrate to ruff, enable autopep8  https://review.opendev.org/c/openstack/neutron/+/95058017:17
opendevreviewStephen Finucane proposed openstack/neutron master: tox: Fix indentation  https://review.opendev.org/c/openstack/neutron/+/95058117:17
opendevreviewStephen Finucane proposed openstack/neutron master: trivial: Autofix low-hanging linter failures  https://review.opendev.org/c/openstack/neutron/+/95058217:17
-opendevstatus- NOTICE: Gerrit is being updated to the latest 3.10 bugfix release as part of early prep work for an eventual 3.11 upgrade. Gerrit will be offline momentarily while it restarts on the new version.17:34
opendevreviewMerged openstack/neutron-lib master: Move mypy configuration to pyproject.toml  https://review.opendev.org/c/openstack/neutron-lib/+/95052218:51
opendevreviewMerged openstack/neutron-lib master: pre-commit: Bump versions  https://review.opendev.org/c/openstack/neutron-lib/+/95052318:51
opendevreviewElvira GarcĂ­a Ruiz proposed openstack/neutron master: [WIP] Consider logging options when using OVNdbsync  https://review.opendev.org/c/openstack/neutron/+/94878321:03

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