Monday, 2024-07-01

opendevreviewliuyulong proposed openstack/neutron master: Always get local vlan from port other_config  https://review.opendev.org/c/openstack/neutron/+/92304003:45
*** liuxie is now known as liushy05:43
opendevreviewRodolfo Alonso proposed openstack/neutron master: Add the port "fixed_ips" information in the DHCP RPC  https://review.opendev.org/c/openstack/neutron/+/92302605:55
opendevreviewRodolfo Alonso proposed openstack/neutron master: WIP == Reduce the DHCP processing loop to a single thread  https://review.opendev.org/c/openstack/neutron/+/92271905:55
opendevreviewRodolfo Alonso proposed openstack/neutron master: Use the RBAC actions field for "network" and "subnet"  https://review.opendev.org/c/openstack/neutron/+/91537005:58
opendevreviewBence Romsics proposed openstack/os-vif master: Do not add taps in trunk bridges to the dead vlan  https://review.opendev.org/c/openstack/os-vif/+/92303611:46
opendevreviewBence Romsics proposed openstack/neutron master: Put trunk tpi/spi ports in the dead vlan  https://review.opendev.org/c/openstack/neutron/+/92303511:49
racostahey haleyb, ralonsoh, I tried to simulate the performance issue of big queries caused by joined in the qos tables but I didn't see a big query occur at any time.13:42
racostaHowever, what I saw was a series of selects for qospolicyrbacs table within a select count(*).13:42
racostahttps://paste.openstack.org/show/bLYLjStgHlwY5S38f8NG/13:43
ralonsohracosta, and do you know why this is needed? when this is called?13:48
ralonsohin any case, I'm investigating the LP#2071374 right now13:48
racostathis is called in the command "openstack network qos policy list"13:48
ralonsohyeah but when, in the code, is this called?13:49
ralonsohand is this also called for other resources?13:49
racostagood question, I don't know where specifically it is called.13:50
racostafor qos rule commands I didn't see the problem because I need to pass the policy as a filter13:51
ralonsohbtw, I'll comment on the bug: this bug is related to https://bugs.launchpad.net/neutron/+bug/203710713:51
ralonsohthe problem of the subnet RBACs is that the RBACs are not child registers of the resource (subnet) but of the parent resource (network)13:52
ralonsohthat creates a SQL query that cannot be optimized and returns this amount of results (low cardinality)13:53
ralonsohso my proposal, and I'm going to try that, is to have a specific hook for the "subnet list" query command, retrieving first the network IDs form the subnets13:53
racostasure, this isn't the same case of qos policy.13:54
ralonsoh(filtering using the provided RBACs) and then retrieve the networks subnets13:54
ralonsohno, qos policies (same as any other resource), have explicit RBAC child registers13:54
ralonsohbut not the subnets13:54
racostayeap13:55
racostaI was only able to simulate a big query in the LP#2071374.13:56
racostaChanging the rbac loader inside subnetpool solves the problem, splitting into smaller queries with selectin and keepingthe relationship by exactly the number os rbacs within the subnet table.14:02
ralonsohracosta, how do I reproduce the subnetpool issue?14:16
ralonsohbecause I can't see this problem even with several projects and subnetpools14:16
racostayou need to create one or more subnet pools and then associate it with a project via rbac.14:18
racostacreating a subnet with this pool (which was created in another project: openstack admin, for example.)14:19
racostaI put some topology information in the bug.14:21
racostaat the end of the day the problem is that a "network list" creates a series of left outer joins for subnets and subnetpools with rbacs.14:22
ralonsohbut why a subnet must be created?14:22
ralonsohwhen retrieving the subpool we don't retrieve the subnets14:22
racostaI don't know if I understand your point. When we create a service project via OpenStack, these projects will have subnets derived from a single subnetpool.14:25
ralonsohyes, and when you do "openstack subnet pool list", there is no time issue14:26
ralonsohit doesn't matter if you create the subnets with or without a subnetpool14:27
racostaExactly, the problem is not with the subnetpool itself but in the relationship that the subnet table makes with it when we're using rbacs. 14:30
racostaThe ORM model can be tricky sometimes, I placed the query that it assembles, the end result is more than 500k entries.14:31
racostaAfter creating the related resources, to reproduce the issue just run a "network list" command.14:35
ralonsohno, with network list I don't have this issue14:38
ralonsohI've created 500 projects, 500 networks and 500 subnets14:39
ralonsohand I've shared 1 network per project14:39
ralonsohthe API time to retrieve the networks is 0.57 seconds14:39
ralonsohfor the subnets is 5.44 seconds14:39
ralonsohso this bug is actually https://bugs.launchpad.net/neutron/+bug/203710714:40
racostaOk, but did you create address scope and subnet pool to use in project subnets as I reported in the bug?14:50
ralonsohyes I did14:51
racostawell, maybe we are missing something because the list of networks should be taking similar time as the list of subnets (at least that's what I see on my side).14:56
opendevreviewMerged openstack/neutron master: Fix ML2/OVN OVSDB handling of gateway ports  https://review.opendev.org/c/openstack/neutron/+/91815117:14
opendevreviewMerged openstack/neutron master: Add the port "fixed_ips" information in the DHCP RPC  https://review.opendev.org/c/openstack/neutron/+/92302617:14
opendevreviewBrian Haley proposed openstack/neutron master: Change OVN client to account for nested networks  https://review.opendev.org/c/openstack/neutron/+/90750418:41
opendevreviewMiro Tomaska proposed openstack/neutron stable/2023.1: [2023.1 Only][OVN] Add the bridge name and datapath type to the port VIF details  https://review.opendev.org/c/openstack/neutron/+/92243119:39
opendevreviewTerry Wilson proposed openstack/neutron stable/2024.1: Use oslo_service's SignalHandler for signals  https://review.opendev.org/c/openstack/neutron/+/92318720:59
opendevreviewTerry Wilson proposed openstack/neutron stable/2024.1: Use oslo_service's SignalHandler for signals  https://review.opendev.org/c/openstack/neutron/+/92318721:03

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