Wednesday, 2023-02-01

opendevreviewMiguel Lavalle proposed openstack/neutron master: [WIP][DNM][OVN] Change the default firewall policy  https://review.opendev.org/c/openstack/neutron/+/83906600:10
opendevreviewMerged openstack/neutron-lib master: api-ref: Add dragent scheduler api-ref  https://review.opendev.org/c/openstack/neutron-lib/+/87058200:59
opendevreviewMerged openstack/neutron-tempest-plugin master: Pin neutron-tempest-plugin for stable/wallaby jobs  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/87179301:09
opendevreviewMerged openstack/neutron master: Fix get_link_devices() with index argument  https://review.opendev.org/c/openstack/neutron/+/82048401:52
opendevreviewliuyulong proposed openstack/neutron master: Notify neutron-server ovs is restarted  https://review.opendev.org/c/openstack/neutron/+/87226504:47
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Implementation of OVN Neutron Agent  https://review.opendev.org/c/openstack/neutron/+/87002407:34
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] New OVN Neutron Agent extension: QoS for HWOL  https://review.opendev.org/c/openstack/neutron/+/87011507:34
ralonsoh^^^ hi folks, please check these patches07:34
ralonsohI needed to rebase (again) on top of master07:34
opendevreviewRodolfo Alonso proposed openstack/neutron master: Add tox Python3.11 job to the testing queues  https://review.opendev.org/c/openstack/neutron/+/86919607:40
ralonsohhi folks, please check the following patches08:04
ralonsohhttps://review.opendev.org/c/openstack/neutron-lib/+/87227208:04
ralonsohhttps://review.opendev.org/c/openstack/neutron/+/87227108:04
ralonsohhttps://review.opendev.org/c/openstack/neutron/+/74451208:04
ralonsohhttps://review.opendev.org/c/openstack/neutron/+/86919608:04
ralonsohthanks in advance08:04
lajoskatonaralonsoh: Hi, these are for sqlalchemy 2, am I right?08:07
ralonsohexecept for the last one, yes08:07
opendevreviewRodolfo Alonso proposed openstack/ovsdbapp master: Accept HA chassis group commands in HAChassisGroupAdd*  https://review.opendev.org/c/openstack/ovsdbapp/+/87183608:11
opendevreviewLajos Katona proposed openstack/neutron-dynamic-routing master: Use SLQAlchemy ORM "relationship" instead of "relation"  https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/87238408:15
lajoskatonaralonsoh: when we change to sqlalchemy2, when we start Bobcat? I checked a few stadiums yesterday and I think on adding a job like you prepared for Neutron08:19
ralonsohlajoskatona, do you mean the sqlalchemy-master one?08:20
ralonsohthis is a good idea, I think so08:20
ralonsohI don't know when we are bumping this version08:20
ralonsohlajoskatona, check the patch CI status: https://review.opendev.org/c/openstack/requirements/+/87206508:21
lajoskatonaok, anyway I check what kind of job we can have with sqlalchemy-master08:21
ralonsohmost of the projects are breaking08:21
sahido/ regarding rbacs performance and sqlalchemy, this one is relativly small and safe, and can improve greatly performance of 'network list' on some deployment08:27
sahidhttps://review.opendev.org/c/openstack/neutron/+/87111308:27
sahidis basically add a filter on networks.project, instead of having the filter only on networkrbacs.project08:28
ralonsohthis patch is not safe and not tested aenough08:28
ralonsohI'll check it today but this is not the way08:29
ralonsohthere is another patch related to this bug08:29
sahidsince we usually have more entries for networkrbacs than for networks, this can help the filtering08:29
sahidralonsoh: yes i have noticed the other patch, this one is complementary in all cases, as it is relativly small and safe i guess it would be good to have it08:30
ralonsohwhy safe? because is small?08:30
ralonsohyou are introducing a new condition in a sql query08:30
ralonsohand it is not tested 08:30
sahidbecause it does not change anything, and add the same kind of condition, we filter per rbacs.project, now we also filter per networks.project as-well  would say we limit the issues08:31
sahidralonsoh: what do you mean per "it is not tested?"08:32
ralonsohwhat new functional tests, using the database engine, are you implementing in this patch to actually test it?08:32
opendevreviewElvira García Ruiz proposed openstack/neutron master: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87109608:33
sahidthis is used for openstack network list, it's all already tested08:33
sahidwe can notice that the change does not break any of our tests08:33
sahidbesides that i understand your concerns, i'm sharing the same for the big one that completly rework the system. It's also why i wanted to work incrementally and trying fixing issues one per one08:39
ralonsohsahid, https://review.opendev.org/c/openstack/neutron/+/871113/comments/f0252492_e1dd7af108:41
sahidralonsoh: so you had a look on it... ;)08:44
sahidahah, cool thank you I will see how I can address the test that you are looking for08:44
ralonsohelvira, hi! qq about https://review.opendev.org/c/openstack/neutron/+/871096/15/neutron/services/logapi/drivers/ovn/driver.py#18408:54
ralonsohin this line you are removing the ACL record, right?08:54
ralonsohno, only the "options" column value08:55
lajoskatonaralonsoh: just to have quick feedback I pushed this dnm: https://review.opendev.org/c/openstack/requirements/+/872386 , but I check how to best add the sqlalachemy master job for example to these stadiums08:57
ralonsohlajoskatona, we can have periodic jobs related to those repos08:58
lajoskatonaralonsoh: exactly, I see that as the best as usually few patches are for them08:58
ralonsohwill you propose the patches for these projects?08:59
lajoskatonaralonsoh: yes, I started to prepared them09:13
ralonsohthanks a lot09:13
opendevreviewTobias Urdin proposed openstack/neutron-lib master: Use new get_rpc_client API from oslo.messaging  https://review.opendev.org/c/openstack/neutron-lib/+/87115509:24
opendevreviewRodolfo Alonso proposed openstack/ovsdbapp master: Accept HA chassis group commands in HAChassisGroupAdd*  https://review.opendev.org/c/openstack/ovsdbapp/+/87183609:51
opendevreviewRodolfo Alonso proposed openstack/os-vif master: Implement "BaseCommand" result property  https://review.opendev.org/c/openstack/os-vif/+/87239109:53
opendevreviewTom Weininger proposed openstack/ovn-octavia-provider master: Replace python-neutronclient with openstacksdk  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87051410:01
opendevreviewTom Weininger proposed openstack/ovn-octavia-provider master: Replace python-neutronclient with openstacksdk  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87051410:08
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [Secure RBAC] Add shared_qos_policy rule  https://review.opendev.org/c/openstack/neutron/+/87239610:26
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [Secure RBAC] Add shared_qos_policy rule  https://review.opendev.org/c/openstack/neutron/+/87239610:29
opendevreviewMerged openstack/neutron master: Use SLQAlchemy ORM "relationship" instead of "relation"  https://review.opendev.org/c/openstack/neutron/+/87227110:31
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [Secure RBAC] Add shared_security_groups rule  https://review.opendev.org/c/openstack/neutron/+/87239710:50
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [Secure RBAC] Allow network owner to delete ports plugged to the network  https://review.opendev.org/c/openstack/neutron/+/87228010:54
slaweqralonsoh amotoki hi, I'm checking https://bugs.launchpad.net/neutron/+bug/2004017 and I'm confused now11:02
slaweqshould flavors belong to project?11:03
ralonsohslaweq, let me check11:03
slaweqin api-ref I don't see project_id: https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-flavor-detail#create-flavor11:03
slaweqin db there is also no project/tenant-id field:11:03
slaweqmysql> select * from flavors;... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/VGRRHEIqotYFpUmVelIhQENW>)11:04
slaweqbut in the API definition it is added: https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/definitions/flavors.py#L5011:04
slaweqso I'm not sure if flavors should have owner or not11:04
slaweqIMHO it doesn't makes sense to have owner of the flavor but maybe I'm missing something11:05
ralonsohslaweq, no, I don't see anything in the code nor in the documentation that assigns flavors to project11:06
ralonsohthis is an independent resource 11:06
slaweqok, so I will modify S-RBAC policy for flavors11:07
slaweqand I will also propose patch to remove tenant_id field from the api definition11:07
slaweqok for You?11:07
ralonsohsure11:07
slaweq++11:07
slaweqthx for confirmation11:07
ralonsohslaweq, one sec11:07
ralonsoh"Creation currently limited to administrators. Other users will receive a Forbidden 403 response code with a response body NeutronError message expressing that creation is disallowed by policy."11:08
ralonsohfrom the documentation11:08
slaweqyes, create is for ADMIN only, that's ok11:08
ralonsohok, just to let you know11:08
slaweqand that don't requires owner field11:08
ralonsohnope11:09
slaweqit's just that it should be visible for everyone, no matter which project it is11:09
opendevreviewBodo Petermann proposed openstack/neutron-vpnaas master: VPNaaS support for OVN  https://review.opendev.org/c/openstack/neutron-vpnaas/+/76535311:10
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [Secure RBAC] Fix policy to get flavors  https://review.opendev.org/c/openstack/neutron/+/87240011:24
opendevreviewMerged openstack/neutron-lib master: [sqlalchemy-20] Use ``Session.get_transaction()``  https://review.opendev.org/c/openstack/neutron-lib/+/87227211:34
ralonsohslaweq, lucasagomes mlavalle folks, I rebased (again) the OVN monitor patches11:37
ralonsohhttps://review.opendev.org/q/topic:bug/1998608+status:open11:37
ralonsohcan you review them again?11:38
ralonsohanother patch was merged and there was a small merge conflict11:38
lucasagomesralonsoh, yes, will take a look11:38
ralonsohthanks!11:39
amotokislaweq: ralonsoh: I followed your discussion on flavors and agree with you. flavor does not belong to a specific tenant.11:40
slaweqralonsoh it seems that this project_id field in api definition for flavors is somehow needed as without that api tests are failing so I will not touch it now11:41
slaweqbut it's not needed in policy for sure11:41
amotokiIn the old policy, the policy for get_flavor was "Any" which means flavors are visible to all authenticated users. I believe this is the design intention.11:41
amotokiI checked the initial implementation. tenant_id was added to the API definition without any discussion when updating the change. I guess there was some limitation in the API layer to make it work and it was a workaround.11:41
slaweqamotoki thx for confirmation11:41
slaweqyeah, I think so too11:42
slaweqso we will be good with small adjustment to the API policy for get_flavor only :)11:42
slaweqamotoki++ ralonsoh++11:42
slaweqthx for help11:42
amotokislaweq: thanks11:43
opendevreviewSlawek Kaplonski proposed openstack/neutron-tempest-plugin master: DNM Lets test our API tests with enforced new RBAC policies  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/86751811:45
slaweqralonsoh amotoki ok, now https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/867518 runs on top of all my S-RBAC fixes, lets see if that will make jobs to be green :)11:46
ralonsohthanks11:46
slaweqif yes, You will have list of patches to review :)11:47
opendevreviewRodolfo Alonso proposed openstack/neutron master: Improve "sync_ha_chassis_group" method  https://review.opendev.org/c/openstack/neutron/+/87202312:03
opendevreviewRodolfo Alonso proposed openstack/neutron master: WIP - Add ``OVNGatewayHAChassisGroup`` scheduler class  https://review.opendev.org/c/openstack/neutron/+/87203312:03
opendevreviewElvira García Ruiz proposed openstack/neutron stable/zed: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87230313:05
opendevreviewElvira García Ruiz proposed openstack/neutron stable/yoga: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87230413:06
opendevreviewElvira García Ruiz proposed openstack/neutron stable/xena: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87230513:06
opendevreviewElvira García Ruiz proposed openstack/neutron stable/wallaby: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87230613:07
opendevreviewLajos Katona proposed openstack/networking-bagpipe master: CI: Add periodic weekly job with sqlalchemy master  https://review.opendev.org/c/openstack/networking-bagpipe/+/87240813:32
opendevreviewLuis Tomas Bolivar proposed openstack/ovn-octavia-provider master: Remove LB from LS belonging to provider networks  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87126313:33
opendevreviewLajos Katona proposed openstack/networking-bgpvpn master: CI: add oslo_master and sqlalchemy to periodic weekly  https://review.opendev.org/c/openstack/networking-bgpvpn/+/86196013:33
*** dasm|off is now known as dasm13:44
slaweqralonsoh good news, all api tests are green on the test patch https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/867518 now :)13:51
lajoskatonaslaweq: \o/ good job :-)13:55
ralonsohslaweq, perfect! I'll review the patches now14:00
opendevreviewRodolfo Alonso proposed openstack/neutron master: Propose replacement of ORM from_self()  https://review.opendev.org/c/openstack/neutron/+/74451214:30
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Implementation of OVN Neutron Agent  https://review.opendev.org/c/openstack/neutron/+/87002414:37
mlavalleralonsoh: of course. I'll review them again14:38
ralonsohmlavalle, thanks a lot14:38
opendevreviewMerged openstack/neutron master: ovn-migration: Stop neutron server while running db sync  https://review.opendev.org/c/openstack/neutron/+/87100414:48
opendevreviewLajos Katona proposed openstack/networking-odl master: CI: Add periodic weekly job with sqlalchemy master  https://review.opendev.org/c/openstack/networking-odl/+/87241615:00
ralonsohslaweq, all patches reviewed (and approved all)15:03
*** ksambor is now known as NICK-afk16:08
slaweqralonsoh++ lajoskatona++ thx a lot16:15
opendevreviewRodolfo Alonso proposed openstack/neutron master: Add CI jobs using SQLAlchemy master branch  https://review.opendev.org/c/openstack/neutron/+/87227316:31
*** rpittau is now known as elfosardo16:34
*** elfosardo is now known as rpittau16:43
gmannslaweq: hi, do you have couple of min to discuss RBAC defaults things?17:18
gmannwe can discuss tomorrow also if its late for you17:18
ralonsohgmann, I think he is offline now. BTW, he has pushed some patches to fix the Neutron code17:21
ralonsohthere is a testing patch: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/86751817:21
gmannralonsoh: perfect, I will check those, thanks17:22
*** cgoncalves_ is now known as cgoncalves17:58
*** gibi is now known as gibi_pto19:04
opendevreviewMerged openstack/neutron master: Improve message for subnet gateway out of host IP addresses range  https://review.opendev.org/c/openstack/neutron/+/87221921:44
opendevreviewMerged openstack/neutron master: [OVN] Allow logging all traffic related to an ACL  https://review.opendev.org/c/openstack/neutron/+/87109621:44
opendevreviewMerged openstack/neutron stable/victoria: Never raise an exception in notify()  https://review.opendev.org/c/openstack/neutron/+/87198821:44
opendevreviewMerged openstack/neutron master: [Secure RBAC] Allow network owner to delete ports plugged to the network  https://review.opendev.org/c/openstack/neutron/+/87228021:44
*** dasm is now known as dasm|off22:40

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