Monday, 2023-11-20

opendevreviewyatin proposed openstack/neutron master: Make unit tests compatible with neutron-lib-3.9.0  https://review.opendev.org/c/openstack/neutron/+/90143007:04
ykarellajoskatona, bcafarel please check https://review.opendev.org/c/openstack/neutron/+/90143009:30
ykarelrequired to clear gates09:30
lajoskatonaykrarel: done, thanks09:34
opendevreviewTakashi Kajinami proposed openstack/os-vif master: Clean up remaining python 2.7 support  https://review.opendev.org/c/openstack/os-vif/+/89659809:36
opendevreviewTakashi Kajinami proposed openstack/os-vif master: Clean up remaining python 2.7 support  https://review.opendev.org/c/openstack/os-vif/+/89659809:36
bcafarelykarel: you have my +1 at least :) (I only have core on stable)09:43
opendevreviewJakub Skunda proposed openstack/neutron-tempest-plugin master: Remove test duplications between tempest and n-t-p plugin  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/90105110:39
ykarellajoskatona, can you trigger +W too https://review.opendev.org/c/openstack/neutron/+/90143010:53
opendevreviewLajos Katona proposed openstack/neutron-lib master: Tap mirror API def and API ref  https://review.opendev.org/c/openstack/neutron-lib/+/88535412:45
opendevreviewLajos Katona proposed openstack/neutron-lib master: Add Tap Mirror exception  https://review.opendev.org/c/openstack/neutron-lib/+/89560312:45
opendevreviewMerged openstack/neutron master: Forbid updating vnic type on a bound port  https://review.opendev.org/c/openstack/neutron/+/89281515:25
opendevreviewMerged openstack/neutron master: Update OVN db sync code log messages  https://review.opendev.org/c/openstack/neutron/+/89083215:25
*** dmellado2 is now known as dmellado15:58
andreykurilinhi folks! Can someone help me understand whether I'm doing something wrong or share the best practice for overriding policies?17:17
andreykurilinI  deployed Neutron via Kolla-Ansible and defined policy.yaml file with the following content `{"delete_port": "rule:admin_owner_or_network_owner OR role:Something"}`.17:17
andreykurilinThis overridden rule works as expected, but I see `Policies ['delete_port'] reference a rule that is not defined.` warning message while restarting neutron. 17:18
andreykurilin* while restarting neutron-server service17:18
andreykurilinAfter digging into the root of this warning, I found that it comes from neutron-lib policy enforcer as it does not have neutron's rule definitions, and as a result, it does not know anything about default value for 'admin_owner_or_network_owner' rule.17:19
haleybandreykurilin: did you mean "admin_or_network_owner"? is it just a typo?17:45
haleyboh, it's a new string17:46
haleybslaweq: ^^ ?17:47
andreykurilinhaleyb: https://github.com/openstack/neutron/blob/master/neutron/conf/policies/base.py#L109 this one. the actual policy.yaml which I'm using is more complex, the shared one is just simplified version17:49
haleybright, i originally only looked in neutron-lib17:51
andreykurilinhttps://xsnippet.org/NoWaXT53 <- the script I used to load policies and ensure that "neutron's" enforcer is happy17:53
andreykurilinhttps://xsnippet.org/5xSMLrLN <- the output. most of overridden policies do not use any new custom rules, just use the existing17:56
andreykurilinForgot to mention: I'm using 2023.1 release (neutron-lib==3.4.1, oslo.policy==4.1.1, neutron is from stable/2023.1 branch)17:58
haleybandreykurilin: i would still defer to slaweq, especially since it's unclear to me if this rule name has been deprecated based on neutron/conf/policies/port.py18:03
andreykurilinhaleyb: I could be wrong, but I do not see any deprecation for delete_port policy itself. delete_port has deprecated default value. As far as I understand, as soon as deprecated value is not specified, no warnings are expected.18:17
opendevreviewBrian Haley proposed openstack/neutron master: Remove ovs_integration_bridge configuration option  https://review.opendev.org/c/openstack/neutron/+/90147418:29
opendevreviewBrian Haley proposed openstack/neutron master: Remove agent veth_mtu configuration option  https://review.opendev.org/c/openstack/neutron/+/90147618:36
opendevreviewBrian Haley proposed openstack/neutron master: Remove vnic_type_blacklist deprecated name  https://review.opendev.org/c/openstack/neutron/+/90147818:40
opendevreviewMerged openstack/neutron master: Make unit tests compatible with neutron-lib-3.9.0  https://review.opendev.org/c/openstack/neutron/+/90143019:13
opendevreviewLajos Katona proposed openstack/neutron master: FIP QoS: check policy id before blindly updating FIP  https://review.opendev.org/c/openstack/neutron/+/89946920:00
lajoskatonahaleyb: Hi, could you please check my super tiny patch when you have some free time: https://review.opendev.org/c/openstack/neutron/+/899469  (funny background: I found the issue on stackoverflow ;))20:01
haleyblajoskatona: is there any way to add a test? :)20:13
opendevreviewHarald JensÃ¥s proposed openstack/neutron master: [OVN] DB sync host/physnet - filter on agent_type  https://review.opendev.org/c/openstack/neutron/+/89907720:16
opendevreviewBrian Haley proposed openstack/neutron master: Remove ovn_l3_mode configuration option  https://review.opendev.org/c/openstack/neutron/+/90150520:20
opendevreviewBrian Haley proposed openstack/neutron master: Remove segment_mtu configuration option  https://review.opendev.org/c/openstack/neutron/+/90150620:30
lajoskatonahaleyb: I think I checked that and said that I cant add ,but I can check tomorrow again because it was long time ago and perhaps I mess it with something else....20:34
haleyblajoskatona: yeah, and even the one it's fixing didn't have a test, i had to ask...20:35
opendevreviewBrian Haley proposed openstack/neutron master: Remove deprected and unused argument from update_port_status()  https://review.opendev.org/c/openstack/neutron/+/90150720:53
opendevreviewMerged openstack/neutron master: Remove deprecated [designate] admin_* parameters  https://review.opendev.org/c/openstack/neutron/+/90002121:24
opendevreviewMerged openstack/neutron-lib master: api-ref: Document only unbound ports vnic_type updates  https://review.opendev.org/c/openstack/neutron-lib/+/90082621:44
opendevreviewMiro Tomaska proposed openstack/neutron master: Metadata: handle process exceptions  https://review.opendev.org/c/openstack/neutron/+/89098622:12

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