Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/874384 Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/e40e0d62ac089afd14c03102d80990e792211af3 Submitter: "Zuul (22348)" Branch: master
commit e40e0d62ac089afd14c03102d80990e792211af3 Author: Fernando Royo <fr...@redhat.com> Date: Mon Feb 20 11:43:10 2023 +0100 Use ovsdbapp commands to add/del backends to ip_port_mappings LB ip_port_mapping is updated just adding and deleting every member after any related operation over the LB-HM, this operation was done in two steps, a db_clear and a db_set. This patch takes ovsdbapp specific commands for add/del backends to the ip_port_mapping in a more appropiate way, reducing any further operation from OVN DBs not related to the member added/deleted. Also taking care about the possibility of the same backend_ip could be pointed by other member, under a different HM. ovsdbapp bumps to 2.1.0 to be able to use those new functionalities [1] [1] https://github.com/openstack/ovsdbapp/commit/f3c5da5402ea2d1c129684a84c91dbc72556f14f Closes-Bug: 2007835 Change-Id: I5705c490bcd36e7e2edcc62954a3ffa0ff645519 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2007835 Title: [ovn-octavia-provider] LB ip port mapping clean up on every member change Status in neutron: Fix Released Bug description: From patch [1], the ip_port_mapping is updated just adding and deleting every member after any related operation over the LB-HM, this operation is done in two steps, a db_clear and a db_set. Taking into account that ovsdbapp has specific commands for add/del backends to the ip_port_mapping seems more appropiate use those methods. [1] https://review.opendev.org/c/openstack/ovn-octavia- provider/+/873426/10/ovn_octavia_provider/helper.py#1219 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2007835/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp