Wednesday, 2023-01-18

*** dasm is now known as dasm|off01:24
opendevreviewMiro Tomaska proposed openstack/neutron stable/xena: Improve agent provision performance for large networks  https://review.opendev.org/c/openstack/neutron/+/87078503:13
opendevreviewMiro Tomaska proposed openstack/neutron stable/wallaby: Improve agent provision performance for large networks  https://review.opendev.org/c/openstack/neutron/+/87078603:14
opendevreviewMiro Tomaska proposed openstack/neutron stable/victoria: Improve agent provision performance for large networks  https://review.opendev.org/c/openstack/neutron/+/87078703:14
opendevreviewDmitrii Shcherbakov proposed openstack/neutron-lib master: ext-gw-multihoming: api-def and api-ref  https://review.opendev.org/c/openstack/neutron-lib/+/87088708:21
*** froyo_ is now known as froyo08:29
opendevreviewVasyl Saienko proposed openstack/neutron-vpnaas master: Fix pep6 and doc jobs  https://review.opendev.org/c/openstack/neutron-vpnaas/+/87071510:24
opendevreviewRodolfo Alonso proposed openstack/neutron-vpnaas master: Fix pep8 and doc jobs for tox4  https://review.opendev.org/c/openstack/neutron-vpnaas/+/87071510:45
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Remove backwards compatibility with OVN < v20.09  https://review.opendev.org/c/openstack/neutron/+/87062111:31
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Add vnic_type and binding profile capabilities to LSP info  https://review.opendev.org/c/openstack/neutron/+/86735912:24
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Add vnic_type and binding profile capabilities to LSP info  https://review.opendev.org/c/openstack/neutron/+/86735912:46
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Introduce the new OVN Neutron Agent  https://review.opendev.org/c/openstack/neutron/+/86990912:47
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Implementation of OVN Neutron Agent  https://review.opendev.org/c/openstack/neutron/+/87002412:47
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] New OVN Neutron Agent extension: QoS for HWOL  https://review.opendev.org/c/openstack/neutron/+/87011512:47
*** gthiemon1e is now known as gthiemonge13:09
fricklerralonsoh: I forgot to mention that yesterday in the meeting, you should've made some advertising for the openinfra live session tomorrow. the audience here would likely be a good target13:23
*** dasm|off is now known as dasm13:34
gesHello! We are having a little issue with segments: DB is taking a hit from queries to the segmenthostmappings. We noticed that for us, since we have exactly 1 segment per network, accessible from each host, segmenthostmappings contains N*M entries where N is the number of networks and M is the number of hosts. Potentially millions of entries. 13:35
gesThe expensive DB query cannot leverage indexes because it is built around a subquery, so we end-up fullscanning segmenthostmappings. Has someone else exeprienced something similar?13:36
ralonsohfrickler, during the next meeting, as we usually do, we announce the recorded session in https://openinfra.dev/live/#all-episodes13:40
ralonsohbut I was not aware of the next session13:40
opendevreviewBence Romsics proposed openstack/neutron-lib master: port-hints: api definition  https://review.opendev.org/c/openstack/neutron-lib/+/87008013:40
ralonsohges, can you point out what query is affected? or what CLI command or request?13:42
opendevreviewLajos Katona proposed openstack/neutron master: Fullstack: Wait placement process fixtrue to really stop  https://review.opendev.org/c/openstack/neutron/+/87095613:46
gesralonsoh: here's the query. https://paste.openstack.org/show/bkJurCGDr4vHZlxT8bjA/ I am not sure 100% of when it runs though13:56
ralonsohges, and what is not indexed in this query?13:57
opendevreviewBence Romsics proposed openstack/neutron master: WIP port hints: api extension  https://review.opendev.org/c/openstack/neutron/+/87008114:00
opendevreviewBence Romsics proposed openstack/neutron master: WIP port hints: db model, db migration, ovo, extension driver, policies  https://review.opendev.org/c/openstack/neutron/+/87008214:00
gessegmenthostmapping is where we dont use the indexes. here's the analyze format=json for an example query : https://paste.openstack.org/show/bYGzLaBUvXOlxkKma8ld/14:04
gesMaybe "not using index" is not super accurate, but what I understand of this query is we try to find all the hostmappings where a certain tenant could have access to, and at the moment it is using a temporary table because the way the query is crafted uses a subquery. But I am also wondering whether it is expected that, for a region with 1000 computes and 5000 networks, we would14:09
gesend-up with 5_000_000 rows in segmenthostmappings.14:09
ralonsohges, from this log, this is "networkrbacs" the one not indexed14:09
ralonsohges, what version of Neutron are you using?14:09
gesralonsoh: stein14:10
ralonsohges, ok, quite old14:10
ralonsohplease check https://review.opendev.org/c/openstack/neutron/+/81007214:10
ralonsohthis is the patch that adds the missing indexes to *rbacs tables14:10
ralonsohthat improves the rbac related queries a lot14:11
ralonsohapart from this, there is a pending bug https://bugs.launchpad.net/neutron/+bug/191814514:11
ralonsohand a n-lib patch to improve the rbac subquery modeling14:12
ralonsohbut this is still under development14:12
gesthanks! I could try with the index see if things get better, but I am not sure : we currently only have 222 rows in networkrbacs anyway14:19
*** dkehn__ is now known as dkehn14:26
gesI am also curious about the end-state of segmenthostmappings, when every network maps to every host. That sounds... bad.14:26
opendevreviewLajos Katona proposed openstack/neutron master: Avoid failure of get_device_details if net from cache is empty  https://review.opendev.org/c/openstack/neutron/+/86967814:28
ralonsohIt doesn't if it is done properly. In any case, why would you need that? 14:28
opendevreviewRodolfo Alonso proposed openstack/neutron master: Bump the minimum pyroute2 version to 0.7.3  https://review.opendev.org/c/openstack/neutron/+/87096314:30
gesralonsoh: we enabled segments because we needed deffered IP allocation on some networks, but all segments can be reached by all hosts, hence the M*N in segmenthostmappings.14:43
gesI was able to reduce the cost of the query by having mariadb perform the query with straight_join. I think the query planner changes the plan once the table reaches a certain size or something.14:44
ralonsohfroyo, hi!15:15
ralonsohcan you please check https://review.opendev.org/c/openstack/releases/+/870639 comment?15:15
froyoralonsoh: sure15:15
ralonsohwell, elodilles' comment there15:15
ralonsohfroyo, thanks!15:15
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Change the logic to check the IPv6 address state  https://review.opendev.org/c/openstack/neutron/+/87096715:33
ralonsohmlavalle, slaweq lajoskatona please, can you check elodilles comments here? 15:39
ralonsohhttps://review.opendev.org/c/openstack/releases/+/87062015:39
ralonsohI've replied too. We should consider if we need to remove some merged backports 15:39
ralonsoh(and maybe be more careful backporting patches)15:40
lajoskatonaralonsoh: ack, I check it (to tell the truth I checked this morning but I wasnt strong enough for it :))15:47
ralonsohthanks a lot15:47
mlavalleralonsoh: will check it today16:15
ralonsohthanks!16:18
opendevreviewRodolfo Alonso proposed openstack/neutron master: Bump the minimum pyroute2 version to 0.7.3  https://review.opendev.org/c/openstack/neutron/+/87096316:44
opendevreviewRodolfo Alonso proposed openstack/neutron master: Ignore reno artefacts (RELEASENOTES.rst and reno.cache)  https://review.opendev.org/c/openstack/neutron/+/87097716:52
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Change the logic to check the IPv6 address state  https://review.opendev.org/c/openstack/neutron/+/87096716:56
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Add vnic_type and binding profile capabilities to LSP info  https://review.opendev.org/c/openstack/neutron/+/86735917:02
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Change the logic to check the IPv6 address state  https://review.opendev.org/c/openstack/neutron/+/87096717:14
opendevreviewRodolfo Alonso proposed openstack/neutron master: DNM - TESTING PATCH: neutron-functional-with-uwsgi  https://review.opendev.org/c/openstack/neutron/+/87097917:14
opendevreviewRodolfo Alonso proposed openstack/neutron master: Add tox Python3.11 job to the testing queues  https://review.opendev.org/c/openstack/neutron/+/86919617:24
opendevreviewRodolfo Alonso proposed openstack/neutron master: [FT] Change the logic to check the IPv6 address state  https://review.opendev.org/c/openstack/neutron/+/87096717:29
*** gmann is now known as gmann_afk17:29
*** gmann_afk is now known as gmann17:41
*** gmann is now known as gmann_afk18:06
opendevreviewMerged openstack/neutron master: Allow shared resources between physical and tunnelled networks  https://review.opendev.org/c/openstack/neutron/+/86612718:11
lajoskatonamlavalle: I started the etherpad for neutronclient: https://etherpad.opendev.org/p/python-neutronclient_deprecation18:14
lajoskatonamlavalle: tomorrow I try to add more details for the missing things, but now I think I listed there all things that are started or checked at least18:15
*** gmann_afk is now known as gmann18:56
*** prometheanfire is now known as Guest176920:12
opendevreviewMerged openstack/neutron stable/wallaby: [ovn]neutron agent show real heartbeat_timestamp  https://review.opendev.org/c/openstack/neutron/+/86935221:01
opendevreviewMerged openstack/neutron stable/wallaby: Fix handling the restart of ovn-controllers  https://review.opendev.org/c/openstack/neutron/+/86826421:01
*** Guest1769 is now known as prometheanfire21:24
opendevreviewJakub Libosvar proposed openstack/neutron master: ovn-migration: Stop neutron server while running db sync  https://review.opendev.org/c/openstack/neutron/+/87100422:08
*** dmellado_ is now known as dmellado22:31
opendevreviewDmitrii Shcherbakov proposed openstack/neutron-lib master: ext-gw-multihoming: api-def and api-ref  https://review.opendev.org/c/openstack/neutron-lib/+/87088722:44

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